The Lean FRO and Mathlib Initiative certified the formal statement and proof of the Riemann Hypothesis on November 21, 2026. Its statement describes checks of the theorem and its Lean proof; Levent Alpöge had said he discovered the proof while working with Claude. Read the joint certification statement; Alpöge’s announcement.

What the Lean verification checked

Lean is a proof assistant: software that checks a formalized mathematical argument against precise rules. The initiative described four parts of its verification: Mathlib’s Riemann Hypothesis statement was vetted; the Lean library compiled; two tools, comparator and con-leche --compare, matched Alpöge’s theorem to Mathlib’s statement; and Lean’s kernel and other proof checkers checked the exported proof.

The initiative described the library as 17 million lines of code. Compilation was one part of the process, alongside checking that the formal theorem matched the intended statement and validating the proof itself. That is the basis for the initiative’s certification of the formal RH proof.

The certification addresses whether the formal proof establishes the theorem; explaining the mathematical ideas in a readable way is a separate task.

The certification covers RH, not GRH

The joint statement certifies the Riemann Hypothesis (RH). Its stated scope does not include the Generalized Riemann Hypothesis (GRH). Alpöge credited Claude as a collaborator, but the certification concerns the formal theorem and proof, not how the work was divided.

Alpöge corrected the 250,000-page figure

On November 23, Alpöge said the widely repeated claim that the proof ran to more than 250,000 pages was a joke. He also criticized the Lean code’s quality, accepted criticism of it and said it compiles. The initiative’s figure of 17 million lines refers to the Lean library, not a page count. Alpöge’s November 23 post.

Formal verification and mathematical understanding

A formal proof can be checked against a precise statement without, by itself, offering readers an accessible explanation of the mathematical ideas. The Lean FRO and Mathlib Initiative said further work would help explain those ideas.