Full-Archive AST Stratification, Pinned Mathlib Boundary Audit, and Deep Hub Decompilation of the 17.37M-Line Alpöge-Claude Riemann Hypothesis Formalization

A mix of human-written and AI-generated textHuman understanding: all partsmath.NT — Number Theorymath.AG — Algebraic Geometrycs.LO — Logic in Computer Science

Contributed by Gilheum Park ↗

Version 1 / Nov 23, 2026 / CC BY 4.0

Abstract

On 20 November 2026, L. Alpöge announced a commentless 175,187-file (17,374,215-line) Lean 4 formalization (leanprover/lean4:v4.33.1, pinned mathlib4 commit 0df444a3) establishing RiemannHypothesis and Dirichlet GRH, machine-checked across x86_64 and aarch64 and replayed by independent kernels (nanoda, con-leche, lean4lean) using only the three standard Lean axioms [propext, Classical.choice, Quot.sound]. While M. Jaswal (hexagon:2611.00799v1) recently traced the top-down spine of ~150 upper declarations from Main.lean, over 99% of the 4.22M-line novel proof engine remained unindexed and unexamined at the equation level. This seven-volume monograph reports a complete static AST stratification and source-level mathematical decompilation of the novel and boundary layers of the archive, anchored by 1,878 verified exact file.lean:line source pins: (1) Full-Archive Stratification (Volume 0): Parsing all 175,187 files (1,061,425 declarations) isolates the 29,067-module (4,224,608-line, 300,415-declaration, 24.32%) genuinely novel union (Formalism U Pure_Vwin) from the 75.69% (13.15M-line) classical re-proof cone, showing an extreme power-law hub concentration and deterministic tactic profile (aesop in only 10 of 300,415 novel declarations, 0.0033%). (2) Pinned Mathlib & TCB Boundary Audit (Volume 1): Verbatim inspection of ZetaAsymp.lean (s=1 division-by-zero value riemannZeta 1 = (gamma - log(4*pi))/2, s=0 value -1/2, trivial zeros), DirichletCharacter.LFunction (N=1 reduction and imprimitive Euler-factor zeros confined to Re(s)=0), and all 8 custom metaprogramming files (33 unique files with allowUnsafeReducibility) confirms zero TCB corruption of Main.lean:1-12. (3) Exhaustive 201/201 Classical Import Audit (Volume 2): Every direct local import of EveryCharacterOfLiteratureOfVWin.lean is classified (92 Type I textbook-general, 56 Type II-A pipeline-specialized, 34 Type II-B restricted-domain, 19 assembly/adapters), yielding 8 explicit classical-to-archive translation adapters (A1-A8). (4) Formalism Four Pillars, 112 Subtheories & Global Constant Closure (Volumes 3-4): Decompilation of the top-imported hubs (led by RhoDetPrimeEqMuTildeMulChiPow.lean at in_degree = 921) reconstructs the characteristic-0 triple level-denominator cancellation bypassing the sigma = 2/3 scaling barrier and proves acyclicity of the quantifier chain from ShapeWin (C_abs, C_0, e_D, e_L) = (2, 3, 2, 0) through CoreGm (1/2 + 9*eps) and landauWindow. (5) Pure_Vwin Vandiver Bypass & Journal Blueprint (Volumes 5-6): Reconstruction of the 1.03M-line Behrend-Iwasawa parity-patching tower (56 LiteratureRankNHypothesis slots = 50 pure literature + 5 pure novel + 1 hybrid, threshold Ct = 401), reconciliation with Jaswal (hexagon:2611.00799v1), and a section-by-section 152-page human journal paper blueprint, accompanied by a 30,343-module (308,731-declaration, 100.00%) AST Formula Atlas and 61 standalone zero-sorry Lean 4 audit theorems archived at CERN Zenodo (doi:10.5281/zenodo.24437646).

Provenance statement

Frontier large language models (Claude and Gemini) were used under deterministic Python AST verification harnesses to assist in static dependency/declaration extraction across the 175,187 commentless Lean 4 files, mathematical decompilation, English translation, and LaTeX typesetting. Every quantitative count (30,343 modules, 308,731/308,731 AST declarations, 1,878 exact .lean:line pins) was verified by deterministic scripts against the upstream archive, and all 61 standalone companion Lean 4 audit theorems (doi:10.5281/zenodo.24437646) were machine-checked with zero sorry under Lean v4.33.1 and v4.36.0. The human contributor takes full responsibility for the work.

Tools used

