Riemann proof with Claude: what the computer check shows

Riemann proof with Claude: what the computer check shows

An Anthropic mathematician reports a proof of the Riemann hypothesis made with Claude. What the computer check shows – and what is still missing.

Too much jargon?→ Look it up in the glossary

Imagine someone puts a proof on your desk. 17 million lines long. A computer has checked every single one and says: correct. It's just that nobody has understood it yet.

That is exactly what just happened in mathematics. And this isn't some random puzzle. It's one of the most famous open problems in mathematics.

What happened

On 20 November, Levent Alpöge, a mathematician at Anthropic, published a four-page note. His claim: he and Claude have proven the Riemann hypothesis. And its generalised version on top.

The proof itself didn't come as a paper, only as code. Roughly 17 million lines of Lean. Which Claude version did the work is unclear. Mathematician Terence Tao speaks of an internal AI model. So no, you can't just try it in the app.

A day later, the Lean and Mathlib communities (the people behind the checking program and its big maths library) declared in a joint statement: statement and proof are correct (source). Other experts have independently run the code themselves.

Sounds like a sensation. It is one. But one with footnotes.

What is this even about?

Bernhard Riemann posed the hypothesis in 1859. It's about prime numbers, numbers only divisible by 1 and themselves: 2, 3, 5, 7, 11 and so on.

Primes seem to show up at random. Riemann took up a function that Leonhard Euler had already studied. He showed that it reveals how regularly primes are spread out. His conjecture: certain points of this function, the so-called zeros, all lie on a single line. If that holds, primes behave as neatly as everyone hopes.

That's all you need to know. What matters: for 167 years, nobody proved it. The Clay Institute has offered a million dollars for it and still lists the problem as unsolved.

Why all the fuss about a line? Because a lot rests on this conjecture. Over the decades, mathematicians have proven hundreds of theorems that begin with "Assuming Riemann is right …". A real proof would secure that whole building in one go. That's why it was on David Hilbert's famous list of open problems back in 1900, and again among the Clay Institute's seven Millennium Prize Problems in 2000. The only question on both lists. Whether it's the most important one is something mathematicians happily argue about. It's certainly right up there.

And in case you're wondering whether your online banking is now at risk: no. Encryption on the web does use prime numbers. But as far as anyone knows, a proof that the conjecture holds doesn't provide a tool for factoring large numbers faster. Mathematicians have been assuming for decades that Riemann was right. Now it's just (probably) official.

What Lean checks – and what it doesn't

Lean is a proof assistant. A program that re-checks a mathematical proof step by step. Every step has to follow from the one before, or it complains. No cheating.

That's powerful. A human misses an error on page 300. Lean doesn't.

But Lean has a blind spot: it only checks whether the typed-in statement is proven. Whether that statement really is the Riemann hypothesis, or a harmless-sounding fake of it, a human has to verify. British mathematician Kevin Buzzard named exactly that as the first thing to check.

Here things look good: according to reports, the code uses the standard definition from Mathlib, the jointly maintained maths library. That's why experts are so confident.

The catch: nobody understands it yet

Now the uncomfortable part. There is no readable proof yet. But mathematics doesn't live on "it's true" alone. It lives on "why is it true". The why is where new ideas, new tools and new proofs come from.

After a first look, Tao says the proof reaches deep into modern fields like the Langlands programme and arithmetic geometry. Alpöge wants to write an exposition that other number theorists can work through. That takes time.

Until then, humanity has a result that counts as correct. But no understanding of it yet.

That in itself isn't new, though. When Andrew Wiles proved Fermat's Last Theorem (a number puzzle more than 350 years old) in 1995, only a handful of specialists could follow his proof at first. Einstein's theory of relativity was said to be understood by hardly anyone. We trust both anyway. What's new is who vouches for it: with Wiles, a few experts read every line. This time, it's a program.

To be fair: humans get things wrong too. Even Wiles' first version had a gap. The referees found it, and it took him a year to close it. And alongside Alpöge's work, a proof attempt written by a human appeared. Mathematicians found problems in it. Partly with the help of AI.

And what does that mean for you?

Directly: not much for now. You won't use prime numbers any differently tomorrow. And as mentioned: the model behind it isn't available to you.

Indirectly, though, this holds the most important lesson about working with AI. It applies to million-dollar problems just as much as to your tax return.

AI produces results that look confident. Sometimes they're right. Sometimes they're made up. The difference between the two is a check you can trust. In mathematics, it's called Lean. In your everyday life it means: look up the source, redo the maths, test the code, have a second person take a look.

Back in May, an OpenAI model disproved an 80-year-old Erdős conjecture. Back then, a human read the proof and confirmed it. This time, nobody has done that so far. Printed out, 17 million lines would fill roughly a quarter of a million pages. Not impossible, but a life's work. Until then, we rely on the machine that checks the other machine.

That's no reason to panic. Lean is well built, and the people who maintain it are thorough. But it's worth knowing the difference between "checked" and "understood".

Takeaways

Three things from this story you can try right away:

  1. Make the AI's work checkable. Don't just ask for the answer, ask for the steps. "Show me how you got there" is your pocket-sized proof assistant.
  2. Check that the question is right. This is Lean's blind spot in miniature: did the AI really answer your question, or a similar, easier one? Read the answer against your question once.
  3. Ask for the explanation. "Explain it like I'm 12." If the AI can't explain it simply, that's a warning sign. Not proof of an error, but a reason to dig deeper.

A proof that a machine confirms first and humans understand only later – that's new. Mathematics will have to learn how to deal with it. You can start today: use AI, yes. But always with a check.