A joint Lean and Mathlib statement says Levent Alpöge’s 17-million-line Lean proof of the Riemann Hypothesis compiled correctly and passed several independent verification checks.
Last updated
Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library comprising about 17 million lines of code on November 20, 2026. In a joint statement issued the following day, the Lean and Mathlib communities said the proof had passed their verification process.
The statement, endorsed by the Lean FRO and the Mathlib Initiative, said the library directly depends only on Mathlib. Dozens of people reportedly compiled the code successfully and reproduced the same raw proof export file.
The communities listed four satisfied criteria: the statement matches Mathlib’s RiemannHypothesis formulation; the code compiles; the theorem proved by the library matches that formulation when compared with independent tools; and the exported proof passes checks by Lean’s official kernel, con-leche, con-ron and other third-party checkers.
The checks were run on an inert export of the proof rather than the source code. The statement said this addresses concerns about potentially malicious code or flaws in the checking logic, while further mathematical work is expected to explain the proof’s new ideas. The Riemann Hypothesis was proposed by Bernhard Riemann in 1859 and has long been regarded as a major unresolved problem in number theory.
The November 21 joint statement should be described more precisely: it certified that both the theorem statement and the proof were correct, rather than merely saying that the verification checks had passed. It also identified comparator and con-leche --compare as the tools that confirmed a new file, importing only Mathlib, matched the theorem Levent Alpöge proved.