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:

Live · rebuilding the primes from the zeros
A staircase that climbs at every prime up to 50, and a curve built from 100 zeros of the zeta function that follows it closely.
100 zeros
Real: the first 100 zeros and Riemann's explicit formula, in von Mangoldt's form. The staircase climbs at every prime (and prime power) up to 50. No zeros gives a straight line; each zero adds one wave.

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:

Live · try to sneak a proof past the checkers
Every non-trivial zero has real part ½.
  1. Inert exportRead as a data file. Nothing in it runs. passed
  2. Independent kernelsSeparate checkers replay every step. passed
  3. Axiom auditOnly Lean's three standard axioms. passed
  4. Statement matchWord for word Mathlib's definition. passed
  5. Understood by a personNo tool checks this.
CertifiedEvery gate passes, and it's the real theorem.
A sketch of the checks behind the 21 November certification and the independent checks that followed, not a real Lean run. The 12 blocks stand in for 17 million lines.

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.

Map · two kinds of trust Where each proof sits is my judgement from the sources below, as of November 28, 2026.
Alpöge and Claude's proof is checked by machine but not yet understood; OpenAI's quasi-Riemann proof has a checked version and an understood version; Masullo's proof is read by people but not machine-checked.understood by people →checked by machine →Where your agents' work should landAlpöge and ClaudeRiemann hypothesis, 17M linesOpenAI, 199 pagesquasi-RH, checked in LeanOpenAI, 49 pagesquasi-RH, read by expertsMasullogeneralized RH, 940-page draft

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.

Certified02 / 14

Lean verification of the Riemann Hypothesis

Lean FRO and Mathlib Initiative · 21 November 2026

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.

Guide03 / 14

Alpöge/Claude proof of the Generalized Riemann Hypothesis

Michael Rubinstein · University of Waterloo · November 2026

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.

Background04 / 14

Prime number theorem

Wikipedia

Near a large number n, roughly one number in ln(n) is prime.

Background05 / 14

Chebyshev function

Wikipedia

The weighted prime count the demo draws, and von Mangoldt's 1895 explicit formula that rebuilds it from the zeros.

Background06 / 14

Riemann hypothesis

Wikipedia

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.

The floor09 / 14

Learning more about Claude's mathematical capabilities

Anthropic · 10 August 2026

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.

Mathlib11 / 14

Formalizing zeta and L-functions in Lean

David Loeffler and Michael Stoll · Annals of Formalized Mathematics · 2025

The project that added the zeta function and a formal statement of the Riemann hypothesis to Mathlib, the definition the proof was matched against.

The proofs12 / 14

Transformation (running updates)

Quanta Magazine · November 2026

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.

The draft13 / 14

Masullo on the Riemann Hypothesis

John Baez · Azimuth · 22 November 2026

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.