# ATTESTATION — rebuild and audit record for `GcdStratum.lean` Purpose: everything an independent checker needs to reproduce the Level A verification facts stated in `../CLAIM.md`. ## Artefacts | File | Bytes | SHA-256 | |---|---|---| | `GcdStratum.lean` | 6,917 | `bbb692d327fe06c0d3559f8fd729e09e0a15e60a16b6ed1cf6a7f5df9867370b` | | `build.sh` | 429 | `950190daf15b3d4161ab64b04377ae2c3395aa9e9858e113a4be592d1c8a7ba5` | `build.sh` as copied here references the original build layout; to rebuild this package standalone, it is enough to run, with any Lean 4.36.0 toolchain: lean GcdStratum.lean The file ends with `#print axioms` commands for its four theorems, so a successful compile prints the axiom lists directly. Expected: clean compile, no errors, no warnings, and exactly the axiom lists quoted in `../CLAIM.md`. ## Toolchain - Lean 4.36.0 (x86_64-unknown-linux-gnu, commit 611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9), installed in an isolated elan home used only for this work. - The formalisation uses core Lean only (`import Init`). Core Lean 4.36 has no general `Odd` predicate and no generic `dvd_trans`/`dvd_rfl`; both are defined and proved inside the file (`OddN`, `dvd_trans'`, `dvd_refl'`), so the axiom audit covers them as well. ## Build record - First clean build: `lean GcdStratum.lean` — clean, no errors, no warnings. Full three-file build via `build.sh` (this file plus two companion files not part of this package): BUILD OK, 7.4 s total. - Grep audit over the Lean sources: no `sorry`, no `admit`, no `axiom` declarations (only the `#print axioms` queries). - `#print axioms` (verbatim): - `'alpha_dvd' depends on axioms: [propext, Quot.sound]` - `'alpha_odd' depends on axioms: [propext, Classical.choice, Quot.sound]` - `'beta_pat' depends on axioms: [propext, Quot.sound]` - `'strata_iff' depends on axioms: [propext, Classical.choice, Quot.sound]` ## Independent rebuild (second checker) A checker other than the formalisation's author re-ran the full build in a separate process from a clean state: BUILD OK, no errors; the `#print axioms` output was re-confirmed verbatim for `strata_iff` and the companion theorems; the no-`sorry` grep was repeated. The same checker signed the statement-fidelity comparison against the hand proof of the criterion (definitions: N = p − 1 arbitrary in both; forced logs as a list; G as the fold gcd with the empty-list convention G = N; genuine-admissibility as containment plus an odd log; (α) divisibility + oddness; (β-pat) the explicit realising pattern). The two stated representation differences (lists for multisets; logs for residues) are recorded in the source header and in `../CLAIM.md`. ## What this attestation does not cover The hand proof that the Lean file formalises is a separate artefact (a pattern-level proof inside the covering-system framework); this attestation covers the machine check and the fidelity of the translation, not the framework itself. Nothing here asserts anything about the Erdős–Straus conjecture.