ProofLoom automates Lean formalization of stochastic optimization research
An LLM-agent system builds machine-checked Lean models and proofs from published algorithms, reporting high human ratings and flagged errors in source papers.
In plain words
Turning mathematical research papers into fully checked computer proofs usually demands months of expert work. ProofLoom is an automated AI-agent system that reads a published algorithm and its theorem, then builds the required Lean code and supporting theory itself. The authors report it also uncovered errors in the papers it formalized.
What was announced
Formalizing research-level stochastic optimization in Lean requires both an algorithm model and domain theory linking foundational libraries to convergence proofs, and revisions made to restore provability can silently change the mathematical claim, the paper's abstract states. ProofLoom addresses this with open proof obligations driving the construction of definitions, interfaces, lemmas, and proof plans. Signature contracts record evidence and obligations across model revisions, an independent Judge rejects unsupported assumptions and weakened conclusions, a Planner expands the published argument into intermediate claims, and an Audit step checks whether the Lean proof follows it.
On fifteen textbook and research-paper tasks, the authors report mean human ratings of 6.3/7 and 6.4/7, against 4.9/7 and 5.0/7 for the strongest of six baselines. Across 33 developments the system produced 490,693 lines of algorithm-local Lean code with no sorry, and its formalizations exposed 28 incorrect formulas, proof gaps, and algorithm-analysis mismatches in published sources across 22 developments, each with checked evidence. The authors add that a shared library, SOptLib, accumulates verified results and failed proof routes so later tasks can reuse them in a cycle of construction, accumulation, and reuse.
What it does not show
- Evidence is limited to the paper's abstract; the full article's methods, task details, and evaluation were not available for verification.
- Ratings, code output, and error findings are self-reported by the authors and have not been independently confirmed.
Sources
Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 28 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.