Reproducible verification
Check the formal proofs.
Run Lean, Comparator, or Nanoda separately, or run all three together. Works on macOS and Linux, following QMDL’s local verification approach.
Get the repository
Install Git, elan, Python 3.11+ with venv/pip, and native C/C++ build tools. Nanoda’s pinned-source build also needs Rustup. Dependency downloads need network access. Tool versions are pinned.
git clone https://github.com/JWang226/Holevo-Additivity-Gap.git
cd Holevo-Additivity-GapRun checks separately
Choose a command below. Each mode prepares its own dependencies and builds the proof modules it needs; no prior all run is required.
Lean
bash scripts/verify.sh lean --source-certificate verification/elaboration-20261006/source-certificate.jsonRebuild all project sources, audit transitive axioms, validate mappings, and check six local expected types.
Comparator
bash scripts/verify.sh comparatorUse pinned Comparator APIs to compare expected types and referenced definitions, enforce the axiom policy, then replay exports in Lean’s kernel.
Nanoda
bash scripts/verify.sh nanodaBuild the pinned independent Rust kernel, run acceptance/rejection controls, and check the six exported solution theorem roots.
Lean and Comparator modes do not require Rust. Nanoda mode checks solution proofs; run Comparator as well to compare their expected statements.
Run all checks
bash scripts/verify.sh all --source-certificate verification/elaboration-20261006/source-certificate.jsonThe Lean stage explicitly selects the cleanup source certificate. It still rebuilds all project sources and executes the local mapping and expected-type checks.
No landrun or systemd is required. Success ends with VERIFICATION PASSED: <mode>. Every requested stage must pass; a failure exits nonzero. Fresh logs and source-bound reports are written to .verify-work/run-*. The Lean stage also keeps detailed logs under .verify-work/logs/lean-*.
Full commands, prerequisites, expected output, and tool pins → · Read the wrapper
Recorded evidence
The portable run completed on 2026-10-07. It rebuilt all 369 project modules, audited 9,107 declarations and 7,219 theorem constants, and passed all 5 Comparator configurations and 6 Nanoda roots. The checker controls accepted a valid proof and rejected missing targets, extra axioms, proof holes, invalid proof terms, and a mismatched expected statement.
| Check | Recorded result |
|---|---|
| Project-source rebuild | 369 modules rebuilt; pinned Mathlib cache reused |
| Transitive axiom audit | 9,107 declarations; only propext, Classical.choice, Quot.sound |
| Theorem constants | 7,219, including generated helpers |
| Manuscript mapping | 49 declaration references and 6 local expected types checked |
| Comparator APIs + Lean replay | Passed: 5 configurations, 6 theorem roots; unsandboxed |
| Independent Nanoda kernel | Passed: 6 theorem roots; pinned source/Rust build; unsandboxed |
| Upstream sandboxed CLI | Not run; not part of this portable workflow |
Execution details and retained logs · Comparator record · Nanoda record · Full-run summary
These reports identify the checked inputs by source and artifact hashes, including changes beyond their base Git commit. The site build rejects stale selected records. The retained full source-build GitHub Actions evidence remains bound to its recorded commit.
Cleanup findings and before/after measurements are recorded separately from the portable proof checks.
Statement review freshness
Independent AI reviews of the six challenge roots compare the manuscript, Lean statements, and relevant definitions, with qualifications retained. The cleanup delta review examines the cleanup changes and continues those historical qualifications; it does not repeat the complete historical review. These reviews do not machine-certify English–Lean equivalence.
python3 verification/check_statement_audit.pyThis command checks the selected recorded hashes, references, and mechanical provenance. It does not redo the semantic review or execute Lean, Comparator, or Nanoda. The attached mechanical evidence records incremental exact-type applications and axiom checks using existing compiled dependencies.
Current review manifest · Mechanical evidence · Freshness checker
Trust and scope
Comparator and Nanoda run unsandboxed on trusted local sources. Comparator mode calls the pinned APIs directly; it does not claim a sandboxed upstream CLI run. Nanoda supplies an independent kernel implementation. Neither check replaces review of the expected statements, challenge imports, or their correspondence to the manuscript.
The six intentional expected-statement placeholders are excluded from the solution build. Solution proof dependencies permit only propext, Classical.choice, and Quot.sound. The principal endpoints are proved; the full manuscript is not formalized.