Logic Foundry

Build with understanding.

Lean and Mathlib communities say they verified a formal proof of the Riemann Hypothesis

In a joint statement issued on November 21, 2026, the Lean and Mathlib communities said they had verified a formal proof of the Riemann Hypothesis released by Levent Alpöge the day before. The statement, endorsed by Lean FRO and the Mathlib Initiative, says the proof is a Lean library of about 17 million lines of code that directly depends only on Mathlib. This was reported on November 22, 2026.

The communities said their checks covered four questions:

  • Is the statement the right one? The proof uses Mathlib’s RiemannHypothesis statement, which the communities said Lean and number-theory experts had reviewed.
  • Does the library build? Dozens of people reported compiling it and reproducing the same raw proof export file.
  • Does it prove that statement? The communities isolated the statement in a file importing only Mathlib, then used two independent tools, comparator and con-leche --compare, to compare it with the theorem proved by Alpöge’s library. Both comparisons matched, according to the statement.
  • Does the exported proof check? The communities said it passed Lean’s official kernel, con-leche, con-ron, and several independent checkers written in different programming languages.
Lean and Mathlib communities say they verified a formal proof of the Riemann Hypothesis

The statement says con-leche and con-ron have formal guarantees, relative to set theory, that they cannot accept a false proof. It also says the checks ran on an inert proof export rather than the Lean source code, keeping hypothetical malicious source code out of the checking process.

The communities expressed full confidence in the proof’s correctness while noting that further work by mathematicians will be needed to explain its new ideas. The statement addresses formal verification; it does not establish the AI-related claims raised in the original report’s headline.