Riemann Hypothesis: Lean community declares Alpöge's proof correct
Has the Riemann Hypothesis been proved? According to a joint statement by the Lean and Mathlib communities on November 21, yes. They say they have full confidence in the proof that Levent Alpöge released on November 20 as a Lean library of 17 million lines of code. The statement is endorsed by the Lean FRO and the Mathlib Initiative. Several independent programs checked the proof, and part of those checks ran with Claude Code.
We read the statement on the Lean community blog, the verification overview by Andrew Sutherland (MIT) and the blog post with the four criteria the statement refers to. The news spread through, among others, a post by @kimmonismus on X.
What happened
The Riemann Hypothesis is one of the best-known open problems in mathematics. It concerns the zeros of the zeta function and is closely tied to how prime numbers are distributed. Alpöge published his proof as a formal proof in Lean, a program that checks every step of a mathematical argument. According to the statement, the library depends directly only on Mathlib, Lean's large shared mathematics library.
Within a day, community members checked the proof against four criteria from an earlier blog post of November 12. That post sets out the questions to ask about a large Lean repository, especially one generated by AI. The statement says all four are satisfied.
How the proof was checked
- The statement is right. The formulation of the Riemann Hypothesis is already part of Mathlib and was vetted by experts in Lean and number theory.
- The code compiles. Dozens of people reported that the library builds without errors and produces the same proof export file.
- The proof addresses the right statement. The community wrote a separate file containing only the statement, importing only Mathlib. Two independent tools confirmed that Alpöge proves exactly that statement.
- The proof is valid. Lean's official proof-checking core and several independent checkers, written in different programming languages, accepted the exported proof. The checkers con-leche and con-ron come with a formal proof that they cannot accept a false proof.
Sutherland's overview, produced with Claude Code and updated on November 22 at 16:20 UTC, gives figures. The unpacked export is about 61.6 GB. The five headline theorems rely only on Lean's three standard axioms. The lean4lean checker accepted all 175,187 compiled modules, and con-ron checked almost 1.5 million declarations in just over seven minutes on 64 threads. An independent build in a sandbox without network access produced a byte-for-byte identical export. According to the overview, two checks were still running at that time, including a full replay of the proof by Lean's proof-checking core, which takes many hours.
What this means
If the remaining checks pass, one of the great problems in mathematics has been solved with a proof that a computer has checked in full. That shifts the work for mathematicians toward understanding the new ideas in the proof, which the statement itself points out.
It also shows how to handle huge amounts of generated code. The checks ran on an inert export, out of reach of any malicious code in the source files. That approach is useful outside mathematics too, for example for code from coding agents such as Claude Code. We covered the models that do this kind of long reasoning in our piece on reasoning models and in our article on Claude Fable and Mythos 5.2.
What we did not verify
We did not build or check the proof ourselves; that takes a heavy machine. The statement does not say how Alpöge produced the proof or whether an AI model was involved. On X the proof is linked to Claude; we have not read that in a primary source. What is established is that Sutherland ran his checks with Claude Code. A post on X points to an intermediate lemma said to be vacuously true. We did not look into that; the checks in the statement compare the final theorem with the formulation in Mathlib.
Checked on November 22, 2026.
This article was written with AI (Claude) and checked against the sources below.
Sources
- Lean and Mathlib communities, Lean verification of the Riemann Hypothesis (November 21, 2026): leanprover-community.github.io
- Andrew Sutherland (MIT), verification overview of the proof: math.mit.edu
- Xena Project, And the proof is checked in Lean (November 12, 2026): xenaproject.wordpress.com
- @kimmonismus on X about the statement: x.com
- @Techmeme on X about the statement: x.com


