Lean: the proof assistant behind the claimed Riemann hypothesis proof

Lean is an open-source proof assistant in which a computer checks every step of a mathematical argument. It is the format of the claimed, still-unverified Riemann hypothesis proof.

Created 2026-11-20 Last reviewed 2026-11-20

What it is

Lean is a programming language and “proof assistant”: software in which a mathematical statement and its proof are written in a formal language, and a small program called a kernel checks every logical step mechanically. If the file compiles, the kernel has accepted the argument. If a step is missing or wrong, it does not compile. Lean began as a project of Leonardo de Moura at Microsoft Research in 2013 (Wikipedia summary; Microsoft Research system description).

Most of the mathematics written in Lean sits in Mathlib, a community-built library of formalized mathematics begun in 2017. Wikipedia reports that by 2025 it held over 210,000 theorems and 100,000 definitions. The library is maintained by a volunteer community (Lean community site). The language itself is stewarded by the Lean Focused Research Organization (FRO), a non-profit founded in 2023 by de Moura and Sebastian Ullrich. It describes its aim as making formal verification more accessible across mathematics, software and hardware verification, and AI-assisted theorem proving (Lean FRO about page).

The point for non-specialists is what the checking does and does not cover. Lean certifies that a proof follows from its stated assumptions. It does not certify that the statement being proved is the one a reader thinks it is. A human still has to read the formal statement, which is short, and confirm it says what is claimed. The proof itself can be enormous without anyone needing to read it.

Why it matters for AI governance and narratives

Lean matters to the observatory because it changes what “verification” means in an AI claim. Most AI achievements are assessed by benchmarks, demonstrations or expert opinion, all of which are open to dispute. A Lean proof offers a different standard: machine-checkable correctness that does not depend on trusting the author, the lab or the model. That makes formal mathematics a favoured showcase for builders who want to claim a capability that sceptics cannot easily wave away.

The current episode also shows the limits of that standard. The claim is that a proof of the Riemann hypothesis exists as Lean code, produced with Claude’s help. Reports say the author, Levent Alpöge, a mathematician at Anthropic, released it as code with a short explanatory note (Scientific American). The framing contest is over what counts as a proof if no human can read it, and over how much credit belongs to the model. One secondary source says Claude discovered the proof autonomously, while another describes the author directing the approach. The sources do not agree, and the observatory has not resolved the point. The claimant also works for the company that makes the model, so the usual symmetric scepticism applies.

Key facts and dates

Independent verification by mathematicians had not been reported at the time of writing. That includes both the check that the formal statement is the right one and any review of the proof’s content.

Where to learn more

Sources

Primary source: the Lean Focused Research Organization's own description of its mission, founders and timeline.
Primary source: the community site for Lean and Mathlib.
Primary source: the original technical description from Microsoft Research, where Lean began.
Secondary reference for the 2013 origin and Mathlib statistics; version numbers in cached copies were inconsistent and are not used.
Reputable news coverage of the claim and its author.
Secondary coverage, the source of the file-count and file-size figures; lower authority.
Referenced in: Editorial No. 456, Editorial No. 454, Editorial No. 453