A machine-checked proof of the Riemann Hypothesis, written with an AI model, passes the Lean community's checks; no human-readable proof yet
In short
- On 20 November 2026 the mathematician Levent Alpöge released a proof of the Riemann Hypothesis written entirely in Lean, a language whose checker accepts only valid logic. In his note he says he found it "working with Claude", an AI model.
- On 21 November the Lean and Mathlib communities issued a joint statement certifying that the theorem proved is Mathlib's own statement of the Riemann Hypothesis, that the 17-million-line library compiles, and that the exported proof passes several independent proof checkers.
- Andrew Sutherland (MIT) logs the checks: as of 21 November, 12:55 UTC, all 175,187 modules compiled with zero errors and two independent checkers accepted the full proof. Some long runs were still going.
- No human-readable proof has been written, read or peer reviewed yet.
What was released
Alpöge's announcement is a four-page note. "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis," he writes, adding that the method extends to the Generalized Riemann Hypothesis. The proof is a Lean library posted in 14 parts on his website. Calling it inappropriate to post a "massive unreadable" machine write-up, he writes, "I decided to only present Lean."
His timeline runs from 6 October to 16 November 2026; he warns that parts of his description paraphrase an AI summary "which might make zero sense."
What the Riemann Hypothesis says (our explanation)
The Riemann zeta function ζ(s) takes a complex number s and returns another. In 1859 Bernhard Riemann linked the places where ζ equals zero to how prime numbers are spread among the whole numbers. Some zeros are easy to find, at −2, −4, −6 and so on. The hypothesis says every other zero lies exactly on one vertical line, where the real part of s is 1/2: the "critical line." Alpöge's note puts it as "optimal control on the count of prime numbers of a given size." Until now, no accepted proof existed.
Mathlib, Lean's shared mathematics library, already contains a vetted definition named RiemannHypothesis. It says that every zero of ζ other than −2, −4, −6, … has real part 1/2 (s = 1, the function's pole, is set aside). That is the target Alpöge's library proves, according to the checks below.
What a Lean check guarantees, and what it does not (our explanation)
Lean is a proof assistant. Every step must reduce to rules that a small program, the kernel, checks. If the kernel accepts, the conclusion follows from the axioms, so no human needs to read the 17 million lines. The Xena Project's 12 November post sets four tests for any claim that something is "checked in Lean", and the joint statement says all four are met:
The statement check matters most: a correct proof of a wrongly written statement proves the wrong thing. The Xena post shows a miswritten Fermat's Last Theorem that still compiles as a statement. A check also rests on its foundations. Sutherland's page says the five headline theorems use only Lean's three standard axioms (propext, Classical.choice, Quot.sound). It adds that a passing check "relies on those kernels and on Mathlib's definitions being what they are intended to be."
The checks ran on "an inert export of the proof," out of reach of any malicious code in the sources, the statement adds.
The checks, as of 21 November 12:55 UTC
The exported proof is a 7.7 GB compressed file that unpacks to 61,570,595,788 bytes (about 61.6 GB, our rounding); the page lists its hashes so anyone can repeat the check. It notes the build ran on cloud machines without a sandbox, and that the checks were run with Claude Code.
One difference between the sources: the joint statement lists Lean's official kernel and con-ron among the checkers the export passed. On Sutherland's page, the Lean kernels' run on the full export was still going, and the con-leche and con-ron versions bundled with Lean v4.36.0 "declined" the proof. The page calls this "not a rejection": those older programs cannot read one type of definition the proof uses. The joint statement draws on the whole community's runs.
What exactly was proved
Sutherland's page lists five theorems. Two are the Riemann Hypothesis itself, in two wordings. Three extend it to every Dirichlet L-function, cousins of ζ that count primes in arithmetic progressions: the Generalized Riemann Hypothesis for this family. Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general "are not among the statements that were checked," the page says.
As a cross-check that does not rely on Mathlib's definition of ζ, Sutherland combined the proof with a separate formalization and obtained Robin's inequality for every n above 5040, a statement about sums of divisors with no zeta function in it. con-leche and nanoda accepted it.
Terms in plain English
- Mathlib: Lean's community-maintained mathematics library, reviewed by human experts.
- Kernel: the small program that accepts or rejects each proof step (our wording).
- Export: the compiled proof written out as data, so other checkers can read it without running the original code.
Where things stand
The joint statement, endorsed by the Lean FRO and the Mathlib Initiative, says the communities "have full confidence" that the proof is correct, and "look forward to all the activity in the mathematical community that will help explain the new ideas in this proof." No human-readable proof has yet been read and checked by mathematicians or peer reviewed. Alpöge writes that he intends "to write it properly," and expects shorter proofs to follow. Sutherland's page says it will be updated as the remaining checks finish.
Sources
- Announcement note, Levent Alpöge, 20 November 2026
- Lean verification of the Riemann Hypothesis, joint statement by the Lean and Mathlib communities, 21 November 2026
- Verification files for the Lean proof of the Riemann Hypothesis, Andrew Sutherland, MIT, updated 21 November 2026 12:55 UTC
- "…and the proof is checked in Lean", Xena Project, 12 November 2026
- Coverage: Nature news
- Cover: Portrait of Bernhard Riemann, 1863, unidentified photographer, Smithsonian Institution (Dibner Library), no known copyright restrictions, via Wikimedia Commons
Sources
- Lean verification of the Riemann Hypothesis
- Verification files for the Lean proof of the Riemann Hypothesis
- Announcement note (4 pp.)
- “…and the proof is checked in Lean”
- https://www.nature.com/articles/d41586-026-03812-7
More from Number Ninjas
- Bound on solving degree-n polynomials drops to about n − √n
- Computer proof extends Conway's thrackle conjecture to 16 vertices
- Audit of OpenAI's Nagata conjecture proof finds it sound, code messy
- 132 main theorems from four AI-found lattice papers come machine-checked in Lean 4, with the code to rerun the check, the release says
- IISc's Mahesh Kakde Wins the 2026 Ramanujan Prize for Work on Iwasawa Theory and the Brumer-Stark Conjecture