Repository navigation
Releases
Releases · ObservedObserver/QED
QED v0.1.2
Cross-platform Linux/macOS verification and 7–16 GiB Mathlib memory fixes.
What changed
- 7–16 GiB Mathlib audit memory fix: Trimmed
QedAudit.lean.tmplfrom broadimport Leandown to the three required modules (Lean.Util.CollectAxioms,Lean.PrettyPrinter,Lean.Data.Json, ~284 MiB lower RSS onMathlib.Tacticprojects), adjusted 7–16 GiB single-job defaults so read-only.oleanmappings fit withoutlean::memory_exception, and addedproc.single_lean_rss_budget_mb()soQED_MAX_RSS_MBoverrides are always honored inqed auditandqed doctor. - Linux portability fixes: Switched process-group RSS sampling to POSIX
ps -eo, dirtied allocated pages in the RSS watchdog test for Linux demand paging, added optionalGITHUB_TOKEN/GH_TOKENauthentication for Tectonic release lookups, and switched Tectonic tarball extraction totarfile.extractfile(). - Strict no-skip test runner & delivery verification scripts: Added
scripts/test.sh --strict(QED_STRICT_TESTS=1) so missing Lean, npm, or Unicode LaTeX fails loudly instead of skipping; addedscripts/verify-npm-package.shandscripts/verify-mathlib-e2e.sh. - Cross-platform GitHub Actions CI: Added
.github/workflows/ci.ymland.github/workflows/release-verify.yml, verified green on bothubuntu-latestandmacos-latest(101/101 strict tests, full Mathlib setup/doctor/lock/ledger/audit/paper/historicalkite-lemmaworkflow, and isolated npm package CLI execution).
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.
QED v0.1.0
Initial public release of QED — a local agentic harness that turns coding agents (Claude Code, Codex, Antigravity, Cursor, and any bash-capable agent) into machine-checked mathematicians.
Highlights
-
One-command setup (
qed setup/qed doctor): Auto-detects installed coding agents (with--dry-runand config backups), installs Lean 4 + shared precompiled Mathlib.oleancaches, SymPy, and Tectonic LaTeX, and verifies end-to-end with a real Mathlib build. -
6-gate zero-cheating auditor (
qed lock/qed audit): Enforcessource_scan, cleanbuild,kernel_sorry, standard-onlyaxioms, SHA-256statement_integritylocking (covering transitive definitions and instances), and fresh-kernelleancheckerreplay — backed by 22 adversarial cheat tests. -
Memory-safe by default: Host-scaled Lean
-Mheap caps, bounded build concurrency, project build locking, a live process-group RSS watchdog, and a from-source Mathlib build guard. -
Research loop & scoped ledger (
qed falsify,qed search,qed lit,qed ledger,qed paper): Counterexample search before proving, Mathlib declaration verification, scoped incremental lemma admission, and arXiv-style LaTeX/PDF generation with audit-generated verification claims. -
Reproducible examples (
examples/): Includes a complete locally verified proof of the June 2025 Shifted Lonely Runner theorem for$k = 4$ (arXiv:2506.13379, 28 Lean modules, 6/6 audit pass, 27/27leancheckerreplays), plus the three-waykite-lemmacomparison with generated 28-page PDF.