Do Theorem Provers Need Theorem-Proving Agents? mini-Lean-agent: A Coding-Agent Baseline for Lean
Tomas Ortega, Simon Park, Ayush Khaitan, Liam Fowl, Alex Kontorovich, Sanjeev Arora
Abstract
General-purpose coding agents use standard shell and file interactions, yet formal theorem-proving agents often rely on specialized, ad-hoc tooling. This makes it difficult to determine which components of theorem-proving agents provide benchmark gains: an improved base model, a specialized harness, a specific tool, or a combination of any of them. We introduce mini-Lean-agent, a deliberately minimal agent for Lean tasks whose only model-visible tool is bash. The model must use bash to inspect and edit the repository, search local libraries, invoke Lean, and manage its own intermediate work, while a separate trusted evaluator verifies the final artifact. We compare mini-Lean-agent against AxProverBase and Numina-Lean-Agent on the Putnam 2025 benchmark. Experiments with Gemini 3.8 Flash as the base model show that mini-Lean-agent solves 7/12 problems at \$2 per problem limit, compared with AxProverBase's 4/12. With Astra as the base model, mini-Lean-agent solves 12/12 problems at an average cost of \$1.28 per problem. This suggests that a generic coding agent with a minimal harness can already achieve strong performance on Lean benchmarks. Our results motivate using mini-Lean-agent as a standard baseline when evaluating theorem-proving infrastructure.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LO
- Comments
- Accepted at the 6th Workshop on Mathematical Reasoning and AI (NeurIPS 2026)
Related papers
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
The Agentic Scientist: Orchestrating Coding Agents for Automated Scientific (Co-)Discovery
Shared title terminologycs.AIRobert Tjarko Lange, Luca Grillotti, Yutaro Yamada et al.
Beyond the Verdict: Agentic Code Judging with Verifiable Feedback
Shared title terminologycs.AIZheye Deng, Sha Li, Changlong Yu et al.
Get In, Decide, Prove: A Merchant-Side Readiness Benchmark for Agentic Commerce
Shared title terminologycs.AIAdrian de Valois-Franklin, Alex Bogdan, Anas Ibrahim et al.
PhysCodeGym: Benchmarking Coding Agents for Physically Verifiable 4D Reconstruction
Shared title terminologycs.AIShuai Shao, Jinchen He, Cunxin Fan et al.
Structural Baselines Matter for Agent Failure Detection and Attribution
Shared title terminologycs.AIRamesh Arvind Naagarajan, Stefan Streif