# The Proof Nobody Has Read: Reflections on the Riemann Hypothesis Week

> On 20 November 2026 Levent Alpöge announced a proof of the Riemann hypothesis, found working with Claude and released only as Lean code. The Lean and Mathlib communities have now certified it, and nobody yet understands it. What we actually know, what's still being checked, what it would and wouldn't break (no, not RSA), and why it looks like the problem of trusting any AI output.

Author: Kevin Cearns · Published: 2026-11-21 · Source: https://kcearns.tech/writing/ai-riemann-hypothesis-proof
Most of what I write here is about making AI systems trustworthy enough to put in production: evals, guardrails, routers that decide when a cheap model is good enough. This week the same question turned up at the very edge of human knowledge, and I can't stop thinking about it.

On Friday, 20 November, Levent Alpöge, a mathematician at Anthropic, wrote on his website: "I believe I have, working with Claude, discovered a proof of the Riemann hypothesis." He posted a [four-page note](https://alpo.ge/remark.pdf) and a formal proof written in Lean. There is no conventional paper. According to [AFP](https://phys.org/news/2026-11-anthropic-claude-math-greatest-riddle.html), a full written argument would be extremely long, and Alpöge says he hasn't yet mastered all the mathematics involved himself.

If you haven't met it, Lean is a programming language for writing mathematical proofs that a computer can check. Every step has to be spelled out precisely enough for a small program, the kernel, to confirm that it follows from the ones before. If the code compiles, the logic holds. What Lean can't tell you is whether a proof is readable, or whether the statement being proved is the one you meant. Both of those matter below.

> **Update, 22 November.** The proof has been certified. In a [joint statement](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/) on 21 November, endorsed by the Lean FRO and the Mathlib Initiative, the Lean and Mathlib communities wrote: "We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct." Two independent tools, `comparator` and `con-leche --compare`, confirmed that the theorem Alpöge proved is exactly Mathlib's own statement of the hypothesis. That was the statement check this post said was still outstanding. The proof was also accepted by Lean's kernel and several independent checkers written in other languages. Andrew Sutherland at MIT, who led much of the checking, keeps a [verification log](https://math.mit.edu/~drew/grh/). It confirms that all 175,187 modules compile and that the main theorems rely only on Lean's three standard axioms. Two things are worth knowing. First, the generalised hypothesis is proved for Dirichlet L-functions only, not for the wider families (Dedekind, Hecke, automorphic). Second, as of this morning Sutherland's log still lists a few slower end-to-end runs as in progress: the full `lake comparator` pass and the default and paranoid Lean kernel replays. Every check that has finished has passed. I've updated the sections below to match.

I first wrote this the day after, so it started as a snapshot, not a verdict. But the shape of what's happened is already clear, and it's strange enough to be worth thinking through while it's fresh.

## What was actually announced

Here's what the reporting says so far:

- **The claim.** A proof of the Riemann hypothesis and, Alpöge says, of the *generalised* Riemann hypothesis too, which extends it to a much wider family of functions ([AFP](https://phys.org/news/2026-11-anthropic-claude-math-greatest-riddle.html), [Al Jazeera](https://www.aljazeera.com/news/2026/11/21/riemann-hypothesis-has-the-worlds-most-famous-maths-problem-been-cracked)).
- **The form.** Lean code, and a lot of it. Kevin Buzzard, professor of pure mathematics at Imperial College London and a long-time advocate of formal proof, told Al Jazeera: "It's 17 million lines of Lean code, and this might correspond to tens of thousands of pages of mathematics."
- **Claude's part.** Alpöge has been open about it. He wrote that "Claude far outpaced me near the finish line."
- **The checking so far.** Andrew Sutherland of MIT told [Scientific American](https://www.yahoo.com/news/science/articles/ai-riemann-hypothesis-proof-almost-210000837.html): "The Lean proof has been compiled and independently rechecked by the Lean kernel with only the three standard axioms. Honestly the chance that anything is fishy here is approximately zero."
- **What was still open on the 21st.** As of that report, the Lean community was still waiting for a "comparator" run, a stricter check that the code doesn't quietly redefine any of the symbols in the theorem statement. A [tracker following the checks](https://riemannhypothesisclaude.org/verification-log) reports that by Saturday morning three independent kernels had accepted the proof and that its main theorem uses Mathlib's own definition of the hypothesis, but the comparator was still running and no expert audit of the statement had been published. That last one is the more basic question Buzzard says you always have to ask: whether the Lean statement really *is* the Riemann hypothesis. (It has since been settled. See the update above.)

The reactions are what you'd expect from a field that has waited 167 years. Brian Conrey, one of the leading specialists on the hypothesis, who hadn't yet seen a manuscript when he spoke, told AFP: "It's a monumental moment in human history. It's really the biggest thing I think that's ever happened in mathematics." Abhishek Saha of Queen Mary University of London said: "This claimed proof, if correct, shatters my model of reality."

And then there's the line from Buzzard that I keep coming back to: "At the minute, we don't even know why the theorem is true."

## What the hypothesis says

Briefly, for anyone who hasn't met it. The prime numbers look random up close: 2, 3, 5, 7, 11, 13, then gaps that jump around with no obvious pattern. From far away they are remarkably regular. The number of primes below *x* is very close to a smooth function, roughly *x* / ln *x*, and an even better approximation called the logarithmic integral, li(*x*).

In 1859 Bernhard Riemann wrote a short paper connecting the primes to what's now called the zeta function. The zeta function has infinitely many "nontrivial zeros", points where it equals zero, and these zeros control exactly how far the primes stray from their smooth approximation. Riemann guessed that all of them lie on a single vertical line in the complex plane, the line where the real part is ½. That guess is the hypothesis.

If it's true, the primes are as well behaved as they possibly could be: the error in that smooth approximation stays around the size of √*x*, tiny compared to *x*. Computers had checked trillions of zeros and every one sat on the line, which is why almost every mathematician already believed it. But there are infinitely many zeros, and checking isn't proving. Hilbert is said to have remarked that if he woke after a thousand years, his first question would be whether it had been proved. It's one of the seven Clay Millennium Prize problems, worth a million dollars.

## Verified is not the same as understood

So: do we know the Riemann hypothesis is true?

In one sense, yes. As of the 22nd, the Lean community has certified that the proof checks and that it proves Mathlib's vetted statement of the hypothesis. A formal proof checker is a small program with a simple job: confirm that every step follows from the previous ones by the rules of logic. Lean's kernel is small enough for people to scrutinise closely, and independent checkers exist. If the statement is right and the kernel is sound, the theorem is true. That's a stronger guarantee than most human proofs get. Human referees miss things all the time.

But mathematicians have never treated a proof as just a certificate. Bill Thurston wrote a well-known essay in 1994, *On Proof and Progress in Mathematics*, arguing that what mathematicians produce is not theorems but *understanding*. A proof matters because it shows you why something is true, and that "why" is what lets you prove the next thing. A proof of the Riemann hypothesis was always expected to be valuable mostly because whatever idea cracked it would crack a lot of other things too. Right now we may have the crack without the idea. Buzzard put it bluntly: "There is a chance that there were no ideas that the humans were missing... There is a chance that there's a thousand pages of new ideas."

We've been edging toward this for fifty years:

- **The four colour theorem (1976).** Appel and Haken's proof relied on a computer checking nearly two thousand configurations. Many mathematicians were uneasy. It wasn't fully formalised until Georges Gonthier did it in Coq in 2005.
- **The Kepler conjecture (1998).** Thomas Hales proved how to stack oranges most efficiently, with a large computer-assisted proof. The referees reportedly said they were 99% sure it was right and couldn't get further. Hales led a project to formalise the whole thing, finished in 2014.
- **The abc conjecture (2012).** Shinichi Mochizuki posted a proof that very few people could follow, and those who tried came away disagreeing over a key step. The reverse case: a human proof that produced neither shared understanding nor a verified certificate.
- **The Liquid Tensor Experiment (2020 to 2022).** Peter Scholze asked the Lean community to formalise a hard result of his and Dustin Clausen's because he wasn't fully sure of it himself. They did, and the formalisation helped clarify the argument.

This week is the extreme case: near-certainty about *that*, close to zero insight into *why*. It's a new arrangement of knowledge. We know the hypothesis holds the way you know a bridge will hold because the simulation says so, not the way the engineer who designed it knows.

I don't think that's worthless, and the mathematicians don't seem to think so either. Buzzard expects the gap to close fast: "Experience shows you that you give the humans the Lean code, and within a week or two, they have a much better understanding of what's actually going on in this code." Conrey thinks "there will be simpler ways to do it." That's the right way to see it. The day the proof arrived is like the day a telescope spots something: the observation is settled, the explanation isn't, and finding it is now the most interesting job in mathematics.

## What it wouldn't break

Whenever the Riemann hypothesis is in the news, someone says the internet's encryption is in danger. It isn't, and it's worth being clear about why.

**The proof does not break RSA.** RSA's security rests on how hard it is to factor a large number that's the product of two large primes. The Riemann hypothesis is a statement about how primes are *distributed* on average across the number line. It says nothing about how to find the two specific prime factors of a specific 2048-bit number. Knowing almost exactly how many primes there are below 10<sup>600</sup> doesn't help you work out which two of them were multiplied together.

The best factoring algorithms we have (mainly the number field sieve) don't assume the hypothesis is false, so there's no hidden speedup waiting behind a proof. Most cryptographers already worked as though it was true. If anything, the effect runs the other way. Buzzard told Al Jazeera that some algorithms we already run are fast but only *known* to work if the generalised hypothesis is true, so "we can sleep slightly safer in our beds at night because it is true."

There's one honest caveat. The *ideas* inside the proof could, in principle, carry some new insight into the structure of primes that someone later turns into an algorithm. That's speculation, and since nobody understands the proof yet, it's speculation about something we can't read. If you want a real threat to RSA, it's still large fault-tolerant quantum computers running Shor's algorithm, which is why the move to post-quantum cryptography carries on regardless.

## What it does change

Inside mathematics, now that the checks have held, the effects are large even if they're quiet outside it.

**A lot of "if" theorems lose their "if".** A huge body of work begins "Assuming the Riemann hypothesis..." or "Assuming the generalised Riemann hypothesis...": results about gaps between primes, how quickly certain sums grow, how arithmetic functions behave. Many of them become unconditional at once. Not all: Alpöge's note says he expects the *extended* hypothesis only "with more time", and Sutherland's verification log confirms the Lean proof covers one family of functions (Dirichlet L-functions), so results that need the hypothesis for other families keep their "if" for now. Some had already been proved another way. The weak Goldbach conjecture (every odd number above 5 is the sum of three primes) was shown in 1997 to follow from the generalised hypothesis, then proved outright by Harald Helfgott in 2013. Most hadn't.

**Sharper bounds become facts.** Lowell Schoenfeld worked out in 1976 that, if the hypothesis holds, the count of primes below *x* differs from li(*x*) by less than √*x* ln *x* / 8π for every *x* from 2657 up. That estimate now has no asterisk.

**Some odd-looking equivalences become true.** Guy Robin showed in 1984 that the hypothesis is equivalent to a simple inequality about the sum of a number's divisors holding for every number above 5040. Prove one and you've proved the other.

**Some algorithms get guarantees.** This is where the generalised version matters. Gary Miller showed in 1976 that a fast primality test is provably correct and deterministic if the generalised hypothesis is true. That's the kind of thing Buzzard meant. In practice, the AKS test had already shown in 2002 that primality can be decided in polynomial time without any assumption, and the probabilistic tests everyone uses were never really in doubt. So the effect on computing is mostly a guarantee on things that already worked. That's the recurring theme: this matters enormously for what we *know*, and very little for what we *do*.

## The small trusted kernel

This is the part that brings it back to the work I usually write about.

Seventeen million lines that nobody understands can still be trusted because of an old idea in formal methods sometimes called the de Bruijn criterion: keep the part of the system you have to trust tiny, so a person can check it carefully, and let it check everything else, however large. You don't need to read the proof. You need to trust the checker and the statement. Everything in between can be as alien as you like.

Look at what the experts waited for before certifying it. Not someone to read 17 million lines. A comparator run, to make sure nothing redefines the symbols. A careful check of the *statement*, to make sure it says "the Riemann hypothesis" and not a subtly weaker look-alike. Both are checks on the small trusted part. Once they passed, the community was willing to say "full confidence" about a proof none of them had read. That's the whole game.

It's the same shape as the problem we have with AI output generally, and it's the most useful thing I take from this week.

We're going to receive more and more work from models that we can't fully read: long pieces of code, analysis, infrastructure plans, and now, apparently, research. The honest response isn't to insist on understanding every line, because that won't scale. It's also not to trust the output because the model sounds confident. It's to ask **what our small trusted kernel is**: the narrow, well-understood thing the large, unreadable thing has to get past.

For mathematics, it's a proof checker. For the systems I work on it's much weaker, but the same shape:

- A test suite and type checker that generated code has to pass.
- An [eval suite that gates which model handles a request](/writing/hybrid-router-evals-quality-gate), so a cheaper model only gets traffic once it's measured as good enough.
- [Prompt-injection evals](/writing/prompt-injection-evals-hybrid-router) that check a model can't be talked out of its instructions by content it reads.
- Policy that limits what an agent can actually *do*, whatever it decides.

None of these is a proof. Tests check examples, not every case. Evals sample behaviour; they don't bound it. That's the gap between a mathematician's certainty and an engineer's, and it's worth being honest about. But the instinct is right: don't ask "do I understand this output?" Ask "what did it have to get past, and do I trust *that*?"

And the statement matters as much as the checker. The equivalent in engineering is whether your tests and evals measure what you actually care about. A model that perfectly passes the wrong eval is the software version of a flawless proof of the wrong theorem.

## Who gets the credit

Most of the press has called this a proof by Claude. Saha pushed back: "The honour of proving RH, if the proof holds up, belongs largely to him. He should get a Fields Medal for this." Alpöge's own wording, "working with Claude", sits somewhere in between, and so does his admission that Claude outpaced him at the end.

The Clay Institute's rules make it concrete. As AFP summarises them, a solution has to be published in a peer-reviewed journal and withstand two years of scrutiny. Published as what, when the only complete version is 17 million lines of Lean? Refereed by whom, when no human has read it? I don't know the answers, and I don't think anyone does yet. Whatever the Institute decides will probably become the template for how we credit machine-assisted discovery everywhere else.

## What's left for us

The obvious worry is that if machines can settle the hardest open problems, there's nothing left for mathematicians to do. This week doesn't look like that to me.

Chess is the closest precedent. Computers have been better than any human for a quarter of a century, and more people play chess now than ever. Engines didn't end the game; they changed what being good at it means. Strong players use them to understand positions, not to replace understanding.

Mathematics will change more, because its point isn't the contest, it's the knowledge. But look at who has had the most to do since Friday: the people writing precise statements, building the checkers, translating machine proofs into English, and deciding what the result means and what it connects to. Choosing which questions are worth asking. Those are jobs of taste and judgement, and taste is exactly what a formal checker can't supply.

I hope we treat this the way Scholze treated his Lean project: not as the machine taking the question away, but as the machine telling us where to look. A verified proof tells us *that*. Finding out *why* is still our job, and it's probably the most interesting mathematics anyone will do for a generation.

*Written on 21 November 2026, the day after the announcement. Updated on 22 November after the Lean and Mathlib communities certified the proof. A few slow end-to-end runs are still finishing, and I'll note them here when they do.*

*A fitting disclosure: Claude helped write this post too. Unlike the proof, I've read all of it.*