Repository navigation
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.