From Sorry to QED: Refining LLM Math Proofs via Angelic Execution
Yanju Chen, Hanzhi Liu, Ruizhe Qian, Jiaming Shan, Xu Yang, Yufei Ding, Osbert Bastani, Yu Feng
Key points
From the paper's conclusion- 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.
Abstract
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%.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Maestro: Agentic Formal Proof Development by CoordinationarXiv · 2026
- Interactive Proofs as a Unified Framework for Evaluating and Leveraging Verifiable Proof Generation by LLM AgentsarXiv · 2026
- Can LLMs Reliably Grade Olympiad Proofs? A Study of Mathematical Verification with LLMsarXiv · 2026
- Paper2Lean: Agentic Autoformalization of Mathematical Research Papers at ScalearXiv · 2026
- LEVER: Adaptive Cost-Aware Proof Search Over AND/OR GraphsarXiv · 2026
- PaperFormalizer: Author-in-the-Loop Autoformalization of Research Papers in LeanarXiv · 2026