On 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). This page shows what is in them.
These two files are the whole claim. Statements.lean defines four propositions. Main.lean proves them, and Mathlib's own RiemannHypothesis, by citing theorems from the other 175,185 modules. Point at a symbol to see how to say it and what type it has.
In words: every zero of the Riemann zeta function, other than the trivial zeros −2, −4, −6, … , has real part ½. For every Dirichlet character χ, every zero of L(s, χ) with real part strictly between 0 and 1 has real part ½.
Each rectangle is one module. Modules are grouped by directory, and a larger rectangle means more of the chosen size measure.
Scroll over the map to zoom, drag to move, click a module to read its code.
Terms come from Alpöge's announcement and from standard number theory. A module is counted if the term's identifier appears in its text, not counting import lines.
Where each step appears to live in the Lean code, according to a blueprint of the proof by GitHub user jae-63. ● found clearly ◐ names and position fit ○ weak evidence. The number is how many modules match. Point at a step to see it on the map; click to keep it highlighted.
Each module's field is predicted by a classifier from the Mathlib and project identifiers it uses. The prediction agrees with a language model's reading of the module about half the time (details under Sources and method). Point at a row to see where that field sits on the map.
The line under each field lists objects and theorems named in the labels that a language model gave to each of 746 directories after reading a digest of its identifiers. Treat them as a guide, not a census.
A comment on Hacker News reported 204 modules "not referenced anywhere", without a list or a method. In the import graph no module is unreferenced: every module except Main.lean is imported by at least one other module. The comment may be counting something that imports do not show, such as declarations that nothing uses.
Scroll the graph sideways to see all of it.
Colour the map by or by .
Point at a bar to see what the tactic does and which modules use it.
What each of these public pages reported when read on 23 November 2026. None of the checks were run in building this page.
The Lean statements cover the Riemann zeta function and Dirichlet L-functions. They do not cover Dedekind zeta functions or automorphic L-functions.
6193bb5. The archive declares no licence, so this site does not store the Lean files; it stores module names and counts, and loads code from the mirror when you open a module.theorem and def at the start of a line. Lean's kernel sees more declarations (1,484,729 in the nanoda runs) because Lean generates auxiliary ones.