Skip to content

Releases

QED v0.1.2

Choose a tag to compare

@ObservedObserver ObservedObserver released this 30 Nov 09:58

Cross-platform Linux/macOS verification and 7–16 GiB Mathlib memory fixes.

What changed

  • 7–16 GiB Mathlib audit memory fix: Trimmed QedAudit.lean.tmpl from broad import Lean down to the three required modules (Lean.Util.CollectAxioms, Lean.PrettyPrinter, Lean.Data.Json, ~284 MiB lower RSS on Mathlib.Tactic projects), adjusted 7–16 GiB single-job defaults so read-only .olean mappings fit without lean::memory_exception, and added proc.single_lean_rss_budget_mb() so QED_MAX_RSS_MB overrides are always honored in qed audit and qed 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 optional GITHUB_TOKEN/GH_TOKEN authentication for Tectonic release lookups, and switched Tectonic tarball extraction to tarfile.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; added scripts/verify-npm-package.sh and scripts/verify-mathlib-e2e.sh.
  • Cross-platform GitHub Actions CI: Added .github/workflows/ci.yml and .github/workflows/release-verify.yml, verified green on both ubuntu-latest and macos-latest (101/101 strict tests, full Mathlib setup/doctor/lock/ledger/audit/paper/historical kite-lemma workflow, and isolated npm package CLI execution).

QED v0.1.1

Choose a tag to compare

@ObservedObserver ObservedObserver released this 30 Nov 07:39

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.

QED v0.1.0

Choose a tag to compare

@ObservedObserver ObservedObserver released this 30 Nov 06:36

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-run and config backups), installs Lean 4 + shared precompiled Mathlib .olean caches, SymPy, and Tectonic LaTeX, and verifies end-to-end with a real Mathlib build.
  • 6-gate zero-cheating auditor (qed lock / qed audit): Enforces source_scan, clean build, kernel_sorry, standard-only axioms, SHA-256 statement_integrity locking (covering transitive definitions and instances), and fresh-kernel leanchecker replay — backed by 22 adversarial cheat tests.
  • Memory-safe by default: Host-scaled Lean -M heap 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/27 leanchecker replays), plus the three-way kite-lemma comparison with generated 28-page PDF.