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
- Origin: de Moura started Lean at Microsoft Research in 2013 (Wikipedia; Microsoft Research). The FRO’s about page lists him as chief architect and co-founder and says he is now at Amazon Web Services.
- Institutions: The Lean FRO was founded in 2023. Its own timeline lists a Mathlib Initiative launched in September 2025 and a July 2026 donation from Amazon Automated Reasoning, described as the largest in the FRO’s history. These timeline items came from a single source and we did not independently confirm them.
- The Riemann hypothesis claim: Search coverage reports a four-page note and a Lean archive of about 175,187 source files and roughly 239 MB. It reports that Elliot Glazer wrote on X that the formal statement is the generalized Riemann hypothesis and that compilation was still running. He put the chance of a Lean bug at under 1%. We could not trace that statement to a primary source (secondary coverage).
- Size: We could not confirm the “17 million lines” figure attributed to Colin Fraser. The file count and size above are in the same range of unusual bulk, but they are a different measure, and we cannot say how they relate. The editorial’s figure should be read as a single-source report.
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
- Lean FRO about page: the organization’s own account of its mission and team.
- Lean community site and Mathlib: the community hub for the language and its mathematical library.
- The Lean Theorem Prover (System Description): the original technical paper from Microsoft Research.
- Scientific American on the Riemann claim: the most reputable news coverage found of the claim itself.