logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·30.10.26
← Back to news

What mathematicians should know about the Lean Theorem Prover: reliability & AI

Original article
terrytao.wordpress.com|175 points|48 comments|by matt_d|Oct 9, 2026

What Mathematicians Should Know About the Lean Theorem Prover: Reliability & AI

Guest post by Thomas Hales, published on Terence Tao's blog (October 9, 2026).


Introduction: The Value of Mathematical Certainty

In discussions regarding the intrinsic value of mathematics, I find that the most critical aspects are its consistency and its unrivaled reliability. These qualities provide the essential bedrock upon which science and modern civilization are constructed.

Defining Formalization

A formal proof is not merely a standard mathematical argument; it is a proof that has been rigorously verified down to the most basic foundations of mathematics and the core rules of logic. While theoretically possible to perform by hand, the sheer volume of steps makes this impractical. Instead, we utilize specialized software.

Below are several landmark theorems that have undergone this process:

TheoremStatusNote
Four-Color TheoremFormalizedClassic example of computer-aided proof
Feit-Thompson TheoremFormalizedOdd-order theorem
Kepler ConjectureFormalizedRequired massive effort
Sphere EversionFormalizedTopological verification
Sphere Packing (8D & 24D)FormalizedRecent breakthroughs
Navier-Stokes Forced BlowupFormalizedCompleted in 2026
Fermat's Last TheoremFormalizedCompleted in 2026

The completion of the final three projects this year has significantly increased the mathematical community's awareness of formalization's potential.


The Ecosystem of Proof Assistants

Software designed for this purpose is referred to by several names, which are generally used interchangeably:

  • Proof Assistants
  • Theorem Provers
  • Interactive Theorem Provers (ITPs)

Historically, various systems have emerged. Freek Wiedijk’s work, "The Seventeen Provers of the World," provides a comparative look at these tools by implementing the proof that 2\sqrt{2}2​ is irrational across different systems. Some notable examples include:

  • Automath
  • HOL Light
  • Isabelle
  • Coq (recently rebranded as Rocq)
  • Metamath
  • Mizar
  • Lean ←\leftarrow← The current favorite among mathematicians.

The Evolution of Lean

Lean was launched in 2013 by Leo de Moura while he was at Microsoft. Crucially, de Moura ensured the software remained open-source. According to Kevin Hartnett's The Proof in the Code, Jeremy Avigad (Director of ICARM at Carnegie Mellon) was the tool's first adopter.

mathlib has grown into a colossal resource. Its current scale is staggering:

  • Theorems: ≈300,000\approx 300,000≈300,000
  • Definitions: >100,000> 100,000>100,000
  • Codebase: 2.52.52.5 million lines
  • Contributors: 700+700+700+

This library allows mathematicians to cite established results (like the Cauchy-Schwarz inequality) without needing to re-prove them from scratch.


The Era of Autoformalization

Historically, moving from a "paper proof" to a "formal proof" was a grueling manual process. For instance, the Kepler conjecture took roughly 20 human work-years and resulted in 500,000 lines of script.

The dream has always been autoformalization: using AI to read a LaTeX\text{\LaTeX}LATE​X or PDF file and automatically generate the corresponding Lean code.

Recent Milestones (2025–2026)

The momentum shifted dramatically in 2025. We have seen a transition from "quasi-autoformalization" (where humans guide the AI) to fully autonomous generation.

  • Prime Number Theorem: Achieved via quasi-autoformalization.
  • Formal Topology: Urban produced 130k lines of formal topology based on Munkres' textbook in just two weeks.
  • 24D Sphere Packing: Math Inc. autoformalized Viazovska's proof. The initial output was 500K SLOC, which was later "golfed" (pruned) down to 200K lines.
  • ATLAS Project: Meta/Facebook Research autoformalized large portions of 26 textbooks in May 2026.
  • Fermat's Last Theorem: Announced by Anthropic on September 4, 2026.
  • Navier-Stokes Blowup: Announced by OpenAI on September 8, 2026, including a Lean formalization.

"We believe that (auto)formalization may become quite easy and ubiquitous in 2026, regardless of which proof assistant is used." — Urban, January 2026

This shift is viewed by some, like Jesse Han, as a "revolutionary transformation" where massive-scale formalization becomes the norm. Furthermore, Jared Lichtman launched the MAP (Mathematics Autoformalization Project) on September 8, 2026, with the ambitious goal of translating all known mathematics into formal code.


Technical Foundations

Lean is built upon Type Theory, specifically a version known as the Calculus of Inductive Constructions (CIC).

To understand why this is necessary, one must recall the crisis in set theory triggered by Russell's Paradox in 1901, which concerned the set of all sets that do not contain themselves: {x∣x∉x}\{ x \mid x \notin x \}{x∣x∈/x}

(The article continues into the specifics of type theory...)


Visual Gallery

Community Contributors: Samuel Mausberg D. Flood Dominic Kyrielight joey.li William Oliver Unknown Observer Elad Amir