Lean
LeanVersion v4.33.1, v4.36.0
Google
Gemini
Anthropic
Claude

References

  1. L. Alpöge, Formal proof of the Riemann hypothesis and Dirichlet generalized Riemann hypothesis in Lean 4 ( lean.tar.gz , 175,187175,187 files, 17,374,21517,374,215 lines, leanprover/lean4:v4.33.1 , mathlib4 commit 0df444a360eaa60ab8c11dca51a86af692955474 ), 20 November 2026.
  2. L. Alpöge, Author's accompanying note on the Riemann hypothesis formalization ( remark.pdf , twenty chronological steps dated 6 October--16 November 2026), 20 November 2026.
  3. M. Jaswal, The Riemann hypothesis for Dirichlet LL-functions [after Levent Alpöge] , Hexagon preprint hexagon:2611.00799v1 (also archived at Zenodo, doi:10.5281/zenodo.24410057 (https://doi.org/10.5281/zenodo.24410057)), 21 November 2026.hexagonDOI
  4. G. Park, Ultari Proof Anatomy (v1.1.0): Companion Part B 100.00 30,34330,343 modules, 308,731308,731 declarations) and 61-Theorem Standalone Zero- sorry Lean 4 Audit Suite for the Alpöge--Claude RH/GRH Archive , CERN Zenodo, doi:10.5281/zenodo.24437646 (https://doi.org/10.5281/zenodo.24437646), 22 November 2026.DOI
  5. J. Anschütz and A.-C. Le Bras, Prismatic Dieudonné theory , Forum Math.\ Pi 11 (2023), e2.
  6. J. Arthur and L. Clozel, Simple Algebras, Base Change, and the Advanced Theory of the Trace Formula , Annals of Mathematics Studies, vol. 120, Princeton Univ.\ Press, 1989.
  7. F. A. Behrend, On sets of integers which contain no three terms in arithmetical progression , Proc.\ Natl.\ Acad.\ Sci.\ USA 32 (1946), 331--332.
  8. T. Barnet-Lamb, D. Geraghty, M. Harris, and R. Taylor, A family of Calabi--Yau varieties and potential automorphy II , Publ.\ Res.\ Inst.\ Math.\ Sci.\ 47 (2011), 29--98.
  9. C. J. Bushnell and G. Henniart, The Local Langlands Conjecture for GL(2)\mathrm{GL}(2) , Grundlehren Math.\ Wiss., vol. 335, Springer, 2006.
  10. W. Casselman, Canonical extensions of Harish-Chandra modules to representations of GG , Canad.\ J.\ Math.\ 41 (1989), 385--438; N. R. Wallach, Real Reductive Groups II , Academic Press, 1992.
Show all 20 referencesShow fewer references
  1. J.-P. Demailly, Extension of holomorphic functions defined on singular varieties , in Complex Geometry and Dynamics , Abel Symp.\ 10 , Springer, 2015, 67--113.
  2. W. T. Gan, Y. Qiu, and S. Takeda, The regularized Siegel--Weil formula (the second term identity) and the Rallis inner product formula , Invent.\ Math.\ 198 (2014), 739--831.
  3. Harish-Chandra, Automorphic Forms on Semisimple Lie Groups , Lecture Notes in Math., vol. 62, Springer, 1968.
  4. M. Harris and R. Taylor, The Geometry and Cohomology of Some Simple Shimura Varieties , Annals of Mathematics Studies, vol. 151, Princeton Univ.\ Press, 2001.
  5. H. Hironaka, Resolution of singularities of an algebraic variety over a field of characteristic zero.\ I, II , Ann.\ of Math.\ (2) 79 (1964), 109--326.
  6. A. Ichino, A regularized Siegel--Weil formula for unitary groups , Math.\ Z.\ 247 (2004), 241--277.
  7. H. Jacquet and J. A. Shalika, On Euler products and the classification of automorphic representations.\ I, II , Amer.\ J.\ Math.\ 103 (1981), 499--558, 777--815.
  8. K. Kato, pp-adic Hodge theory and values of zeta functions of modular forms , Astérisque 295 (2004), 117--290.
  9. J.-P. Labesse, Changement de base CM et séries discrètes , in On the Stabilization of the Trace Formula , Int.\ Press, 2011, 429--470.
  10. J.-P. Serre, Géométrie algébrique et géométrie analytique , Ann.\ Inst.\ Fourier 6 (1956), 1--42.

Version history

  1. v1 · 203 pagesSubmitted by gilheum parkRevised after moderator-requested changesCurrentNov 23, 2026