Lean Community Verifies Levent Alpöge's Riemann Hypothesis Proof as 17 Million Line Lean Library
The Lean and Mathlib communities have independently verified Levent Alpöge's 17 million line Lean library proof of the Riemann Hypothesis, confirming its correctness.

By Clara Tan, Artificial Intelligence
3 min read
A significant development in mathematics has emerged with the independent verification of Levent Alpöge's proof of the Riemann Hypothesis. On November 20, 2026, Alpöge released a monumental 17 million line Lean library, asserting it contained a complete proof of the long-standing mathematical conjecture.
The Lean and Mathlib communities, renowned for their rigorous approach to formal verification in mathematics, swiftly mobilised to scrutinise Alpöge's work. Their collective efforts have now culminated in a joint statement confirming the correctness of the proof.
The verification process was exhaustive, adhering to stringent criteria for formal proofs. It included a meticulous comparison of Alpöge's statement of the Riemann Hypothesis against the established definition within Mathlib, ensuring conceptual alignment. Furthermore, the entire codebase underwent successful compilation by numerous individuals, all reproducing the same raw proof export file without errors or build failures.
Crucially, the Lean community employed independent tools, comparator and con-leche, compare, to confirm that the theorem proved in Alpöge's library precisely matched Mathlib's statement of the Riemann Hypothesis. The validity of the Lean proof was further bolstered by checks from several proof checkers, including Lean's official kernel and other independent checkers implemented in diverse programming languages. These checkers, notably con-leche and con-ron, come with formal proofs of their inability to accept false proofs, thereby addressing potential concerns about inherent flaws in Lean's logic.
This independent verification arrives shortly after a previous claim by Anthropic's Claude AI of having proven the Riemann Hypothesis. While the details of Claude's proof remain under wraps, the Lean community's validation of Alpöge's work provides a concrete and publicly accessible demonstration of a formally verified proof. The mathematical community now anticipates further engagement with Alpöge's library, seeking to unravel the novel ideas and techniques employed in this groundbreaking achievement.
Sources
- 1Lean community blogleanprover-community.github.io