Science1 min read

Lean Verification of the Riemann Hypothesis - Joint statement by...

By · Published by Everything Blog

In short

On November 20, 2026, mathematician Levent Alpöge released a proof of the Riemann Hypothesis structured as a 17-million-line Lean code library that depends directly only on Mathlib. The formal statement and its proof satisfied four key verification criteria established by the Lean and Mathlib communities to confirm total accuracy. Dozens of users independently compiled the codebase without errors, producing an inert raw proof export file to ensure safety from hypothetical malicious code. Reviewers subsequently verified the file across Lean's official kernel and several third-party checkers written in different programming languages.

Key points

  • Independent tools including comparator and con-leche --compare confirmed that the code ta…: Independent tools including comparator and con-leche --compare confirmed that the code targets Mathlib's rigorously vetted definition of the hypothesis.
  • Validation across multiple external checkers written in different languages resolved pote…: Validation across multiple external checkers written in different languages resolved potential concerns regarding underlying flaws in Lean's system.
  • Formal proofs showing that con-leche and con-ron cannot accept false theorems relative to…: Formal proofs showing that con-leche and con-ron cannot accept false theorems relative to set theory provided definitive mathematical assurance.

Sources checked by our analysis pipeline: 1

Lean verification of the Riemann Hypothesis

Lean verification of the Riemann Hypothesis

Joint statement by the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative.

On November 20, 2026, Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library comprising 17 million lines of code.

We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement.

Our rationale is outlined below.

The library depends directly only on Mathlib. Over the past day, the Lean and Mathlib communities have rallied to verify the proof's correctness. We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct. The four criteria in https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/ are all satisfied.

- The statement of the Riemann Hypothes is correct. This statement is part of Mathlib: RiemannHypothesis and has been carefully vetted by experts in Lean and number theory.

- Alpöge’s library compiles correctly. By now, dozens of people have reported correct compilation of the codebase, reproducing the same raw proof export file. The library compiles without…

Science