The code compiles, but nobody has read the proof yet

A proof of the Riemann hypothesis, built with Claude, passed machine checks. Explaining it to humans is the open part.

The code compiles, but nobody has read the proof yet

On November 20, 2026, mathematician Levent Alpöge published a proof of the Riemann hypothesis. It did not come as a paper. It came as a code library in the Lean language, about 17 million lines across 175,187 files.

Bernhard Riemann formulated the hypothesis in 1859. It concerns where the zeros of the zeta function lie, and that has consequences for how prime numbers are distributed. That is why it has stood for more than a century as one of mathematics’ most famous problems, with a prize offered to whoever solves it.

Alpöge works at Anthropic. According to Scientific American, he said he found the proof while working with Claude. The report also notes that the result came without an explanation in human language, only as code. In other words, the AI took part in the discovery, and the result was handed over in the form of a computer program.

What Lean is and why it matters

Lean is a formal proof language. Every claim has to be justified from explicit rules, and a program checks everything, line by line. If the code compiles, each step follows the rules of logic. One error, even a small one, makes the compilation fail.

That is why the check carries weight. It does not depend on the reputation of the author or on a referee’s opinion. It depends on a machine rerunning what is written. For mathematics, that is a change of method: the proof stops being a text meant to convince colleagues and becomes an object any computer can test.

Who checked it

According to Quanta, as cited by Scientific American, mathematician Andrew Sutherland of MIT was the first to compile the proof, on November 20. Simon DeDeo of Carnegie Mellon University did the same a few hours later. Sutherland told the magazine that the chance anything was fishy is “approximately zero.”

On November 21, the Lean FRO and the Mathlib Initiative certified the statement and the proof. Checking the statement is a separate step: a comparison tool confirmed that the theorem proved matches the standard definition of the hypothesis in the Mathlib library. Other independent checkers, written in different programming languages, also accepted the proof.

Where the story is still open

Compiling is not understanding. Wikipedia notes that Alpöge did not release a proof in natural language. A repository cited in another report says no mathematician has read the complete proof and that human review is still pending. Critics argue the proof does not yet explain why the result holds. Sutherland, for his part, said mathematicians still have a great deal of work to do to understand what the proof contains.

In practice, the question has changed. Instead of “is the proof right?”, the community now asks “who can read it?” A formal verifier answers the first question. Only mathematicians can answer the second, and that work may take time.

A shorter version

On November 25, Luke Sernau and colleagues, working with Claude and others, published a much leaner rewrite of the same result: about 76,000 lines in the compact edition and about 300,000 in the readable one. Sutherland reported that both compile and pass the checks. The shorter version is a practical step, because more people can study it.

What changes for people who use AI at work

For team leads, the case carries a lesson beyond mathematics. A system that passes every automated test may well be right, but that does not replace a reading by the people who will maintain the result. Separating “passed the check” from “we understand what was done” is the difference between trusting and depending.

Mathematics is making that separation in public, with data. It is worth doing the same with the AI models your team already uses.

Sources

Keep readingSee all →