Riemann Hypothesis Proof With Claude, Checked in Lean (Nov 2026)
Levent Alpöge says he found a Riemann Hypothesis proof working with Claude. Lean's community certified it on 21 Nov 2026. What happened and how it was checked.

On 20 Nov 2026 the mathematician Levent Alpöge announced a proof of the Riemann Hypothesis that he says he found “working with Claude”, presented only as Lean code. On 21 Nov the Lean and Mathlib communities wrote: “We have full confidence that Alpöge’s proof of the Riemann Hypothesis is correct.”
If you run Claude yourself, Munder Difflin is free and open source: a desktop app that runs a team of AI agents for all kinds of knowledge work, coding included, on your own computer. It runs engines such as Claude Code, Codex and Gemini CLI. People use it to run long Claude Code jobs on their own computer or in the Cloud Office, where agents run in the cloud, always on, even with your computer off. The install guide covers setup.
What happened with the Riemann Hypothesis proof?
Alpöge’s undated note makes the claim. “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis,” it says, and “the method easily extends much further, resolving the so-called Generalized Riemann Hypothesis”, or GRH. The Lean and MIT pages date it to 20 Nov 2026.
Terence Tao wrote on 20 Nov 2026 that Alpöge, “using an internal AI model, has generated an (enormous) Lean-only proof of the Generalized Riemann Hypothesis.” Tao also lists two fluid results. Alpöge, Tristan Buckmaster and Matei Coiculescu, “with heavy AI assistance”, wrote “a human-readable proof” of finite time blowup for the “unforced incompressible Euler equations in three dimensions”, formalized in Lean. Alpöge and Buckmaster, “again with heavy AI usage”, generated one for the Navier Stokes equations, “again with a Lean formalization”. Tao calls that paper “technically human-readable” and says “more work needs to be done to create a proper, professionally written proof”.
Scott Aaronson titled his post of 20 Nov “The stochastic parrots have apparently proved the Riemann Hypothesis”. On 22 Nov, Hacker News shows 2,882 points for “Levent Alpöge claims proof of the Generalized Riemann Hypothesis”. Our brief of 21 Nov covered the first reports.
What is the Riemann Hypothesis?
The Riemann Hypothesis is a question about how prime numbers are spread out. Alpöge’s note says: “It asks for optimal control on the count of prime numbers of a given size.” Wikipedia’s lead, read 22 Nov 2026, says it was first posed in 1859 by Bernhard Riemann and “implies bounds on the distribution of prime numbers.”

What did Claude do, in Alpöge’s words?
By his account, Claude worked with him on both the proof and its Lean code. In his words, “this time Claude far outpaced me near the finish line.” He adds: “I guided us to the right situation analogous to that toy setting, and then Claude began to leave me in awe.”
“Claude and I have also formalized the arguments without assumptions,” the note says. Formalized means written as Lean code, which programs can check.
He gives “a rough timeline Claude provided after a thorough search”, running from 6 Oct 2026 to its last line, “11/16/26: GRH”. Tao writes that the strategy of proof, “from very initial analysis”, “appears to use the full power of modern developments on the Langlands program and arithmetic geometry”.
Why Lean only? He writes that it would be “obviously inappropriate to attempt to post some massive unreadable travesty”, so “I decided to only present Lean.” In a footnote he writes that he hit 250,000+ pages, and that Claude called it the GRH “book”. He calls the argument “incredibly long at the moment” and says he will do his best “to write it properly”.
How was the Riemann Hypothesis proof checked?
In Lean, by people and programs: the Lean and Mathlib communities checked it, and so did Andrew Sutherland at MIT.
The joint statement of the Lean and Mathlib communities, posted 21 Nov 2026 at 13:55 UTC, describes “a Lean library comprising 17 million lines of code” and says: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.” It says four criteria “are all satisfied”:
- The statement is Mathlib’s own, “carefully vetted by experts in Lean and number theory”.
- The library compiles: “dozens of people have reported correct compilation”.
- Two independent tools confirm the code proves exactly that statement.
- The exported proof “has been checked by several proof checkers, including Lean’s official kernel”. Two, con-leche and con-ron, “come with a formal proof, relative to set theory, that they cannot accept a false proof”.
Sutherland’s MIT page says “checks run with Claude Code”. As of its last update, 04:35 UTC on 22 Nov 2026, all 175,187 modules compile, and two independently written kernels, nanoda and con-leche, accept the full exported proof, which is 61,570,595,788 bytes. Two checks were still running: the Lean kernel, in its default and paranoid modes, on the export (“no verdict yet”), and an end to end lake comparator run.
Its GRH checks cover Dirichlet L-functions; “automorphic L-functions in general are not among the statements that were checked.” It adds that a passing check “relies on those kernels and on Mathlib’s definitions being what they are intended to be.”

