A 17 Million-Line Lean Check Confirms the Riemann Proof

The Lean and Mathlib community says Levent Alpöge's proof of the Riemann hypothesis is correct after independent checks of its code. The result tackles a famous question about how prime numbers are distributed, far earlier than forecasters expected.

WTF Index NEUTRAL
◄ Terminator 0 Idiocracy 0 ►

The story reports a mathematical proof verified with Lean, without a clear lean toward AI-driven harm or human dependency.

A 17 Million-Line Lean Check Confirms the Riemann Proof

A famous question about prime numbers has a confirmed solution, according to the Lean and Mathlib community. Levent Alpöge's proof of the Riemann hypothesis has been checked using Lean, a tool that verifies mathematical proofs for errors.

Code puts the proof to the test

Alpöge, a Stanford mathematician, published the proof on Nov. 20, 2026. It consists of 17 million lines of code written in Lean. The scale is striking, but the central point is that the proof can be checked in a form a verification program can assess.

Dozens of people ran the code independently and got the same result. The verification programs are designed so they provably cannot accept a flawed proof. That gives the community a way to examine the argument through repeated computational checks, rather than relying only on a reader's informal assessment.

The Lean and Mathlib community said: “We have full confidence that Alpöge's proof is correct, and we congratulate him on this achievement.” MIT mathematician Andrew Sutherland lists the independent checks on his website.

Why the Riemann hypothesis matters

The Riemann hypothesis had been one of the most famous unsolved problems in math. It makes a prediction about how prime numbers are distributed, connecting the proof to a fundamental pattern mathematicians have sought to understand.

Confirming a solution therefore closes a long-standing open question. The source does not describe the proof's mathematical steps, so the code verification and the community's confidence are the clearest details available here about how the result was established.

For readers looking for a deeper explanation, the original article points to a video generated with Fable 5.2. That is presented as a way to explore the proof beyond the announcement itself.

A result much earlier than expected

The timing surprised forecasters. As Ethan Mollick notes, Metaculus forecasters had put the expected date for a solution at May 2035. The proof arrived years before that forecast.

Mathematician Terence Tao had said last month that he expected the problem to fall to “a combination of humans and AI around 2050 or so.” The confirmed proof thus came earlier than both those expectations, though the source does not explain how Alpöge produced it or what role AI may have played.

The development brings together a major mathematical claim and a process of formal verification. Lean's role is to check whether the encoded proof contains errors; independent runs that return the same result give the community further grounds for confidence. The announcement marks a milestone for the Riemann hypothesis and for the use of proof-checking code in mathematics.