Companion repository to the math. OA submission. The paper develops the Tomita–Takesaki modular theory of the Bost–Connes C*-dynamical system (Bₖ, αₜ, ω₁) for K = ℚ (i) at the critical KMS state β = 1, with five main results (Theorems A–E) formalized in Lean 4 against pinned Mathlib SHA 5e932f97. Theorem C is unconditional via Takesaki's KMS-uniqueness theorem BR97, Thm. 5. 3. 10. Scope partition, axiom inventory, and Mathlib Integration Roadmap are documented at §1. 5, §8, and §9 of the preprint. The Lean 4 formalization (Mathlib v4. 29. 1, SHA 5e932f97) is included as a Git submodule and verifies the structural scaffold of every theorem with zero sorry count. Substrate inventory: eight named programme-level axioms (six carrying documented literature citations, two recording Mathlib infrastructure gaps with documented discharge paths), six scaffold-layer placeholders, and one Lean substrate hypothesis (hSubstrateᵢii for Theorem C). The Mathlib Integration Roadmap (§9) names four upstream tasks each deferred to a dedicated Mathlib PR rather than bundled into the present submission. A 230-line file Antilinear. lean developing polar decomposition for unbounded antilinear operators addresses a current gap in Mathlib and is proposed for upstream contribution. During the preparation of this work, the author used Claude Opus 4. 7.
G Six (Sat,) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: