The Lean and Mathlib communities have certified that Levent Alpöge's proof of the Riemann hypothesis, a Lean library of 17 million lines of code, is correct. The communities, endorsed by the Lean FRO and the Mathlib Initiative, say in a joint statement that they have full confidence in it. Lean is software that checks mathematical proofs line by line, and Mathlib is its shared library of formal mathematics. Alpöge released the proof on November 20, 2026.
The communities say the certification rests on three checks. First, dozens of people compiled the codebase and reproduced the same raw proof export file, with no errors or build failures. Second, the community added a file that states the Riemann hypothesis using only Mathlib. Two independent tools, comparator and con-leche, confirmed that Alpöge's theorem matches that statement exactly.
Third, several proof checkers examined the exported proof. They include Lean's official kernel, the con-leche and con-ron checkers, and independent checkers written in different programming languages by third parties. The communities say con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof. That addresses concerns that flaws in Lean's logic could be exploited. The checks ran on an inert export, out of reach of any malicious code in the proof sources.
Source: Lean verification of the Riemann Hypothesis | Lean community blog.