Riemann hypothesis proof made with Claude certified in Lean

On 21 November 2026, the Lean FRO and the Mathlib Initiative, the two groups behind the Lean proof assistant and its library of mathematics, certified that a proof of the Riemann hypothesis is correct. Levent Alpöge, a mathematician at Anthropic, had released the proof the day before, on 20 November 2026, and says he found it working with the company's AI model, Claude.
Bernhard Riemann set out the hypothesis in 1859, so it has been open for 167 years. It is one of the seven Millennium Prize problems, each with a $1 million prize from the Clay Mathematics Institute. Alpöge says the same method proves the Generalized Riemann Hypothesis too, and the Lean code does prove it for Dirichlet L-functions, the related functions that govern how primes are spread across sequences such as 4k + 1 and 4k + 3.
I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis.
What the hypothesis says
The Riemann zeta function starts as an infinite sum, and Riemann extended it to every complex numbersexcepts=1.
It is zero at −2, −4, −6 and so on, the trivial zeros. Every other zero lies in the strip where the real part of s is between 0 and 1, and the hypothesis says they all sit on the line down its middle, the critical line, where the real part is exactly 1/2. Those zeros fix how far the count of primes up to a number strays from its expected value, so the hypothesis is a statement about how evenly the primes are spread out.
In the graph, x is the height t up the critical line and y is Hardy's Z function, worked out from the zeta function itself. Z(t) is a real number the same size as\zeta\left(\frac{1}{2}+it\right), so every place the curve crosses the axis is a zero on the critical line. There are ten below t = 50, and the first is at t = 14.134725.
Computers had already checked the first 10 trillion zeros, according to the Clay Mathematics Institute, but there are infinitely many, and only a proof covers them all. In August 2026 Anthropic reported that an unreleased Claude model had raised the proven share of zeros on the line from 41.6% to 67.2%, and said then that it did not expect those methods to lead to a full proof.
How the proof was checked
Alpöge did not publish the proof in ordinary mathematical writing. He released a Lean library: code in which every step is checked by a small trusted program called the kernel. His note says a written version in full detail ran past 250,000 pages and would be unreadable, so he chose to present only the Lean. His rough timeline runs from 6 October to 16 November 2026, 41 days.
- 17 million lines of Lean in 175,187 files, depending directly only on Mathlib.
- 3 axioms, the standard ones for mathematics in Lean: propext, Classical.choice and Quot.sound.
- 2 separate tools, comparator and con-leche, confirmed that the theorem proved is exactly Mathlib's own statement of the Riemann hypothesis, which experts in Lean and number theory have vetted.
- Several independent checkers, written in different programming languages, accepted the exported proof, a file of 61.6 billion bytes.
We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.
Andrew Sutherland of MIT rebuilt the library on a separate machine with no network and ran several of the checkers, using Claude Code. He told Scientific American that "the chance that anything is fishy here is approximately zero". His log, last updated on 22 November 2026, still lists two long single-threaded runs of Lean's kernel as unfinished. They repeat a check the kernel had already passed on every file.
A statement about whole numbers
In 1984 Guy Robin showed that the Riemann hypothesis is true exactly when one inequality about divisors holds for every whole number above 5040. Here σ(n) is the sum of the divisors of n, and γ ≈ 0.5772 is Euler's constant, soe^{\gamma}\approx1.78107.
Sutherland combined the proof with a separate Lean formalisation of Robin's work, and Lean accepted the inequality as a theorem with no mention of the zeta function at all. 5040 is the largest number that breaks it:
| n | Prime factors | σ(n) | e^γ n ln ln n | Below the bound? |
|---|---|---|---|---|
| 5040 | 2⁴ × 3² × 5 × 7 | 19,344 | 19,237.1 | No |
| 10080 | 2⁵ × 3² × 5 × 7 | 39,312 | 39,877.5 | Yes |
| 55440 | 2⁴ × 3² × 5 × 7 × 11 | 232,128 | 236,081.4 | Yes |
What is still missing
Nobody yet understands the proof well enough to explain it in a paper. Alpöge writes that he expects it to be simplified quickly and that he intends to write it up properly, and the Lean statement looks forward to mathematicians explaining the new ideas in it.
The Clay Mathematics Institute's rules say a solution must be published in a qualifying outlet, two years must pass, and it must win general acceptance before the prize is considered. On 23 November 2026 its page still listed the problem as active. The Lean theorems cover the Generalized Riemann Hypothesis for Dirichlet L-functions only, not for the wider families of L-functions the name also covers.
The announcement came a day after Anthropic's shares began trading on Nasdaq. Alpöge's note calls the timing horrible and says a cynical reading of it is false. On the same day the Stanford mathematician Ravi Vakil posted news of a separate, human-written claimed proof of the Generalized Riemann Hypothesis by Alessandro Maria Masullo. By 22 November he had added that several people had reported problems in it.
Sources
- Levent Alpöge: remark announcing the proof, 20 November 2026
- Lean FRO and Mathlib Initiative: Lean verification of the Riemann Hypothesis, 21 November 2026
- Andrew Sutherland, MIT: verification files for the Lean proof, updated 22 November 2026
- Lean community: riemann-hypothesis repository and theorem statements
- Scientific American: Anthropic mathematician proves Riemann hypothesis, 20 November 2026
- Scientific American: The AI Riemann hypothesis proof is true, independent mathematicians confirm, 21 November 2026
- Clay Mathematics Institute: Riemann Hypothesis
- Clay Mathematics Institute: Rules for the Millennium Prize Problems
- Anthropic: Claude improves a lower bound for the zeros of the zeta function, 10 August 2026
- Ravi Vakil: Hurried Announcement: Alessandro Masullo GRH, 20 November 2026
- Robin1984: a Lean formalisation of Robin's criterion
- Wikipedia: Z function
- Picture: Levent Alpöge, 2024, by Marlene Ruf, Wikimedia Commons, CC BY-SA 2.0 DE