Repository navigation
QED v0.1.1
Trustworthiness and verification-contract hardening release for QED.
What changed
- Fingerprint algorithm versioning (
v1/v2) &qed lock --migrate: New locks and verified ledger entries recordfingerprint_version: 2(universe-parameter normalized); historical v1 locks and ledgers remain verifiable in place with strict version-matched comparison, andqed lock --migrateverifies the v1 hash before upgrading. - Strict three-state audit verdicts (
ACCEPTED/REJECTED/INCOMPLETE): Exit codes are now0(ACCEPTED),1(REJECTED), and2(INCOMPLETE). Unavailable, crashed, timed-out, or memory-limitedleancheckerreplay returnsINCOMPLETE(ok: false) instead ofACCEPTED, kernel rejections always take precedence over later interruptions, and bothqed ledgerandqed paper buildrefuse 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 excluderefuses logs with errors or_errorwitnesses. - Safe
qed link: Validates shared cache presence,lean-toolchain,lake-manifest.jsonpackage revisions, and existing.lake/packagesdestinations 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-auditcache validation: Sharesaudit_input_digestwithqed audit, covering Lean sources,qed-lock.json,lean-toolchain,lakefile.*,lake-manifest.json, and audit mode. - Source-build guard & locking in
qed doctor: Non---quickdoctoracquires the shared project lock and runsuncached_importsbefore deleting.lake/buildor invokinglake build. - Clean npm packaging & expanded test suite: Excludes
__pycache__and*.py[cod]from npm packs while preserving.gitkeeptemplates; test suite expanded from 69 to 97 unit & adversarial tests.