Build and verify
Build
Requires elan. Pinned: Lean 4.35.0,
Mathlib 56a005855ea17e0b0958f73ec801ae140b0a1679. Transitive pins are in
lake-manifest.json; do not run lake update for a routine build.
lake exe cache get # Mathlib build cache
lake build # the umbrella StratonovichHAMSecondMoment (it imports 210 modules: 185 library, 25 StratonovichHAMAudit) and the Axioms module
lake build StratonovichHAMSecondMoment.Axioms # axioms of every public declaration
scripts/check-controls.sh # all negative controls must be rejected
To use one step, import its module, for example
import StratonovichHAMAudit.MiddleCross.
To use the companion as a Lake dependency:
[[require]]
name = "stratonovich-ham-second-moment-lean"
git = "https://github.com/chenle02/stratonovich-ham-second-moment-lean"
rev = "v0.11.0"
Architecture
| Path | Contents |
|---|---|
StratonovichHAMAudit/ |
the 24 step modules and HermiteWordConsumer (private checks of HermiteWord, not a step) |
StratonovichHAMSecondMoment/ |
the 185 library modules (whole results, narrower results, foundations and proof steps) |
StratonovichHAMSecondMoment.lean |
umbrella module importing all of them |
StratonovichHAMSecondMoment/Axioms.lean |
#print axioms for every public declaration |
controls/ |
negative controls, one directory per module |
refutations/ |
Lean proofs refuting specified variants of declarations: manuscript scalar steps, Lean-route-only constructions, and controls of totalized arithmetic or of broader generalizations (the ledger states each one's domain) |
Audit/ |
full-type and axiom printouts and a consumer example for each proof module |
claims.yaml |
the checked facts, with summaries |
docs/statement-ledger.md |
manuscript label to Lean declaration map |
provenance/manuscript-anchor.json |
SHA-256 of the manuscript revision the labels refer to, and of each Lean source |
verify.sh |
the build-and-axiom check used for verification records |
coverage.yaml |
one row per covered manuscript result, with its coverage class, the exact scope of the conclusion and the claims credited to it |
docs/coverage-scope-tex.yaml |
LaTeX versions of the coverage scope sentences |
comparator.json, comparator-helpers.json, lean-pkg-signoff.json, Challenge.lean, Solution.lean, ChallengeDefs/ |
the comparator tier: every theorem claim restated in Challenge.lean and proved from the project in Solution.lean; comparator.json holds the theorems credited to a coverage row, comparator-helpers.json the helper theorems, a smoke check declared in lean-pkg-signoff.json |
scripts/ |
the negative-control runner and the comparator scaffolding (CheckFidelity.lean checks every restatement of both configurations) |
COMPLETION.md |
milestones and the status of every labelled result |
.lean-receipts/ |
lean-pkg receipts (lower tier and comparator) |
verification/ |
external-kernel replays and the Slurm receipt pilots on the Easley cluster |
site/ |
sources of the documentation site (gh-pages) |
provenance/DEVELOPMENT.md |
the development repository, the release commit and what changed |