The Spectrum Dispatch News

science

Lean community certifies proof of the Riemann Hypothesis

Mathematician Levent Alpöge released a Lean-formalized proof of the Riemann Hypothesis on November 20, 2026, comprising 17 million lines of code. The Lean and Mathlib communities

Lean community certifies proof of the Riemann Hypothesis

On November 20, 2026, mathematician Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library comprising 17 million lines of code, according to a joint statement by the Lean and Mathlib communities endorsed by the Lean FRO and the Mathlib Initiative.

Lean community certifies proof of the Riemann Hypothesis

The Lean and Mathlib communities have conducted verification of the proof and issued a formal certification of its correctness. According to the statement, the codebase depends directly only on Mathlib, and over the following day, the communities rallied to verify the proof’s validity.

The verification process satisfied four criteria. First, the statement of the Riemann Hypothesis was confirmed as correct—it is part of Mathlib under the identifier RiemannHypothesis and has been vetted by experts in both Lean and number theory. Second, Alpöge’s library compiles correctly without errors or build failures, with dozens of people independently reporting successful compilation and reproducing the same raw proof export file.

Third, the community verified that the code proves the correct statement. Experts isolated the Riemann Hypothesis statement and compared it against the theorem proved by Alpöge using two independent tools (comparator and con-leche –compare), both confirming that Alpöge’s library proves exactly Mathlib’s statement of the Riemann Hypothesis.

Fourth, the Lean proof’s validity was confirmed through multiple proof checkers. The exported raw proof was checked by Lean’s official kernel, the con-leche and con-ron checkers, and several independent checkers implemented in different programming languages. According to the statement, con-leche and con-ron come with formal proofs, relative to set theory, that they cannot accept a false proof, addressing potential concerns about flaws in Lean’s logic. An extensive overview of these checks is available at https://math.mit.edu/~drew/grh/. The verification checks ran on an inert export of the proof, isolated from any hypothetical malicious code in the Lean proof sources.

The statement notes that the Lean and Mathlib communities look forward to activity in the broader mathematical community aimed at explaining the new ideas in this proof.

Key facts

  • Levent Alpöge released a Lean-formalized proof of the Riemann Hypothesis on November 20, 2026
  • The proof comprises 17 million lines of code
  • The Lean and Mathlib communities jointly certified the proof’s correctness
  • Multiple independent proof checkers validated the proof across different programming languages
  • The proof was verified to match Mathlib’s formal statement of the Riemann Hypothesis

Sources

← All posts