Skip to content

QED v0.1.1

Choose a tag to compare

@ObservedObserver ObservedObserver released this 30 Nov 07:39
· 12 commits to main since this release

Trustworthiness and verification-contract hardening release for QED.

What changed

  • Fingerprint algorithm versioning (v1 / v2) & qed lock --migrate: New locks and verified ledger entries record fingerprint_version: 2 (universe-parameter normalized); historical v1 locks and ledgers remain verifiable in place with strict version-matched comparison, and qed lock --migrate verifies the v1 hash before upgrading.
  • Strict three-state audit verdicts (ACCEPTED / REJECTED / INCOMPLETE): Exit codes are now 0 (ACCEPTED), 1 (REJECTED), and 2 (INCOMPLETE). Unavailable, crashed, timed-out, or memory-limited leanchecker replay returns INCOMPLETE (ok: false) instead of ACCEPTED, kernel rejections always take precedence over later interruptions, and both qed ledger and qed paper build refuse incomplete audits.
  • Truthful qed falsify & qed ledger exclude: Separates boolean-false counterexamples (counterexample_found), math domain errors (undefined), and script/programming errors (error, aborting immediately). qed ledger exclude refuses logs with errors or _error witnesses.
  • Safe qed link: Validates shared cache presence, lean-toolchain, lake-manifest.json package revisions, and existing .lake/packages destinations before writing anything, never overwrites existing manifests, exits non-zero on conflicts or missing caches, and is idempotent on compatible links.
  • Versioned paper build --no-audit cache validation: Shares audit_input_digest with qed audit, covering Lean sources, qed-lock.json, lean-toolchain, lakefile.*, lake-manifest.json, and audit mode.
  • Source-build guard & locking in qed doctor: Non---quick doctor acquires the shared project lock and runs uncached_imports before deleting .lake/build or invoking lake build.
  • Clean npm packaging & expanded test suite: Excludes __pycache__ and *.py[cod] from npm packs while preserving .gitkeep templates; test suite expanded from 69 to 97 unit & adversarial tests.