
AI / ML topic Lessons from the Riemann Hypothesis Proof, and What It Means for You
In November 2026 a 17-million-line proof of math's most famous problem passed every machine check, and nobody can yet say why it works. What it took to trust it, and what that teaches anyone handing work to AI agents.
· ml, agents, verification, explainer
On November 20, 2026, the most famous open problem in mathematics got a proof too long for anyone to read. Levent Alpöge, a mathematician at Anthropic, posted a four-page note. In it he wrote: “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis.” The proof itself was about 17 million lines of code, and the next day the groups behind the software that checked it said they had “full confidence” it’s correct. A result this central that a machine trusts and no person has followed is new, even for mathematics.
That gap, between knowing a result is right and knowing why, is where anyone handing work to an now lives. The fullest human explanation so far rests on thirteen steps it doesn’t prove, leaning on the code for them. What made the proof trustworthy anyway is the part worth copying.
Primes thin out, and the zeros say how
look random up close and orderly from far away. Near a large number n, about one number in ln(n) is prime: that’s the prime number theorem. The real count wanders above and below that smooth estimate, and the wandering is where the mystery lives.
In 1859, Bernhard Riemann tied the wandering to one function, the . Its are the inputs where it equals zero, and each is a : a point with a left-to-right real part and a height. The , proved in this form by von Mangoldt in 1895, rebuilds the primes from those zeros. Start from the smooth estimate, then add one wave per zero:
The zeros carry everything about where the primes fall, and their positions set how far the count can stray. Riemann guessed that every non-trivial zero sits on one vertical line, the , where the real part is exactly ½. That guess is the . Each wave grows like x raised to its zero’s real part, so zeros on the line at ½ keep every wave, and every stray, as small as it can be.
Twelve trillion checks aren’t a proof
Checking zeros one by one can’t settle the question, however many you check. Computers have checked the first 12 trillion or so, and every one sits on the line. But there are infinitely many zeros, and a single one off the line anywhere would break the hypothesis. It’s the load-test problem: a test that passes at every traffic level you tried says nothing about the level you didn’t.
So for decades, mathematicians proved floors instead: a share of the zeros that must sit on the line. Levinson passed one third in 1974, and Conrey passed two fifths in 1989 (Lamzouri’s history). In August 2026, Claude itself raised the floor from 41.6% to more than two thirds, in a proof that Alpöge and Ralph Furman checked. A floor is progress you can prove, but even 99% would leave room for the one zero that breaks everything.
What a proof checker checks
The November proof claims every zero at once, so no pile of examples could back it, only a checked argument. It’s written in , a . In Lean a proof is code, and a small program called the accepts each step only if it follows from earlier ones. Alpöge’s release, which also covers the generalized hypothesis, ran to 175,187 files. That’s far past what any referee could read, so the trust has to come from somewhere other than reading.
Before you read on: if nobody can read 17 million lines, what would you check instead?
The statement, then the checker
You check the small things those lines hang on, starting with the . A proof proves exactly what its statement says and nothing more. Here the statement was ’s own definition of the hypothesis, added and vetted long before this proof existed. Two separate tools confirmed that the proof’s theorem matches it. Whatever the 17 million lines do, then, they prove the real hypothesis and not a convenient cousin.
Next comes the checker, and one isn’t enough. The exported proof passed Lean’s kernel and several independent checkers written in other languages, reading it as an inert file so nothing inside could run. Independent checks also found it leans on only Lean’s three standard (Rubinstein’s guide), so it never assumes its own answer. To slip through, a flaw would have to fool every one of these at once. Try to get one past them:
- Inert exportRead as a data file. Nothing in it runs. passed
- Independent kernelsSeparate checkers replay every step. passed
- Axiom auditOnly Lean's three standard axioms. passed
- Statement matchWord for word Mathlib's definition. passed
- Understood by a personNo tool checks this.
Three proofs, two kinds of trust
Passing every check makes a proof trustworthy, which isn’t the same as understood, and this autumn produced three proofs that sit at different points between the two.
Alpöge’s proof has the first kind and not yet the second. Luke Sernau, with colleagues at Anthropic and Claude, cut it to about 76,000 lines in a compact edition within five days, and mathematicians are still writing the human version. Shorter, it’s still something you trust rather than follow.
OpenAI’s proof of a weaker claim this autumn, the quasi-Riemann hypothesis, holds both kinds in two documents. It pins every zero inside a strip narrower than 0 to 1. A 199-page version was checked in Lean, and experts largely agree that a 49-page version is right.
Alessandro Masullo’s 940-page proof of the generalized hypothesis is all human and still a draft. Brian Conrad has read it for months, but Masullo himself says it isn’t fit for submission yet, and its final chapter holds placeholders where the theorem should be. No machine has checked it, so for now it has neither kind of trust in full.
Your agents’ work belongs in the top-right corner, and getting it there takes a checker and a person.
Give your agents a checker
The checker half carries straight over to agents, and none of it needs math.
Write the statement first, and keep it out of the agent’s hands. Mathlib’s definition existed before the proof, so the proof couldn’t quietly redefine success. Your version is an acceptance test, a policy rule or an , written by someone other than the agent. An agent that writes its own definition of done will always be done.
Check with more than one checker, and treat the output as data. Several kernels in several languages make it unlikely that one checker’s bug decides the verdict, and the inert export kept the proof from running during its own trial. Never judge an agent’s work by running it somewhere it could do damage. The safest review is one the work under review can’t touch.
Let it be wrong cheaply
A checker also changes what failure costs. Alpöge worked back and forth with Claude for six weeks, and Claude’s first attempt at the problem in August produced 650 ideas, none of which worked. With a strict checker, a wrong attempt costs only its compute. That’s what makes it safe to hand an agent a hard problem: its failures stop at the checker.
Someone still has to understand it
Checks get a result trusted, and someone still has to own it. Seventeen million lines that pass every check are still debt if no one can explain them. Shrinking them took a separate effort, and the readable account is still being written. When an agent hands you a correct change that nobody understands, budget for the rewrite and for a person who can explain it.
Explaining is part of shipping, too. Number theorist Andrew Granville said Alpöge should have prepared a clearer write-up before announcing. A result that arrives without its explanation hands the hardest work to everyone else.
So what does it mean for you?
A 17-million-line proof earned trust in a day because of what surrounded it: a statement written in advance, and several checkers that read the proof as inert data. Give your agents the same. Write down what “correct” means before they start, check their work with tools they didn’t build, and keep a person who can explain the result. The lines were certified in a day; the explanation behind the four-page note is still being written.
References & further reading
In the order the post cites them.
Mathematicians astounded by AI and human-written proofs of iconic Riemann hypothesis
Alpöge's four-page announcement and its one-line claim, and Andrew Granville's view that a clearer write-up should have come first.
Lean verification of the Riemann Hypothesis
The four checks behind "full confidence": Mathlib's vetted statement, a clean compile, two tools matching the theorem to that statement, and several independent checkers run on an inert export.
Alpöge/Claude proof of the Generalized Riemann Hypothesis
The 175,187-file Lean release, Luke Sernau's 25 November rewrite (about 76,000 lines compact, 300,000 readable), independent checks showing only Lean's three standard axioms, and a human explanation that reduces the argument to thirteen hypotheses it doesn't prove, leaning on the Lean code.
Prime number theorem
Near a large number n, roughly one number in ln(n) is prime.
Chebyshev function
The weighted prime count the demo draws, and von Mangoldt's 1895 explicit formula that rebuilds it from the zeros.
Riemann hypothesis
The statement, the critical strip, what the hypothesis says about the error in counting primes, and Platt and Trudgian's check of the first 12 trillion or so zeros.
Zeros of the Riemann zeta function
More than 100 billion zeros above the real axis, all with real part ½. The zeros in the demo match these.
A new proof that more than 2/3 of the zeros of the Riemann zeta function are simple and on the critical line
The floor's history (Selberg 1942, Levinson's third in 1974, Conrey's two fifths in 1989) and an independent proof of the two-thirds result.
Learning more about Claude's mathematical capabilities
Claude's own proof that raised the floor from 41.6% to more than two thirds, checked by Alpöge and Furman, and a first attempt that produced 650 ideas, none of which worked.
AI Proved the Quasi-Riemann Hypothesis. What Happens Now?
OpenAI's weaker result in two versions, a 199-page one checked in Lean and a 49-page one that experts largely agree is right.
Formalizing zeta and L-functions in Lean
The project that added the zeta function and a formal statement of the Riemann hypothesis to Mathlib, the definition the proof was matched against.
Transformation (running updates)
How the Lean proof was compiled and checked in its first days, and Alessandro Masullo's 940-page human proof of the generalized hypothesis, reviewed by Brian Conrad.
Masullo on the Riemann Hypothesis
Masullo's own word that the draft isn't fit for submission, and the placeholders in the chapter where the generalized hypothesis should be deduced.
Math's holy grail, the Riemann hypothesis, appears solved with AI's help
Alpöge worked back and forth with Claude for six weeks, and Claude checked its own work in Lean as it went.