Skip to content
DraconiticResearch
Search Sources API
203,203 studies31 sourcesUpdated 10 min ago
PreprintCC BY 4.0arXiv

ProofLoom: Proof-Obligation-Driven Theory Construction for Autoformalizing Research-Level Stochastic Optimization

Abstract

Formalizing research-level stochastic optimization in Lean requires both an algorithm model and domain theory connecting foundational libraries to convergence proofs. Revising a model to restore provability can change the mathematical claim. We introduce ProofLoom, a fully automated LLM-agent system for Proof-Obligation-Driven Theory Construction. Given a published algorithm, target theorem, and source proof, ProofLoom autonomously constructs the Lean model and supporting theory. Open proof obligations drive the development of definitions, interfaces, lemmas, and proof plans. Signature contracts record evidence and obligations for model revisions; an independent Judge rejects unsupported assumptions and weakened conclusions. Planner expands the published argument into intermediate claims, and Audit checks whether the Lean proof follows it. Across tasks, SOptLib accumulates verified mathematics and construction experience: reusable results are extracted, generalized, and verified, while modeling decisions and failed proof routes are recorded. Later tasks retrieve these results and records and contribute new developments, forming a cycle of construction, accumulation, and reuse. On fifteen textbook and research-paper tasks, ProofLoom obtains mean human ratings of 6.3/7 and 6.4/7, compared with 4.9/7 and 5.0/7 for the strongest of six baselines. Across 33 developments, it produces 490,693 lines of algorithm-local Lean code with no sorry. The formalizations also expose 28 incorrect formulas, proof gaps, and algorithm-analysis mismatches in published sources across 22 developments, each with checked evidence.

Related

  1. Stochastic PDE construction of some non-local or non-translation-invariant Anderson operators in the full subcritical regime
    Léonard Ferdinand, Samaël Mackowiak, Aurélien Minguella
    HALPreprintCC BY 4.0Full textAnalysis & PDEsProbabilityHALarXiv
  2. Construction of the 2D non-Abelian Yang-Mills-Higgs measure via stochastic quantisation
    Bjoern Bringmann, Sky Cao, Martin Hairer +1
    arXivPreprintCC BY 4.0Full textAnalysis & PDEsMathematical physicsarXiv
  3. Regret-Based Scenario-Tree Construction for Multistage Stochastic Programs with Deterministic Constraints
    Robin Bruneel, Mathijs Schuurmans, Panagiotis Patrinos
    arXivPreprintarXiv licenceFull textOptimisation & controlarXiv
  4. Stochastic Optimization and Data Science
    Arutyun Avetisyan, Darina Dvinskikh, Alexander Gasnikov +3
    arXivPreprintCC BY 4.0Full textOptimisation & controlarXiv
  5. Stochastic Optimization of Tree Tensor Networks
    Marius Willner, Maximilian Scharf, André Uschmajew +2
    arXivPreprintCC BY-NC-SA 4.0Full textOptimisation & controlComputational physicsarXiv
BibTeX
@misc{wang2026proofloom,
  title = {{ProofLoom: Proof-Obligation-Driven Theory Construction for Autoformalizing Research-Level Stochastic Optimization}},
  author = {Feiming Wang and Daibo Li and Kun Yuan},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.34960},
  eprint = {2609.34960},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.34960},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - ProofLoom: Proof-Obligation-Driven Theory Construction for Autoformalizing Research-Level Stochastic Optimization
AU  - Feiming Wang
AU  - Daibo Li
AU  - Kun Yuan
PY  - 2026
DA  - 2026/09/28
PB  - arXiv
DO  - 10.48550/arxiv.2609.34960
UR  - https://arxiv.org/abs/2609.34960
AB  - Formalizing research-level stochastic optimization in Lean requires both an algorithm model and domain theory connecting foundational libraries to convergence proofs. Revising a model to restore provability can change the mathematical claim. We introduce ProofLoom, a fully automated LLM-agent system for Proof-Obligation-Driven Theory Construction. Given a published algorithm, target theorem, and source proof, ProofLoom autonomously constructs the Lean model and supporting theory. Open proof obligations drive the development of definitions, interfaces, lemmas, and proof plans. Signature contracts record evidence and obligations for model revisions; an independent Judge rejects unsupported assumptions and weakened conclusions. Planner expands the published argument into intermediate claims, and Audit checks whether the Lean proof follows it. Across tasks, SOptLib accumulates verified mathematics and construction experience: reusable results are extracted, generalized, and verified, while modeling decisions and failed proof routes are recorded. Later tasks retrieve these results and records and contribute new developments, forming a cycle of construction, accumulation, and reuse. On fifteen textbook and research-paper tasks, ProofLoom obtains mean human ratings of 6.3/7 and 6.4/7, compared with 4.9/7 and 5.0/7 for the strongest of six baselines. Across 33 developments, it produces 490,693 lines of algorithm-local Lean code with no sorry. The formalizations also expose 28 incorrect formulas, proof gaps, and algorithm-analysis mismatches in published sources across 22 developments, each with checked evidence.
ER  -