Lean 4 · Mathlib · 2026-11-20
A written proof of the Lean proof of the Riemann Hypothesis
On 2026-11-20 Levent Alpöge released a Lean proof of the Riemann Hypothesis. It has more than 175,000 files and no written proof. This site writes the proof in words, step by step, from the top theorem down, and links each step to its Lean code and to the mathematics that it needs.
The state of the claim
| yes | Is the source the same as the release? | On 2026-11-21 the workflow source of riemann-lean downloaded the 14 parts from alpo.ge again, checked each hash and the hash of the archive, and compared each file with the tree. All matched. Run 44912930359. |
|---|---|---|
| not run | Does the project build with the pinned Lean and Mathlib? | A trial built 299 sample modules with no errors. The full build needs about 350 to 2,300 worker hours, so it needs a machine with 64 cores. It waits for the approval of the owner. |
| not run | Which axioms does riemannHypothesis use? | Runs after the full build, with rh trust: #print axioms and a walk of our own. |
| not run | Does a second kernel accept the proof? | Runs after the full build, with lean4checker. |
| open | Do the Lean statements say what the standard statements say? | The draft review reviews/fidelity.md finds that the five statements say RH and GRH for Dirichlet L-functions. It needs a reviewer who knows analytic number theory to sign it. |
| not run | How much of the proof is written in words? | Milestone M3 and later. |
| no | Has a person checked the written steps against the Lean code? | All 50 steps are drafted. No person has checked them yet. |
Updated 2026-11-21.
Where to start
- I know the mathematics
Start with the proof in one page. It shows the top of the chain and where the large part starts.
- I referee the claim
Start with the trust report. It tells which checks ran and what they found.
- I am a student
Start with the learning page. It names the concepts in the order that you need them, with links to Math 2.0.
- I know Lean
Start with the code page. It shows the layout of the source and the files at the top of the proof.
- I am a program
Read llms.txt, the Markdown copy of each page and the JSON in api/.
How to read this site
The text has four levels. Level L0 is the proof in one page. Level L1 is a chapter for each part of the argument. Level L2 is a step for each lemma that a mathematician would write down. Level L3 is one Lean declaration. Each page shows its level at the top, and the side panel shows the Lean names and the concepts that the page needs.
Where to start
If you know analytic number theory, read the proof in one page first. It proves the Riemann Hypothesis from one statement about Dirichlet L-functions, and you can check each step with pen and paper. Then follow the chapters in order. Each chapter page has the list of all chapters in its side panel, and a link to the next chapter at the bottom.
If you want to see the Lean code, open the code page. It has the numbers of the release, the trunk of the proof and its largest branches. Each of the 1,061,531 declarations has a page with its statement, a plain reading of the statement, the file and line, and what it uses. The 757,483 declarations that the proof uses also show the chain from riemannHypothesis and their parts. So you can walk down the whole proof by links.
If you want to know if the claim holds, read what is checked. Lean accepts a proof only relative to its axioms and its statements, and that page tells which checks ran.
What is here now
The work goes in milestones. The site has the overview, the chapters of the trunk as drafts, the timeline of the note, the map of the Lean code and the trust questions with a first scan of the source. The build of the full project and the axiom check come next. See about for the plan.