AI and the World's Hard Problems · Mathematics · arXiv · 2026-11-30
Optimizing the Cost-Quality Tradeoff of Agentic Theorem Provers in Lean

Generating formal proofs in Lean with LLMs can be expensive, since substantial compute is often spent on attempts that ultimately fail. The authors propose an action-routing agent with a data plane that decomposes problems into lemmas and samples proof attempts, and a control plane that uses failed attempts to estimate success likelihood and cost before deciding whether to continue or restart. On a subset of PutnamBench, the agent reduced average cost by 28.2% relative to a fixed-step baseline while preserving performance.