From Sorry to QED: Refining LLM Math Proofs via Angelic Execution
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) can now generate Lean proof scripts that capture the high-level structure of many mathematical arguments. However, these scripts frequently fail on complex theorems: a single missing side condition or misapplied lemma can cause the prover to abort early and discard an otherwise viable proof outline. This paper presents MathEye, a framework that converts imperfect LLM-generated proof scripts into fully verified Lean proofs by combining symbolic reasoning with minimal human interaction. At the core of MathEye is angelic proof checking, an optimistic execution model that replaces failing proof fragments with placeholders while preserving the overall structure of the argument. This optimistic check produces an angelic proof that isolates the exact proof obligations that the LLM fails to discharge. Because these unresolved obligations are often logically interdependent, asking a mathematician to address every placeholder directly is inefficient. To minimize human effort, MathEye performs residual analysis over a proof dependence graph that captures symbol-level data flow in the angelic proof. By formulating obligation selection as a MaxSAT optimization problem, MathEye selects a minimal-cost set of essential obligations whose resolution suffices to complete the entire proof. MathEye presents these essential obligations to the mathematician in ordinary mathematical language and uses the mathematician's answers to automatically reconstruct the complete Lean proof. Experiments on 30 real-world benchmarks across analysis and algebra show that MathEye solves 93.3% of the problems while reducing the number of required user interactions by 55%.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 12 of its 35 references that are in the map. Submitted 17 Nov 2026, announced 18 Nov 2026.
Builds on
12 of 35 references.
References · 12
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,478
- 2023Llemma: An Open Language Model For Mathematicscited by 410
- 2022Autoformalization with Large Language Modelscited by 282
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 184
- 2019The Lean mathematical librarycited by 164
- 2022Formal Mathematics Statement Curriculum Learningcited by 149
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 114
- 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 105
- 2022Top-Down Synthesis for Library Learningcited by 61
- 2018TacticToe: Learning to Prove with Tacticscited by 46
- 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 39
- 2023Certifying Zero-Knowledge Circuits with Refinement Typescited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning
- 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance
- 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Language
- 2026On Reasoning-Centric LLM-based Automated Theorem Proving
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Models
- 2025MINIF2F-DAFNY: LLM-Guided Mathematical Theorem Proving via Auto-Active Verification
- 2026ProofSketcher: Hybrid LLM + Lightweight Proof Checker for Reliable Math/Logic Reasoning
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks