News · Research and benchmarks · News
Anthropic Claude Riemann Hypothesis proof: 17M Lean lines, verified

In one line: Anthropic mathematician Levent Alpöge says he proved the Riemann Hypothesis working with Claude, the proof is a Lean library of 17 million lines that the Lean and Mathlib communities have certified as correct, and no price is published because there is no product to buy.
On 20 November 2026, Levent Alpöge, a mathematician at Anthropic, released a proof of the Riemann Hypothesis as a Lean library of 17 million lines of code. He says he found it working with Claude. The Lean and Mathlib communities then published a joint statement, endorsed by the Lean FRO and the Mathlib Initiative, saying they have full confidence that the proof is correct.
The Riemann Hypothesis has been open since 1859. It concerns how prime numbers are distributed, and it is one of the seven Millennium Prize problems of the Clay Mathematics Institute, each carrying a $1 million prize. The Verge notes that Anthropic has not commented and that the proof was published only on Alpöge's own website.
What Alpöge and Claude did
The Decoder reports that Alpöge worked closely with Claude over the past few months. He set the direction. Once they moved from a toy model to the real problem, the model took over. In his own words: "Claude far outpaced me near the finish line."
According to The Decoder, the pair extended an idea from the mathematician Stepanov, who had solved a similar question in another mathematical system. They chained special transformations together to mimic a derivative, a tool that normally fails on whole numbers. Alpöge says the model supplied the key insight: for a number sequence of length X, you chain as many transformations as the square root of X.
A few more details from the sources:
- Alpöge says the method also resolves the Generalized Riemann Hypothesis, and he expects the Extended Riemann Hypothesis to follow with more time.
- Printed out, the argument would run over 250,000 pages, he says, because every basic step is spelled out. So he released it only in Lean, split into 14 packages.
- He admits Claude was far ahead of him in some subfields, and that he has not yet fully mastered the surrounding mathematics. He plans a human-readable version over the coming months.
The sources do not say which Claude model was used. If you want the current lineup, I covered it in Claude Fable 5.2 and Mythos 5.2.
How the Lean community checked 17 million lines
Nobody read 17 million lines. The joint statement describes four checks instead:
- The statement is right. The Riemann Hypothesis is already stated in Mathlib, and that statement has been vetted by experts in Lean and number theory.
- The library compiles. Dozens of people reported a correct build, each reproducing the same raw proof export file.
- The code proves that exact statement. The community added a file that isolates the statement and imports only Mathlib. Two independent tools confirmed that Alpöge's theorem is exactly Mathlib's statement.
- The proof is valid. The exported proof was checked by Lean's official kernel and by several independent checkers written in different programming languages. Two of them come with a formal proof that they cannot accept a false proof.
Lean has come up here before, when Google DeepMind's AlphaProof Code verified Signal's crypto core. The same idea applies: you trust a small checker, not the author.
What is still open
A machine-checked proof is not the end of the story.
- The prize. The Verge reports that the Clay Mathematics Institute has not accepted the result. Under its rules a solution must be published and withstand at least two years of scrutiny, with general acceptance in the mathematics community.
- Understanding. The Lean check says the proof is valid. It does not explain why it works. The Lean statement itself looks forward to work that will explain the new ideas.
- The competing proof. Hours after the announcement, Stanford's Ravi Vakil shared an all-human draft proof of the Generalized Riemann Hypothesis by Alessandro Masullo. The Decoder reports that Vakil later said several people had found problems in it, and that he makes no claim about its correctness.
Why this matters if you ship software
I cannot judge the mathematics. What interests me is how the result was accepted.
A model produced an artefact far too large for any person to review. People agreed on a short, exact statement of what had to be true. Then independent tools checked the long output against that statement.
That is the same shape as agentic coding in client work. The agent writes more code than I can read line by line. What I can do is agree the acceptance cases with the client first, keep them short, and let the checks decide. I wrote about that habit in the 21-case test that decides whether a RAG chatbot ships. My tests are far weaker than a proof kernel, but the principle is the same.
My take
There is nothing to do with this today. I will watch for the human-readable version Alpöge has promised, and for whether this kind of formal checking gets cheap enough for ordinary software.
For my own work the lesson is modest. Before I let an agent run long, I will write down what must be true at the end, in a form a machine can check.
Quick answers
Did Claude prove the Riemann Hypothesis?
Anthropic mathematician Levent Alpöge says he discovered a proof of the Riemann Hypothesis working with Claude, and that Claude supplied key ideas. He released it on 20 November 2026 as a Lean library of 17 million lines.
Has the Claude Riemann Hypothesis proof been verified?
Yes, by machine. The Lean and Mathlib communities say the statement is correct, the library compiles, and several independent proof checkers accept the proof. The Clay Mathematics Institute has not accepted it.
Will the Riemann Hypothesis proof win the $1 million Millennium Prize?
Not yet. The Verge reports that Clay Mathematics Institute rules require a published solution to withstand at least two years of scrutiny and gain general acceptance before the Riemann Hypothesis prize can be considered.