What about the other GRH proof announced the same day?
A separate proposed proof of GRH, by Alessandro Maria Masullo, appeared on 20 Nov 2026 in a post by Ravi Vakil, who wrote: “It is all human, with no AI.”
About 8 hours later Vakil added that people had reported problems, “identified with the assistance of different AI models”, and that “all issues need to be resolved to the satisfaction of the community before this proof would be accepted as true.” He also wrote: “I make no claim as to the correctness of the proof strategy.”

What does the Riemann Hypothesis proof mean for AI agents?
Our view: this is long running AI work checked largely by machines. Three of the Lean community’s four criteria rest on programs that ran, and the MIT page lists “checks run with Claude Code”. We think that pairing, a long job plus an independent automatic check, is worth copying in everyday agent work. For long Claude Code jobs, see how to use Claude Code and Claude Code automation while you sleep.
Riemann Hypothesis proof at a glance, checked 22 Nov 2026
| Riemann Hypothesis proof | |
|---|---|
| Announced | 20 Nov 2026, per the Lean and MIT pages |
| Made with | Claude, in Alpöge’s words; “an internal AI model”, in Tao’s |
| Form | Lean only; “17 million lines of code”, per the Lean community |
| MIT page checked | The Riemann Hypothesis, and GRH for Dirichlet L-functions |
| Lean community | Certified on 21 Nov 2026 at 13:55 UTC |
| MIT checks | Run with Claude Code; 175,187 modules compile; nanoda and con-leche accept |
| Still running | Lean kernel on the export, 04:35 UTC on 22 Nov 2026 |
| Written proof | Alpöge says he will do his best “to write it properly” |
FAQ
Has the Riemann Hypothesis been proved?
Levent Alpöge announced a proof, and the Lean and Mathlib communities certified it. Their statement of 21 Nov 2026 says "We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct." For now Alpöge presents it only as Lean code.
What did Claude do in the Riemann Hypothesis proof?
In Alpöge's words: "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis." He writes that "Claude far outpaced me near the finish line" and that "Claude and I have also formalized the arguments without assumptions." Terence Tao describes Alpöge as "using an internal AI model".
How was the Riemann Hypothesis proof checked?
In Lean, by people and programs. The Lean community statement of 21 Nov 2026 says experts vetted the statement and several proof checkers, including Lean's official kernel, checked the exported proof. Andrew Sutherland's MIT page, with "checks run with Claude Code", showed at 04:35 UTC on 22 Nov 2026 the nanoda and con-leche kernels accepting the export and the Lean kernel on the export still running.
What is the Riemann Hypothesis?
It is a question about how prime numbers are spread out. Alpöge's note says "It asks for optimal control on the count of prime numbers of a given size." Wikipedia's lead, read 22 Nov 2026, says it was first posed in 1859 by Bernhard Riemann.
Was there a second proof of GRH on 20 Nov 2026?
Ravi Vakil posted a separate proposed proof by Alessandro Maria Masullo that day and called it "all human, with no AI". About 8 hours later he wrote that people had reported problems "identified with the assistance of different AI models", and that "all issues need to be resolved to the satisfaction of the community before this proof would be accepted as true."