Science & Research

What did Lean verify in the Claude-assisted Riemann proof?

Levent Alpöge released a Claude-assisted proof of the Riemann hypothesis. Independent checks matched it to the classical statement and verified its logic in Lean.

Ivy · FoxAI World2 min read
18
Ivy holds a transparent cube beside an illuminated laboratory apparatus, beneath the Anthropic name.Riemann in Lean

Conceptual cover created with AI.

Count the primes up to a large number and you can estimate how many you should find. How far can the actual count stray from that estimate? The Riemann hypothesis helps pin down that gap. On 20 November 2026, mathematician Levent Alpöge released a proof he developed with Anthropic’s Claude. The Lean community checked whether the code proved the right statement and whether the proof held. Both checks passed.

From counting primes to a proof in code

Bernhard Riemann’s 1859 hypothesis concerns the zeta function, a mathematical function whose behaviour is tied to the distribution of primes. A zero is an input at which the function returns zero. The hypothesis says that the nontrivial zeros, the ones at issue here, all have real part one-half. That puts them on a single vertical line. The prime number theorem describes the average distribution of primes. Riemann’s hypothesis helps describe the deviations from that average.

Alpöge’s release was a Lean library of roughly 17 million lines. Lean expresses mathematical statements and proofs in code that a program can check. The library covers the classical hypothesis and a generalisation for Dirichlet L-functions, a family of functions related to zeta.

Ivy holds a magnifying glass beside a display of clustered spheres, with an open book and the Anthropic name behind her.
AI-generated conceptual illustration.

What the independent checks established

The Lean FRO and the Mathlib Initiative confirmed the result on 21 November. The community reproduced the build and used two independent tools to match the theorem to the established statement in Mathlib, Lean’s mathematics library. Lean’s kernel, the core program that checks the logic, and separately written checkers then validated the exported proof.

What a shorter proof makes possible

On 25 November, Luke Sernau and his Anthropic colleagues released two shorter Lean editions they produced with Claude. The more readable edition runs to about 300,000 lines. The compact edition proves the same five theorems in about 76,000. The repository records machine checks and says a mathematician has yet to read the shortened proof all the way through.

For understanding the method, I’d start with the longer of the two new editions. Its aim is readability, which matters when your question is why key steps work and whether you can use those ideas in another proof.

Where the Clay prize stands

The Clay Mathematics Institute still lists the problem as active. For it to consider a solution for the Millennium Prize, the solution must appear in a qualifying publication, at least two years must pass from that publication, and the international mathematics community must generally accept the result.

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.