Proof Formalization
How it works
An informal proof is broken down into precise definitions, assumptions and inference steps. Each element is written in the formal language of the chosen proof assistant, often reusing an existing library (e.g. Mathlib). The proof is built interactively: a human guides the search using tactics that automate routine steps, while the system fills in details. Finally, a small, trusted kernel mechanically checks the completed proof down to the axioms — if it passes, the theorem is confirmed. In the AI-assisted variant, a language model first autoformalizes the content (translating natural language into formal statements), and then search and reinforcement-learning systems (e.g. AlphaProof) generate candidate proofs that the kernel immediately verifies.
Problem solved
Traditional proofs written in natural language can be ambiguous, contain hidden assumptions and gaps, and their verification relies on trusting human referees who also make mistakes. Some proofs are too long for any human or team to check in full. Formalization removes this uncertainty: it reduces a proof to a form a program checks unambiguously — it either passes or it does not.
Strengths & limitations
Components
The symbolic language and deductive system (axioms plus inference rules) in which theorems and proofs are written, free of the ambiguity of natural language.
Software (e.g. Lean, Rocq/Coq, Isabelle) that supports building a proof through human–machine collaboration. A small, trusted kernel mechanically checks every step (the de Bruijn criterion).
Commands that automate routine proof steps and let a proof be built with relatively few interactions; the human guides the search while the system fills in details.
A reusable collection of formalized definitions and theorems (e.g. Mathlib for Lean) on which the formalization of new results builds.
Implementation
Fully formalizing a non-trivial proof can take a team years (e.g. Flyspeck ~11 years), because every implicit step must be made explicit.
Published proofs are written in "rigorous informal logic" with some ambiguity; converting them to fully formal form is hard and, outside proof assistants, rarely done.
The correctness guarantee is only as good as the checking kernel; soundness bugs (accepting a false statement) have been found in the kernels of Lean, HOL Light and Rocq among others.
Evolution
Nicolaas Govert de Bruijn began work on Automath, considered the first proof checker; in 1977 van Benthem Jutting used it to formalize Landau's "Foundations of Analysis".
Georges Gonthier and colleagues completed a full formal proof of the four color theorem in the Coq (now Rocq) proof assistant.
A team completed the formalization of the odd-order (Feit–Thompson) theorem — one of the longest proofs in the history of algebra.
Thomas Hales' team announced the completed formal proof of the Kepler conjecture, built in Isabelle and HOL Light; work ran from 2003 and showed how labour-intensive formalization is.
An article describing Mathlib — the community-driven, unified library of mathematics formalized in Lean — was published; the library has since grown by more than an order of magnitude.
The polynomial Freiman–Ruzsa conjecture over F2 was formalized in Lean, in a project co-led among others by Terence Tao — an example of rapid, collaborative formalization of a fresh result.
DeepMind presented AlphaProof: a system pairing reinforcement learning with Lean, trained in part by autoformalizing ~1M problems. With AlphaGeometry 2 it solved 4 of 6 IMO 2024 problems (28/42 points), at silver-medal level.
The AlphaProof methodology was published in the journal Nature (12 November 2025).