Certified Correct, Not Yet Explained
A 17 million line proof of the Riemann Hypothesis was certified a day after release. What a proof assistant checks, and what checked does not mean.
A proof of the Riemann Hypothesis arrived as 17 million lines of code and no paper. A day later the organisations that support the checker certified it. What a proof assistant checks, why this one was checked so many times, and what 'checked' leaves out.
Prefer it read to you? Zara does voices now (11 min).
Zara is a character and this voice is synthesized. Mathieu Kessler, the human behind Talk Nerdy to Me, writes and fact-checks every word.
You follow the blue line for forty minutes through a city you have never driven in. Left, left again, second exit, down a street that looked like a loading bay and was not. Then the phone says you have arrived, and you have. Right building, right number on the gate.
Now draw the route. You can manage the last roundabout. You are completely sure of the address and could not sketch one street of how you reached it.
Mathematics has been parked outside that gate since Friday 20 November 2026. That day Levent Alpöge released a proof of the Riemann Hypothesis, the problem his own announcement describes as the classic one in number theory. He released it as 17 million lines of code and no paper. The code is written for Lean, which is a proof assistant: software that checks a mathematical argument one step at a time and is built to refuse anything that does not follow.
A day later a joint statement appeared on the Lean community blog. It carries the names of two organisations that support Lean and its mathematics library, the Lean FRO and the Mathlib Initiative. It says: "We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct."
The statement ends:
We look forward to all the activity in the mathematical community that will help explain the new ideas in this proof.
The checkers said yes, and the explaining is filed under things to look forward to. Verified and understood are different words, and this is the week the distance between them got 17 million lines long.
What a proof assistant is for
A proof assistant treats a proof the way a compiler treats a program. The theorem and every step toward it are written in a formal language, and each step is accepted only if it follows from the rules and from what is already established. Nothing gets waved through because the author is eminent or the reader is tired. Mathlib is Lean's shared library of mathematics already written this way.
Assistant is a modest word for it. The job that matters this week is the refusing: turning away any step that does not follow.
By Alpöge's own account he found the proof working with an AI model, Claude, and he is publishing the whole argument before he has mastered a large stretch of the mathematics around it. He writes that posting an enormous unreadable write-up would be inappropriate. A footnote says the one he generated to amuse himself passed 250,000 pages. He also says he intends to understand the argument and write it properly.
Nobody can have read it end to end yet. At one line a second, without sleep, 17 million lines would take more than six months, and the code has been public for days. Machines have read it, several times.
The hypothesis gets one sentence here: it asks for the best possible control on how many prime numbers there are of a given size. You will also see two names. The statement that was certified is the Riemann Hypothesis. The same library also proves a generalized version, covering a wider family called Dirichlet L-functions, and Terence Tao, for one, describes the release as a proof of the Generalized Riemann Hypothesis.
Four questions, four ways to be wrong
Eight days before the release, the mathematician Kevin Buzzard published a guide, on the Xena project blog, to reading any claim that a theorem is true because Lean checked it. He splits it into four questions. Each can fail by itself, and the joint statement answers them one at a time.
One. Does the formal statement say what the real one says? Code states a theorem before it proves it, and the statement can be quietly wrong. Buzzard's example is two lines that look like Fermat's Last Theorem and are trivially false, because in Lean the natural numbers include zero. Here the statement is the one already in Mathlib, and the joint statement says it was vetted by experts in Lean and in number theory.
Two. Does the code compile? Meaning: does Lean get through every file without an error. That sounds like the easy question until the code runs to 175,187 modules. The joint statement says dozens of people reported a clean compile, reproducing the same raw output file.
Three. Does the code prove that statement, and not a lookalike? Somewhere in millions of lines nobody wants to read, a file could slip in a new axiom announcing that the theorem is true, or redefine a symbol. Buzzard's illustration redefines raising to a power so that every such expression equals 37. The defence is to put the statement alone in a small file that imports only Mathlib, then have a tool confirm that the theorem proved in the enormous untrusted library is identical to it. Two independent tools did that, and both reported an exact match. A public verification page kept by Andrew Sutherland at MIT adds that the headline theorems depend only on the three standard axioms.
Four. Does the proof exploit a bug in the checker? The part of a proof assistant that makes the final call is a small core called the kernel. A hole in the kernel is a hole a false proof could walk through. The worry is not hypothetical: Buzzard notes a soundness bug in Lean's kernel that was fixed four hours after it was discovered.
One checker is a single point of failure
Nobody answers question four by promising that the kernel is perfect. They stop depending on one kernel.
So the proof was exported: written out as one flat file of raw proof data, about 61.6 gigabytes of it. The joint statement calls the export inert: the checks ran on that file, out of reach of any malicious code hidden in the source.
Then that file went to one checker after another. The figures are from the MIT page as it stood on 24 November 2026. Lean's default kernel accepted the export after 48 hours and 3 minutes on a single thread. An independent kernel written in Rust accepted it in 27 minutes and 42 seconds on 80 threads. Two more checkers, the joint statement says, come with a formal proof, relative to set theory, that they cannot accept a false proof, and third parties contributed others written in different programming languages. A rebuild on a separate machine, sandboxed with no network, produced an export identical to the published one down to the last byte.
It is the logic of asking several strangers for directions. One checker with a bug is plausible. Several, written by different people in different languages, all letting the same false proof through, is a much taller order.
Three caveats. When I read the verification page on 24 November, one end-to-end run of the comparison tool was still in progress. The certificate comes from the Lean FRO and the Mathlib Initiative, not from mathematics at large. The independent checkers and the strangers' rebuilds are the part other people can repeat, and have. And a commenter under Buzzard's post gave the general condition in nine words: "there are never any absolute guarantees in this business".
What checked does not give you
Everything above answers one question: is there a valid chain of steps from the standard axioms to this statement, as Mathlib defines it? As far as anyone has managed to test, yes.
It does not tell you why. A proof assistant confirms that each step follows. It has no view on which steps were the idea and which were plumbing, and it treats the line that makes everything work exactly like the lines on either side of it.
And it does not give you a field that has absorbed the result. Tao writes that he expects digesting it to take a while, and notes that this time there is at least a human author to ask. He adds that, from very initial analysis, the strategy appears to draw on the full power of modern work in the Langlands program and arithmetic geometry. That names the neighbourhood, not yet the ideas.
The other proof from the same day
A second announcement landed on 20 November, and the two are easy to blend. The mathematician Ravi Vakil says he hurriedly posted Alessandro Maria Masullo's proposed proof of the generalized hypothesis while the draft was still mid-revision. By Vakil's account it was written entirely by people, without AI. About eight hours later he added that several people had reported problems in it, found with the help of various AI models, and that, as usual, all of them must be resolved to the community's satisfaction before it would be accepted as true.
That is how a readable proof is supposed to be treated: people read it, with AI help in this case, and reported problems within hours. The two efforts are separate. One is a document people could start reading the same day, and did. The other is code that machines have accepted and that, by the arithmetic above, no person has had time to read through.
What to do with the word verified
The useful part, for anyone who is not a number theorist, is a habit. When something is described as machine-verified, ask in order. Verified against which statement, and who checked that the statement says what it should? Checked by one program, or by several written independently? Run by the author, or reproduced by strangers? Then the one no machine can take: who can explain it?
Software has a small version of this. A green test suite says the code did what the tests asked. It does not tell you why the code works, and that feels fine until the day somebody has to change it.
This release answered the first three of those in public, with files and logs anyone can inspect. The last one is still open.
So the phone says you have arrived, and so do several others, built by different people.
The address is very probably right. The route is 17 million lines long, and the person who took it says he intends to go back and learn the streets.
Sources
Lean FRO and Mathlib Initiative, "Lean verification of the Riemann Hypothesis", joint statement, Lean community blog, 21 November 2026
https://leanprover-community.github.io/blog/posts/riemann-hypothesis/
Levent Alpöge, announcement (PDF), 20 November 2026
https://alpo.ge/remark.pdf
Andrew Sutherland (MIT), "Verification files for the Lean proof of the Riemann Hypothesis", page last updated 24 November 2026
https://math.mit.edu/~drew/grh/
Kevin Buzzard, "...and the proof is checked in Lean", Xena project blog, 12 November 2026
https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/
Terence Tao, "What's new", 20 November 2026
https://terrytao.wordpress.com/2026/11/20/unforced-euler-singularity-unforced-navier-stokes-singularity-and-the-generalized-riemann-hypothesis/
Ravi Vakil, Math 216 blog, 20 November 2026, updated 22 November
https://math216.wordpress.com/2026/11/20/hurried-announcement-alessandro-masullo-grh/
More Where This Came From
Plain-language translations of the machinery and the money behind the tech headlines. No hype, no vendor agenda, and a standing habit of saying what the evidence does not cover.
Related Posts
Everybody Built a Robot Shopper. Nobody Agreed Who Has to Let It In.
In September the web's two answers to the robot shopper were visible at the same time. Shopify's default enrols merchants in AI channels that do not exist yet. Amazon blocked Meta's agent and then said why. The agent, in a test published on 9 September, could not order a pizza. In another, published on 28 September, a reporter booked a table through it, after handing over login information.
The Spacecraft That Will Ignore Its Own AI
AstroForge is about to put a transformer model on a spacecraft and then ignore everything it says. That is called shadow mode, it is the honest way to test something you cannot afford to get wrong, and there is exactly one thing it can never prove.
The Photo That Can Prove It Is a Photo
Apple's new iPhones can sign a photo inside the camera sensor, an industry coalition prefers a label that travels with the file, and two hobbyists hid the seal in the pixels. All three can prove where a picture came from. None of them can say what was in front of the lens.