LEVER: Adaptive Cost-Aware Proof Search Over AND/OR Graphs
cs.AI
Submitted: 2026-10-08
Updated: 2026-10-08
Code: https://github.com/mistralai/LeanstralSafeVerify
License: http://creativecommons.org/licenses/by/4.0/
The gist: Mathematicians value proofs for more than correctness: among correct proofs, simplicity, purity and the computational cost of finding them vary widely.
Abstract
Mathematicians value proofs for more than correctness: among correct proofs, simplicity, purity and the computational cost of finding them vary widely. Yet LLM-powered theorem provers largely search for any correct proof, and improve its quality only after it is found. We propose LEVER, a proof search algorithm that makes the objective over correct proofs programmable and optimizes it during search. LEVER scores partial proofs over an AND/OR proof graph, combining realized objective values with predictions for open subgoals, so the objective guides search before a proof is complete. The same mechanism optimizes computational cost, proof length, topical impurity, and even their weighted combinations, while the Lean kernel enforces correctness. On PutnamBench in Lean 4, under matched budgets, LEVER costs 34% less than a strong single-conversation agent while raising the solve rate from 80% to 96%. On reducing topical impurity, i.e., how far a proof strays from its theorem's subject, it improves over post-hoc refactoring (42% reduction against 33%) at two-thirds of the cost and more reliably; on proof length, the metric refactoring is built for, it approaches refactoring. Varying the objective's weights traces a quality-cost trade-off curve, so the user can choose how much a better proof is worth. Overall, LEVER is a performant, cost-efficient and tunable proof search algorithm for navigating the space of correct proofs.
Sources
- ImProver: Agent-Based Automated Proof Optimization
- Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving
- Goedel-Architect: Streamlining Formal Theorem Proving with Blueprint Generation and Refinement
- DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
- Baldur: Whole-Proof Generation and Repair with Large Language Models
- Proof-Refactor: Refactoring Generated Formal Proofs into Modular Artifacts
- ProofOptimizer: Training Language Models to Simplify Proofs without Human Demonstrations
- Learning to Search with MCTSnets
- LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks
- HyperTree Proof Search for Neural Theorem Proving
- Let's Verify Step by Step
- Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction
- Lean Finder: Semantic Search for Mathlib That Understands User Intents
- Lean Refactor: Multi-Objective Controllable Proof Optimization via Agentic Strategy Search
- Generative Language Modeling for Automated Theorem Proving
- DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decomposition
- Optimizing the Cost-Quality Tradeoff of Agentic Theorem Provers in Lean
- Kimina Lean Server: A High-Performance Lean Server for Large-Scale Verification
- Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learning
- BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem Proving
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems