Levent Alpöge’s Riemann hypothesis proof runs to roughly 17.4 million lines of code, built with Anthropic’s Claude rather than presented as a conventional mathematical paper. Released on November 20, 2026, the work has received independent formal verification—a result that establishes logical correctness without supplying a human-readable explanation of why the argument works.
Summary
Key takeaways
- The Lean code covers both the Riemann hypothesis and its generalization for Dirichlet L-functions.
- Lean FRO and the Mathlib Initiative certified the work on November 21.
- Alpöge directed the project; Claude performed much of the implementation.
A Riemann hypothesis proof spread across 175,187 files
The formal proof comprises 175,187 Lean files, distributed in 14 archive parts. Its scope extends beyond the Riemann hypothesis to the generalized Riemann hypothesis for Dirichlet L-functions, a wider family of related mathematical problems.
Lean is a programming language designed to verify mathematics. It requires each logical step to follow from previously established statements, allowing software to check the argument rather than relying solely on a reader’s assessment.
The release uses Lean 4.33.1 and a fixed commit of Mathlib, the community-maintained library of formalized mathematics. Those fixed versions allow others to reproduce the software environment used to check the proof.
Alpöge, a number theorist affiliated with Anthropic and the Harvard Society of Fellows, said Claude helped develop the solution over about six weeks.
Independent checks confirm the formal argument
Lean FRO and the Mathlib Initiative jointly certified on November 21, 2026, that the code compiles and expresses the canonical Riemann hypothesis. Multiple independent kernel checks also confirmed the formal argument’s logical correctness.
A kernel is the small, trusted component of a proof assistant responsible for its final verification. Separate community checks included verification by MIT mathematician Andrew Sutherland.
“We have full confidence that Alpöge’s proof of the Riemann hypothesis is correct, and we congratulate him on this achievement,” the two organizations said in their joint statement.
Alpöge set the direction; Claude handled implementation
Alpöge described the work as a collaboration in which he supplied the overall direction and Claude handled much of the technical implementation. He credited the model with an especially large contribution during the final stages.
That division of labor brings together human mathematical judgment, AI-generated implementation and independent software verification. The checks establish that the formal steps follow logically; they do not themselves explain the ideas behind the argument.
This distinction separates the verified Riemann hypothesis proof from an explanatory mathematical account. A formal argument can establish correctness without showing readers why its approach works or which ideas carry the result.
In a clarification on November 24, Alpöge said his earlier reference to a 250,000-page write-up had been a joke and should not be taken seriously.
A problem about the distribution of prime numbers
The Riemann hypothesis concerns the distribution of prime numbers and asks whether all the nontrivial zeros of a particular function lie on the critical line. German mathematician Bernhard Riemann proposed it in 1859.
The problem is among the seven Millennium Prize Problems selected by the Clay Mathematics Institute in 2000. The institute offered $1 million for each problem solved.
Alpöge had previously contributed to work on the critical line. In August 2026, research involving him raised the known proportion of nontrivial zeros on that line from 41.6% to 67.2%.
Read also: Binance brings Cboe market data to its app, adding three U.S. benchmarks
Article produced with the assistance of artificial intelligence and reviewed by the editorial team.




