Lean 4 formalization claims a proof of the Riemann Hypothesis
Original title: Treemap of the Riemann Hypothesis Lean Proof
The November 20 release, written with Claude, is 175,187 modules and also covers Dirichlet L-functions.
A visualization page maps a Lean 4 formalization that Levent Alpöge released on November 20, 2026, written with Claude, stating and proving the Riemann Hypothesis and a generalization to Dirichlet L-functions. The mirrored source has 175,187 modules and 17,374,215 lines, with a longest import chain of 203. The statements do not cover Dedekind zeta functions or automorphic L-functions. The page author did not run the public proof checks and treats a directory-field classifier and a reader’s blueprint as guides rather than a census.
Unconfirmed: The page does not verify that the formalization is accepted as a complete proof of the Riemann Hypothesis.
- Main.lean proves four propositions plus Mathlib’s RiemannHypothesis by citing the other modules.
- Every module except Main.lean is imported by at least one other module.
- A Hacker News comment claimed 204 unreferenced modules; the import graph contradicts that.
- The field classifier agrees with a language-model reading about half the time.
From the original article
3 min read at pengowray.github.ioOn 20 November 2026 Levent Alpöge released a Lean 4 formalization, written with Claude, that states and proves the Riemann Hypothesis and its generalization to Dirichlet L -functions. The source is 175,187 modules (a module is one . lean file).
By pengowray · pengowray.github.io
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.