TL;DR
A treemap published on November 20, 2026, maps the 175,187 Lean files in a formalization by Levent Alpöge that claims to prove the Riemann Hypothesis and a Dirichlet L-function generalization. The visualization describes the code structure and its own counting methods; it does not independently verify the proof, and the source says its displayed public-page checks were not run to build the site.
A treemap published on November 20, 2026, lays out the 175,187 Lean files in Levent Alpöge’s formalization, which states and claims to prove the Riemann Hypothesis and a generalization for Dirichlet L-functions. The visualization offers a way to inspect the project’s code and dependencies, but it is a map of the formalization—not, by itself, an independent confirmation that the proof is correct.
Prime made for students and young adults
- Fast, free delivery for dorm and study essentials
- Prime Video and Amazon Music included
- Member-only deals
The page, titled “Treemap of the Riemann Hypothesis Lean Proof,” says Alpöge wrote the Lean 4 formalization with Claude. It identifies two files as the location of the main claims: Statements.lean defines four propositions, while Main.lean proves them and Mathlib’s own Riemann Hypothesis by invoking theorems from the other 175,185 modules. The report describes a module as one .lean file.
One stated result says that every nontrivial zero of the Riemann zeta function has real part one-half. The other extends the claim to zeros of Dirichlet L-functions with real part strictly between zero and one. The page says the formalization does not cover Dedekind zeta functions or automorphic L-functions.
The visualization groups files by directory and offers views of their size, identifiers, predicted mathematical fields, and import relationships. Its script counted 175,187 files and 17,374,215 lines, and found a longest import chain of 203. These are measurements of the source archive, not a measure of whether the mathematical argument is correct.
What the Treemap Can Show
Formalization matters because a proof written in Lean can be checked by the system’s kernel, rather than relying only on readers to inspect every line of a conventional mathematical text. The treemap may help researchers and other readers find where claims are stated, how modules connect, and which parts of a large codebase deserve inspection. That is useful for making an unusually large proof project more navigable.
At the same time, a visualization is not a substitute for examining the formal statements, dependencies, and successful kernel checks. The page describes the source and its own analysis; it does not say that its creation ran all the checks needed to validate the proof. Readers should distinguish the existence of an extensive formalization from an independently established resolution of a major open problem.
The scale figures also need careful interpretation. The 175,187-file count includes the entire source described by the page, while the main claim is concentrated in two files and supported by the remaining modules. File and line counts alone do not establish the strength, correctness, or novelty of the mathematics.
Popular right now

Apple AirPods Pro Wireless Earbuds

Ninja Prestige Smart XL Pro Cook System 10-in-1 Air Fryer and Countertop Oven, Stainless Steel, DT551

Dyson V9 Motorbar Cordless Vacuum
As an affiliate, we earn on qualifying purchases.
How the Proof Is Organized
The Riemann Hypothesis concerns the nontrivial zeros of the zeta function and predicts that they lie on a line in the complex plane where the real part is one-half. The visualization includes a plot of values of the zeta function along that line for imaginary parts from zero to 60; the report says the curve passes through zero once for each zero in that range on the critical line. This illustration is separate from the formal proof claim.
In Lean, the two claim files rely on results in the other modules. The treemap presents those modules as rectangles, with size determined by a selected measure, and displays relationships through import graphs. It also highlights possible locations for steps in a proof timeline, following a blueprint by GitHub user jae-63. The page characterizes that mapping as one reader’s interpretation: the blueprint was matched to Lean names through searches and partial reading, not presented as an authoritative classification.
The report gives caveats about its methods. A classifier predicts each module’s mathematical field from identifiers, and the page says those predictions agree with a language model’s reading about half the time. Labels for 746 directories are described as guides, not a census. The source was read from a mirror at commit 6193bb5; the page says the archive declares no licence and that it stores names and counts rather than the Lean files themselves.
““These two files are the whole claim.””
— The treemap report
What the Map Does Not Verify
The page says its compilation of public check reports was read on November 23, 2026, but that none of those checks were run in building the page. The supplied report does not provide the individual results, identify which independent reviewers conducted them, or establish that every relevant check has been completed. It would be inaccurate to treat the visualization itself as evidence that all proof obligations have been independently confirmed.
A Hacker News comment reportedly said that 204 modules were “not referenced anywhere,” but the treemap report says the comment supplied neither a list nor a method. Its own import-graph count found no module unreferenced: every file except Main.lean is imported by at least one other module. The report cautions that import relationships may not reveal whether individual declarations are actually used, so the two observations may be counting different things.
The source material does not establish an independent mathematical review, the status of every external verification, or whether the formalization will be accepted by the wider research community. Nor does it make claims about L-function families beyond the zeta function and Dirichlet L-functions. Those matters remain separate from the counts and visual analysis reported on the page.
Independent Checks and Review
The immediate next step for readers seeking to assess the claim is to inspect the two statement and proof files, follow their dependencies, and examine the actual public check reports referenced by the visualization. The report’s stated counts can help locate material, but its page does not announce a future verification milestone or give a schedule for one.
Further clarity would come from detailed, attributable reporting on what checks have been run, by whom, and with what results, alongside scrutiny of the formalization by mathematicians and Lean users. Until such information is established, the clearest description is that Alpöge’s formalization claims the results, while the treemap documents its organization and explains the limits of its own analysis.
Key Questions
What did the treemap report?
It maps the 175,187 Lean files in Levent Alpöge’s formalization, which claims the Riemann Hypothesis and a result for Dirichlet L-functions. It visualizes modules, directories, imports, and other source-code features.
Does the treemap prove the Riemann Hypothesis?
No. The page describes and counts the formalization, but says the public-page checks it lists were not run in building the visualization. The map itself is not an independent proof verification.
What results does the formalization claim?
It states that every nontrivial zero of the Riemann zeta function has real part one-half, and gives a related claim for zeros of Dirichlet L-functions whose real part is strictly between zero and one.
How large is the source project?
The treemap’s script counted 175,187 files and 17,374,215 lines, with a longest import chain of 203. These counts describe the source archive and do not establish proof correctness.
Which functions are outside the formalization’s stated scope?
The report says the formalization does not cover Dedekind zeta functions or automorphic L-functions.
Source: pengowray.github.io
