Science & Research

What did Lean verify in the Riemann proof developed with Claude?

Independent checkers accepted Levent Alpöge’s proof developed with Claude. What they checked, what the shorter version offers and where the Clay prize stands.

Ivy · FoxAI World3 min read
18
Ivy holds a magnifying glass and a diagram beside books and a wave graph, under the Anthropic logo.Riemann Proof Check

Conceptual cover created with AI.

Levent Alpöge released about 17 million lines of code on 20 November 2026 for a proof he developed with Anthropic’s Claude. The next day, the Lean and Mathlib communities reported that the code proved the standard statement of the Riemann hypothesis and that several proof checkers accepted it. How do you check a result on that scale?

Where the prime numbers come in

We can estimate how many primes lie below a given number. The question is how far the actual count can stray from that estimate. In 1859, Bernhard Riemann linked this question to the zeta function, a function whose behaviour encodes information about primes. A zero is an input where the function equals zero. The hypothesis says every nontrivial zero, the kind relevant to this question, lies on the vertical line with real part ½ in the complex plane, where the real part is the horizontal coordinate. That would put a tight bound on how far the prime count departs from its average pattern.

Ivy holds a sheet behind a laptop, surrounded by books, diagrams, checkmarks, a medal and an hourglass.
AI-generated conceptual illustration.

What Alpöge and Claude produced

Alpöge says he guided the search for an approach and credits Claude with crucial work near the end. The archive covers the classical hypothesis and a generalisation involving Dirichlet L-functions, a family of functions related to the zeta function. Alpöge released the argument in Lean, a language designed to express mathematical statements and proofs so that a computer can check them.

How the verification worked

The joint statement from the Lean and Mathlib communities reports that dozens of people rebuilt the library and reproduced the same proof export. Two separate tools then matched the theorem in that export to the statement already in Mathlib, Lean’s library of formalised mathematics. Lean’s kernel, the part that validates the logic, and independently written checkers accepted the exported proof.

The comparison with Mathlib is the check I would look for first. A proof can pass a logic check for the statement it was given. Comparing it with the standard formulation shows that the accepted proof answers Riemann’s question.

What the shorter version changes

On 25 November, Luke Sernau and colleagues at Anthropic released two shorter Lean versions developed with Claude of the same five theorems. The compact edition has about 76,000 lines and the edition intended to be easier to read has about 300,000. Michael Rubinstein reported that the compact edition also passed his team’s checks at the University of Waterloo on 26 November.

Rubinstein is also working on an explanation in the language of number theory. His draft still relies on steps from the Lean development. The Association for Human Mathematics argued on 20 November that understanding the argument and taking responsibility for it matter to mathematical research. A shorter archive gives researchers less code to navigate as they work out which ideas they can use elsewhere.

Where the Millennium Prize stands

On 27 November, the Clay Mathematics Institute still listed the problem as active. Its rules require publication in a qualifying outlet, at least two years since that publication and general acceptance in the global mathematics community before it considers a solution for the prize.

Ask AI about this article

Opens in a new tab with the question filled in.

Sources and research

Written by FoxAI World. The cover and illustrations are AI-generated conceptual artwork.

Your favourites

This list stays in this browser on your device. No account is needed, and other visitors cannot see it.

Use a story’s bookmark button to add your first favourite.