
transcript
show notes
This week we talk about the Riemann hypothesis, machine-checked proofs, and what happens when an AI helps solve a problem before anyone can fully explain the solution.
We also discuss prime numbers, competing math claims, and concerns about where this research could lead next.
Recommended Book: The Castle by Jon Ronson
Transcript
On November 20, a mathematician named Levent Alpöge announced that he, working with the AI system Claude, had found a proof of the Riemann hypothesis, one of the most famous unsolved problems in mathematics.
He released the proof as about seventeen million lines of code written for a system called Lean. At the time, he didn’t have a conventional paper that walked other mathematicians through the argument. He said he was still working to understand parts of it well enough to explain them.
If that had been the end of the story, this would have been a striking claim, but still just a claim. Mathematicians receive proposed solutions to famous problems all the time, and the vast majority contain errors.
In this case, though, specialists checked the code. The organizations behind Lean and its main mathematics library said they were confident that the proof was valid, that it proved the actual Riemann hypothesis, and that independent systems had reached the same conclusion. A University of Waterloo mathematician separately checked the original proof and, a few days later, also approved a much shorter rewrite. Those checks also passed.
That leaves us in an unusual position: the proof has been checked extensively, while the mathematical ideas it contains are still being pulled apart and translated into a form human beings, our best and brightest math geniuses, can actually discuss and understand.
What I’d like to talk about today is what, exactly, has been established, why the Riemann hypothesis matters, and what changes when verifying a result and understanding it, don’t happen at the same time.
—
Prime numbers are numbers, like two, three, five, and seven, that can only be divided by themselves and by one.
They’re fundamental building blocks of arithmetic, because every whole number greater than one can be made by multiplying primes together. But they don’t turn up at regular intervals. Sometimes two primes are close together; sometimes there’s a long stretch without one.
Mathematicians have a good sense of how common primes are, on average, as numbers get larger. The Riemann hypothesis is focused on how far the actual count of primes can deviate from that average.
And it does this in an indirect way, through the behavior of a mathematical object called the zeta function. The hypothesis says that all of this function’s interesting zeros—all the places where its output is zero, apart from a known set of exceptions—fall on one particular line, if you plot them all on a graph.
That may initially sound distinct from the process of counting primes, but Riemann found a deep connection between those zeros and the distribution of prime numbers. If the zeros all fall where the hypothesis says they do, mathematicians can place a much tighter limit on how irregular the primes’ distribution can be.
The hypothesis was proposed in 1859. Vast numbers of zeros have since been checked, and those that have been checked have behaved as predicted. That’s compelling evidence, but checking even ten trillion examples cannot establish what happens for every possible checkable number. This kind of proof is meant to cover the entire infinite set.
That’s what Alpöge says he and Claude have done. His original release actually goes even further than that, addressing a broader family of related functions. But the Riemann hypothesis itself is the best-known component of that family, and it’s one of the Clay Mathematics Institute’s million-dollar Millennium Prize Problems.
Now, the prize hasn’t been awarded yet. Clay has its own process: a proposed solution has to appear in an accepted publication, at least two years have to pass, giving everyone a chance to check it out and disprove it, and the result has to gain general acceptance in the mathematics community. As of the day I’m recording this, though, the general consensus seems to be that this is the real deal, and it’s just a matter of time before the CMI announces that this problem has been solved.
All that said, let’s talk for a moment about Lean. Lean is software for writing and checking mathematical proofs. Instead of asking a reader to accept that one step follows from another, a mathematician states the definitions and logical steps in a form the software can inspect, and it indicates, at each step, whether the math is legit or not.
A useful way to think about this is that a normal mathematical paper is a set of directions written for experts. It may skip familiar turns, because its readers know the terrain well enough that it’s not necessary to map everything out in detail. A formal proof has to account for those turns, too, though, and one of the valuable things about Lean is that it doesn’t take the author’s word for anything, checking every single mathematical claim made, even across an absolutely massive proof.
This is one reason a formal proof can be enormous even though the central idea itself is not seventeen million lines long. That code also contains all the supporting definitions, smaller results, and machinery needed to express the argument completely and precisely.
Then again, there are ways to fool yourself with a computer proof. A file might successfully prove a subtly different statement than the one in the headline. It might introduce an assumption or flaw that allows everything to check out on the code level, but it’s only later, when humans have gone through all those millions of lines of code, that we discover an error in transcription, logic, or assumptions. The code can technically be right, but it could prove something different than what everyone looking at just the input and output assume.
That’s why the outside verification matters here. The Lean and Mathlib teams checked that Alpöge’s code proved the established formal statement of the Riemann hypothesis. They examined its assumptions and ran the exported proof through independently built checkers. They reported that those checks succeeded.
A separate team has since reduced the formal development from roughly seventeen million lines to a version of about seventy-six thousand lines, and that version has passed its own checks. Seventy-six thousand lines is still a lot of code, but reducing it that dramatically makes the structure far, far easier to study.
Mathematicians are also writing more conventional explanations. One working draft runs to hundreds of pages, but like the shorter proofs, this serves the purpose of ensuring we know exactly what’s being proved in those millions of lines of code, and that we can explain it in different ways, to different audiences, and in ordinary mathematical language.
So the distinction here isn’t between a computer saying “looks good” and a human eventually deciding whether to believe it. People have already done considerable work to establish that the formal proof says what it is supposed to say and passes the relevant checks. What they’re still doing is finding a concise account of _why_ it works. And that may eventually reveal a technique with utility beyond this one problem. It may also reveal that an immense amount of the code can be replaced by a surprisingly simple argument. We don’t know yet, but they’re working on that.
There’s a second, similar story unfolding alongside this one, too. Around the same time, Anthropic and OpenAI released separate proposed proofs that two categories of mathematical problems, called VP and VNP, are different.
These categories concern the difficulty of certain calculations involving polynomials. They’re related in spirit to the better-known P versus NP problem, but they’re distinct from that. A proof about VP and VNP would not, by itself, settle P versus NP, but it would still b…
This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit letsknowthings.substack.com/subscribe





