ProofLoom: Proof-Obligation-Driven Theory Construction for Autoformalizing Research-Level Stochastic Optimization
Feiming WangDaibo LiKun Yuan
Feiming Wang
Daibo Li
Kun Yuan
+3
ProofLoom is a fully automated LLM-agent system for Proof-Obligation-Driven Theory Construction that, given a published algorithm, target theorem, and source proof, autonomously builds the Lean model and the supporting domain theory linking foundational libraries to convergence proofs. Open proof obligations drive development of definitions, interfaces, lemmas, and proof plans; signature contracts record evidence and obligations for model revisions, while an independent Judge rejects unsupported assumptions and weakened conclusions, and Planner and Audit check the Lean proof against the published argument. A shared SOptLib extracts, generalizes, and verifies reusable results and records modeling decisions and failed routes for later tasks. On fifteen textbook and research-paper tasks it obtains mean human ratings of 6.3/7 and 6.4/7 versus 4.9/7 and 5.0/7 for the strongest of six baselines, and across 33 developments yields 490,693 lines of algorithm-local Lean code with no sorry, exposing 28 checked errors in published sources across 22 developments.

arXiv ·
· September 28, 2026