Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs

Kaito Baba, Chaoran Liu, Shuhei Kurita, Akiyoshi Sannai
6/24/2025
40 citations
cs.AIcs.LG

Official code: kAIto47802/Prover-Agent (35 stars, Python, MIT, last commit 2025-11-01).

Abstract

We present Prover Agent, a novel AI agent for automated theorem proving that integrates large language models (LLMs) with a formal proof assistant, Lean. Prover Agent coordinates an informal reasoning LLM, a formal prover model, and feedback from Lean while also generating auxiliary lemmas.

Show full abstract

These auxiliary lemmas are not limited to subgoals in the formal proof but can also include special cases or potentially useful facts derived from the assumptions, which help in discovering a viable proof strategy. It achieves an 88.1% success rate on MiniF2F and solves 25 problems on the PutnamBench with a smaller sample budget than previous approaches, establishing a new state-of-the-art on both benchmarks among methods using small language models (SLMs). We also present theoretical analyses and case studies that illustrate how these generated lemmas contribute to solving challenging problems. Our code is publicly available at https://github.com/kAIto47802/Prover-Agent.

View on arXivView PDF

Code Implementations(1)

MIT

Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs

353Python, ShellOct 24, 20251 years agoMIT
agentic-aiaiai-agentartificial-intelligenceautomated-theorem-proving+7 more

Similar Papers

Cite this paper

@article{baba2025prover,
  title  = {Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs},
  author = {Kaito Baba and Chaoran Liu and Shuhei Kurita and Akiyoshi Sannai},
  year   = {2025},
  eprint = {2506.19923},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.19923v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.19923.svg)](https://codeofpaper.com/paper/2506.19923)

Discussion