The Claude-assisted Riemann hypothesis proof passes every machine check, and Anthropic has cut it from 17 million lines of Lean to 76,000
A week after Levent Alpöge released a 17-million-line Lean proof of the Riemann hypothesis, the Lean FRO and Mathlib Initiative have certified it, a Waterloo mathematician has replayed it through several independent kernels, and an Anthropic team has published a 76,000-line rewrite. No human has read the argument yet.
When Levent Alpöge announced on November 20, 2026 that he and Claude had proved the Riemann hypothesis, the only evidence was 17 million lines of Lean code and his word. We described it then as a claim nobody outside Anthropic had vouched for, and listed the checks that would settle it: does it build, is the theorem really Mathlib’s statement of the hypothesis, and what axioms does it use.
All three have now been answered, by people outside Anthropic, and the answers are yes, yes and only the standard ones. Between November 21 and November 26 the organizations that maintain Lean and its mathematics library certified the proof, a number theorist at the University of Waterloo published a detailed audit through several independent proof checkers, and an Anthropic team released a rewrite about 228 times shorter that passes the same checks. What still does not exist is a version a mathematician can read.
The Lean FRO and Mathlib Initiative certification
On November 21 the Lean FRO, the nonprofit that develops Lean, and the Mathlib Initiative, which stewards its main mathematics library, published a joint statement. Its central line is unusually direct for a formal-methods body: “We have full confidence that Alpöge’s proof of the Riemann Hypothesis is correct.”
The statement assesses the proof against four criteria the community had set out in advance, and the details are what give it weight:
- The statement is the right one. The final theorem is Mathlib’s own
RiemannHypothesis, a definition that predates the claim and that the statement says was “carefully vetted by experts” in Lean and number theory. This rules out the most common failure mode for a formal proof of a famous result: proving a private definition that only looks like the real thing. - It builds. Dozens of people reported compiling the library, which depends only on Mathlib.
- It proves exactly that statement. The community wrote its own file that imports only Mathlib and states the hypothesis, then used two separate tools,
comparatorandcon-leche --compare, to confirm that the theorem in Alpöge’s library is identical to it. - The proof is valid. An exported, inert copy of the proof was checked by Lean’s official kernel and by several independent checkers written in other languages, including
con-lecheandcon-ron, which the statement notes “come with a formal proof, relative to set theory.” In other words, two of the checkers have themselves been proved correct.
The certification covers the Riemann hypothesis only. The page does not mention the generalized form that Alpöge also claimed.
The Waterloo audit and what “GRH” turns out to mean
Michael Rubinstein, a number theorist at the University of Waterloo, published a separate set of checks with full logs. For the original release, his verification page reports:
- all 175,187 modules (17,374,215 lines) compiled with Lean v4.33.1 against Mathlib commit
0df444a3, with zero errors, finishing at 01:47 UTC on November 21, 3 hours 18 minutes after a distributed build started on shared university servers; #print axiomsforriemannHypothesisand the four other main theorems lists onlypropext,Classical.choiceandQuot.sound, the three axioms every ordinary Mathlib proof uses, so there is nosorryand no added assumption;- a full kernel replay accepted all 175,187 modules, and the independent
nanodachecker accepted 1,484,729 declarations with no errors, taking 48 minutes on 128 threads and 78 GB of memory.
Rubinstein’s pages also settle a scope question the announcement left open. The “GRH” in the release is the generalized Riemann hypothesis for Dirichlet L-functions, the family most often meant in analytic number theory and the one behind many conditional results about primes in arithmetic progressions. In his words, it “is not GRH for Dedekind zeta functions or for automorphic L-functions in general.” That is still an enormous result if correct, but it is narrower than some headlines implied. The ordinary Riemann hypothesis is the simplest case of it.
One disclosure matters for how much independence to credit: Rubinstein states that the checks were run by Claude Code, an AI agent, on his university compute allocation. The tools it ran (Lean, nanoda, the comparators) are deterministic and the logs are public, so anyone can rerun them, but the audit was not done by hand.
A 76,000-line rewrite from Anthropic
On November 25 Luke Sernau, an Anthropic researcher, posted grh-lean, described as “a shorter version, produced in collaboration with my colleagues at Anthropic, and Claude.” It is released under Apache 2.0 with Anthropic as copyright holder, which makes it the first artifact in this story that Anthropic itself has put its name to. We found no Anthropic research post or press release about the proof.
The repository has two editions that prove the same five theorems (the Riemann hypothesis, its restatement for the zeta function’s zeros, and three statements about Dirichlet L-functions):
grh/, about 300,000 lines, organized for reading, with aGUIDE.md;grh-compact/, about 76,000 lines.
Against 17,374,215 lines, the compact edition is roughly 228 times smaller. It needs Lean v4.35.0 and Mathlib commit 56a00585, and the README says it builds in one to two hours on 12 cores with 24 GB of memory, which puts independent verification within reach of an ordinary workstation rather than a cluster.
Rubinstein ran the compact edition through his pipeline too, with results dated November 26. All 794 modules compiled and replayed; a static scan found no axiom, sorry, native_decide, unsafe, extern or custom syntax; the axiom list is the same standard three; and six kernels (Lean’s default, a paranoid leanchecker, lean4lean, nanoda, con-leche and con-ron) accepted it. He notes one caveat: the paranoid comparator ran without its sandbox because the cluster blocks the bwrap tool it relies on, so “this run does not have the sandbox guarantee.” He also reports the theorem statements are identical to the original’s apart from blank lines.
The shrink matters for more than convenience. Alpöge said a human-readable version of the original would run past 250,000 pages and he expected the argument to be “massively simplified.” A 300,000-line edition built for reading is the first concrete step toward the thing mathematicians actually want, which is an argument they can follow.
What is settled and what is not
It is now very hard to argue that the Lean code does not prove the Riemann hypothesis as Mathlib states it. The statement has been matched by two tools, the axioms are clean, and multiple kernels, two with their own correctness proofs, accept the proof in both a 17-million-line and a 76,000-line form. The remaining doubt for a formal proof at this point is a bug in Lean’s foundations shared by every checker, or an error in Mathlib’s definitions of the zeta function itself, and both have been examined far more heavily than any single proof. Elliot Glazer, quoted by OfficeChai on November 20, put the chance it was a bug at under 1%, before most of these checks had run.
What is not settled is the mathematics as mathematicians understand it. The grh-lean README is blunt: “No mathematician has read it through, and no paper comes with it.” Rubinstein has posted a long explanatory write-up alongside his audit, but by his own description it reduces the argument to a list of hypotheses it does not itself prove, so it is a map of the proof rather than a human proof. Specialists in automorphic forms have not yet said whether the chain of theta lifts at the heart of the argument makes sense to them.
That gap has practical consequences. The Clay Mathematics Institute’s Millennium Prize rules require a solution to be published in a refereed journal and to have gained general acceptance in the mathematics community two years after publication. A certified Lean library is not a journal paper, and no precedent exists for how Clay would treat one.
Reactions have split along that line. Scott Aaronson, writing on his blog on November 25 about this proof and OpenAI’s recent complexity-theory claims, argued that Lean certificates make these results credible and that the view of AI as only recombining existing techniques is now “much less tenable.” Others have stressed that verification without understanding is a new and uncomfortable state for a field that treats proofs as explanations.
What to watch
- A readable proof. Whether Alpöge, Sernau’s team or someone working from the 300,000-line edition produces a paper-length argument, and whether experts in automorphic forms accept its key steps.
- An Anthropic account. The company has published the rewrite but not the model, compute or degree of human steering behind either proof, as it did for its August zeta-zeros result.
- Further shrinking. A 228-fold cut in under a week suggests the proof’s core may be much smaller still. The size of the smallest version will say a lot about how deep the new idea is.
- Beyond Dirichlet. Alpöge said he expects to reach broader forms of the hypothesis with more time. A formal proof for automorphic L-functions would be a separate and larger claim, and would need the same checks from scratch.
Get Insanely Good at AI
The book for developers who want to understand how AI actually works. LLMs, prompt engineering, RAG, AI agents, and production systems.
Keep Reading
How to Use Claude Across Excel and PowerPoint with Shared Context and Skills
Learn how to use Claude's shared Excel and PowerPoint context, Skills, and enterprise gateways for faster analyst workflows.
An Anthropic mathematician says he and Claude proved the Riemann hypothesis. All he has released is Lean code
Levent Alpöge announced on November 20 that he and Claude have a formalized proof of the Riemann hypothesis and its generalized form, published as 14 archive files of Lean with no paper. Nobody has independently verified it. Here is what the statement says and what checking it involves.
Alpöge and Buckmaster claim AI-aided blowup for Navier-Stokes with no external force, the version OpenAI's proof sidestepped
Hours after his Riemann claim on November 20, Anthropic's Levent Alpöge and NYU's Tristan Buckmaster posted a 79-page paper and a Lean formalization claiming finite-time blowup for the unforced 3D Navier-Stokes equations. The certificate that the proof depends on has not been released.
PSI says a non-public Anthropic model proved the Aaronson-Ambainis conjecture, with a full Lean check
Physical Superintelligence says its research system, running an unreleased Anthropic model, proved a central open problem in quantum query complexity by day three of a run. The 9,454-line Lean formalization uses no added axioms; independent review has only just started.
Claude Formalized Fermat's Last Theorem in Lean After 11 Days of Autonomous Work
Anthropic announced Claude produced a complete machine-checked Lean formalization of Fermat's Last Theorem after working largely autonomously for 11 days, generating verified proofs of 30,300 intermediate theorems.