Introduces a benchmark of 298 Lean 4 formalized statements across 13 domains and evaluates LLM provers on generating Mathlib-based proofs.
Abstract
Formal theorem proving enables machine-verifiable evaluation of mathematical reasoning, yet existing benchmarks often emphasize aggregate proof accuracy, concentrate on a narrow range of mathematics, and provide limited evidence of robustness to equivalent reformulations. We introduce MathAdv, a diagnostic benchmark spanning 13 domains across undergraduate- and graduate-level mathematics. Alongside Lean 4 theorem proving, MathAdv provides up to three auxiliary tasks: multiple-choice questions that probe mathematical knowledge, fill-in-the-blank problems that isolate informal reasoning, and expert-crafted transformations that test robustness to problem presentation. Our evaluation of contemporary theorem provers yields four findings: formalization remains a major bottleneck; performance varies substantially across mathematical domains; natural-language guidance helps general-purpose LLMs but can hinder proof-specialized models; and mathematically equivalent reformulations expose substantial robustness limitations. Together, these results show how component-wise evaluation can reveal model capabilities and failure modes that aggregate theorem-proving accuracy obscures. The dataset and evaluation scripts are available at https://github.com/margotyjx/MathAdv.git.
Problem
Existing formal theorem-proving benchmarks report only aggregate proof accuracy and focus on a narrow, competition-style range of mathematics. They also give little evidence about robustness to equivalent reformulations, which makes it hard to tell why models fail.
Approach
MathAdv contains 321 undergraduate- and graduate-level problems spanning 13 domains. Of these, 298 have Lean 4 statements produced by an LLM-drafted, compiler-feedback, expert-reviewed autoformalization pipeline. Problems are paired with auxiliary tasks: direct-answer, multiple-choice, and expert-crafted transformed variants. The authors evaluate step-level provers, whole-proof provers and general-purpose LLMs on these tasks and analyze failure patterns.
Figure 3: Human-in-the-loop autoformalization process for MathAdv.
Results
Lean 4 proof accuracy is low; the best result is Goedel-Prover-V2 at 21.88%, and performance varies widely across domains. Natural-language hints help general-purpose LLMs but can hurt proof-specialized models. Interactive feedback raises GPT-5.4 from 9.06% to 13.75%, and equivalent reformulations expose robustness failures.
Figure 5: Performance on Lean 4 formal proving with and without hints from MC questions.
Model
Accuracy (%)
Goedel-Prover-V2
21.88
DeepSeek-Prover-V1.5 RL + RMaxTS
16.56
InternLM2-Math-Plus-7B
13.12
DeepSeek-R1
10.94
GPT-5.4
10.62
Lean 4 theorem-proving accuracy on MathAdv (selected models)