Reproducing the Lean checks The archive SHA-256 is 415ecbd89bfd24d14e63b75aca93f929a57aa393b2b6e7d9f52b8f24f1bc138e. Lean is pinned in the archive to leanprover/lean4:v4.33.1. Mathlib is referenced as /opt/mathlib without a Git revision. The local replay used the official mathlib v4.33.1 tag, commit 0df444a360eaa60ab8c11dca51a86af692955474. Its eight package revisions agree with the archive's manifest. The historical contents of the original /opt/mathlib directory cannot be recovered from that manifest alone. The following Bash commands reproduce the checks in a new working directory with Git, elan, Python 3 and unzip installed. Place thesis-formalization.zip and the blueprint's evidence directory here. Building from the fresh archive uses no prior project .oleans. The official cache supplies mathlib and its dependencies. The blueprint also includes a smaller lean-project.zip with the original Lean sources, Lake configuration, manifest and toolchain file. To use that input, replace the first command below with `unzip -q lean-project.zip`. Both inputs have the same 53 proof and verification source hashes. The ZIP hash above identifies the original full thesis-formalization.zip. unzip -q thesis-formalization.zip elan toolchain install leanprover/lean4:v4.33.1 git clone --depth 1 --branch v4.33.1 https://github.com/leanprover-community/mathlib4 mathlib (cd mathlib && git rev-parse HEAD && lake exe cache get) cd thesis-formalization python3 - <<'PY' from pathlib import Path for name in ("lakefile.toml", "lake-manifest.json"): path = Path(name) path.write_text(path.read_text().replace("/opt/mathlib", "../mathlib")) PY mkdir -p .lake ln -s "$(realpath ../mathlib/.lake/packages)" .lake/packages sha256sum -c ../evidence/archive-source-sha256.txt lake env lean --version lake build Thesis mkdir -p .lake/build/lib/lean/verification for m in Audit BernoulliTwisted Ch4Checks EulerAudit IwasawaDivisionAudit GeneralizedBernoulliEGFAudit GeneralizedBernoulliRecursionAudit; do lake env lean "verification/$m.lean" -o ".lake/build/lib/lean/verification/$m.olean" || exit 1 done lake env lean Audit.lean env -u ALLOW_SORRY lake env lean verification/AxiomAudit.lean The last command is the strict proof gate. Its expected exit code for this archive is 1. Run the next commands independently of this expected failure. lake env lean ../evidence/ModuleAudit.lean lake env lean ../evidence/StatementChecks.lean python3 ../evidence/check-arithmetic.py python3 ../evidence/irregular-layer.py ModuleAudit.lean selects constants by their defining module, including private and automatically generated constants. It records both a direct use of sorryAx in the declaration's type or own proof term and its transitive axiom set. The archive's six-namespace filter is reported separately to make its older counts comparable. Counts include definitions and generated declarations. The ordinary library build uses Lean's kernel with its imported environment and accepts explicit sorry terms. The blueprint compares each selected Lean proposition and its definitions against the corresponding mathematical objects and hypotheses in the thesis.