mlsanityData to 7 Oct 2026

ImProver: Agent-Based Automated Proof Optimization

arXiv 2410.04753 ↗First posted 7 Oct 2024cs.AI cs.CL cs.LGcited by 10

On the map: LLM agents and tool use → Educational agents and math problem solving

Abstract (arXiv)

Large language models (LLMs) have been used to generate formal proofs of mathematical theorems in proofs assistants such as Lean. However, we often want to optimize a formal proof with respect to various criteria, depending on its downstream use. For example, we may want a proof to adhere to a certain style, or to be readable, concise, or modularly structured. Having suitably optimized proofs is also important for learning tasks, especially since human-written proofs may not optimal for that purpose. To this end, we study a new problem of automated proof optimization: rewriting a proof so that it is correct and optimizes for an arbitrary criterion, such as length or readability. As a first method for automated proof optimization, we present ImProver, a large-language-model agent that rewrites proofs to optimize arbitrary user-defined metrics in Lean. We find that naively applying LLMs to proof optimization falls short, and we incorporate various improvements into ImProver, such as the use of symbolic Lean context in a novel Chain-of-States technique, as well as error-correction and retrieval. We test ImProver on rewriting real-world undergraduate, competition, and research-level mathematics theorems, finding that ImProver is capable of rewriting proofs so that they are substantially shorter, more modular, and more readable.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 15 of its 26 references that are in the map. First posted on arXiv 7 Oct 2024.

Builds on

15 of 26 references.

References · 15

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  3. 2023Teaching Large Language Models to Self-Debugcited by 963
  4. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  5. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
  6. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  7. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
  8. 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
  9. 2022DocPrompting: Generating Code by Retrieving the Docscited by 151
  10. 2022Formal Mathematics Statement Curriculum Learningcited by 141
  11. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
  12. 2019The Lean mathematical librarycited by 127
3 more
  1. 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
  2. 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 35
  3. 2021Learning to Give Checkable Answers with Prover-Verifier Gamescited by 29

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 7.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs
  2. 2026Advancing Mathematics Research with AI-Driven Formal Proof Search
  3. 2025APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning
  4. 2026Efficient Test-Time Optimization for Multi-Agent Proof Autoformalization
  5. 2026Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics
  6. 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks
  7. 2026AIProver: Agentic Auto-Formalization of Mathematical Research via Certificate-Driven Evolving Harness
  8. 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance