Skip to content
DARC
■ Change #6 · wiki.edited

Autoformalization: Normalize Markdown to canonical form

by DARC wiki2026-10-22 20:30:55 UTCOpen the page →
explainer.student
− **The task.** *Autoformalization* means turning mathematics written for people into Lean code that the proof checker accepts, using machine learning. A human-written proof skips steps and relies on the reader; Lean needs every definition and step spelled out.
+ **The task.** _Autoformalization_ means turning mathematics written for people into Lean code that the proof checker accepts, using machine learning. A human-written proof skips steps and relies on the reader; Lean needs every definition and step spelled out.
− **Two layers.** *Statement formalization* maps an informal claim to a Lean statement. It is only checked for type-correctness, so it can compile and still be wrong (a *misformalization*); typical failures are the wrong quantifier order, a missing hypothesis, natural-number subtraction truncating at zero (in Lean `3 - 5 = 0` for natural numbers, so a statement that writes `n - 1` silently changes meaning when `n = 0`), or a definition that differs in an edge case. *Proof formalization* maps a given informal proof to a Lean proof of a fixed statement, and the kernel judges it.
+ **Two layers.** _Statement formalization_ maps an informal claim to a Lean statement. It is only checked for type-correctness, so it can compile and still be wrong (a _misformalization_); typical failures are the wrong quantifier order, a missing hypothesis, natural-number subtraction truncating at zero (in Lean `3 - 5 = 0` for natural numbers, so a statement that writes `n - 1` silently changes meaning when `n = 0`), or a definition that differs in an edge case. _Proof formalization_ maps a given informal proof to a Lean proof of a fixed statement, and the kernel judges it.
**Evidence.** Wu et al. (2022) showed that a language model prompted with a few examples could turn 25.3% of competition problems into formally correct Isabelle statements, and that training on the translations improved a prover's miniF2F score from 29.6% to 35.2%. Since then work has moved to research-level material. The Formal Conjectures project reports 2,615 formal statements, of which 1,029 are open conjectures and 836 are solved problems used for testing proof formalization. Large agent-built formalizations include the dimension-8 sphere packing proof (completed in February 2026 by a human team, with Math, Inc.'s Gauss model doing the final stages) and a 13-million-line Lean certificate of Fermat's Last Theorem (September 2026).
− **Failure modes.** (1) *Library gaps*: papers use notions Mathlib lacks, so the agent must build them or silently change the theorem. (2) *Fidelity*: only people, adversarial proving of the negation, or round-trip translation can check meaning. (3) *Scale*: generated developments can be much larger than Mathlib and compile far slower. (4) *Evaluation*: older benchmarks saturate, so credible tests use open problems and new papers.
+ **Failure modes.** (1) _Library gaps_: papers use notions Mathlib lacks, so the agent must build them or silently change the theorem. (2) _Fidelity_: only people, adversarial proving of the negation, or round-trip translation can check meaning. (3) _Scale_: generated developments can be much larger than Mathlib and compile far slower. (4) _Evaluation_: older benchmarks saturate, so credible tests use open problems and new papers.
**Why it matters.** A checked proof lets one trust an AI result without trusting the AI.
hash acf1b3b72d78bf983c3dc9374fe0e7af053a0322b8cd273aebaa6cbfdfaa9df0
previous 846ecdd6efba724b085fd672a2ad8c83d4da18000c7c1ab65a1983bdbbff3d46