arXiv:2608.25449cs.CLAug 2026

Manuscript Offprint

arXiv:2608.25449

MathAdv: What Theorem Provers Know, Reason, Formalize, and Generalize

Jiaxin Yuan, Connor Martinez Lockhart, Xiaoyu Liu, Jiaqi Wang, Chenghao Deng, Xiayimei Han, Vlasios Mastrantonis, Dmitrii Gudin, Shaopeng Zhu, Abdirisak Abdullahi Mohamed, Bilal Hamdi Aytekin, Jiewen Lang, Zezheng Song, Furong Huang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jiaxin Yuan 1^{1}

jyuan98@umd.edu

Jiaqi Wang 3^{3}

jwang3737@gatech.edu

Vlassis Mastrantonis 4^{4}

vm429@cornell.edu

Abdirisak Mohamed 1^{1}

amoham70@umd.edu

Zezheng Song 1^{1}

zsong2019@gmail.com

Connor Martinez Lockhart 1^{1}

connorl@umd.edu

Chenghao Deng 1^{1}

dengch16@umd.edu

Dmitrii Gudin 1^{1}

dgudin@umd.edu

Bilal Aytekin 1^{1}

baytekin@umd.edu

Furong Huang 1,5^{1,5}

furongh@umd.edu

Xiaoyu Liu 1^{1}

xiaoyu.liu1231@gmail.com

Xiayimei Han 1^{1}

xhan1115@umd.edu

Shaopeng Zhu 2^{2}

szhu@terpmail.umd.edu

Jiewen Lang 2^{2}

jiewenlang@gmail.com

1^{1}University of Maryland, College Park 2^{2}Independent Researcher 3^{3}Georgia Institute of Technology

4^{4}Cornell University 5^{5}All Purpose AI

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.

ADVANCED

COVERAGE

321

source problems

13

mathematical domains

Undergraduate -> graduate

Topology

Fourier

Functional

Probability

Logic

+8

Expert curated

Lean verified

FOUR TASKS -> FOUR DIAGNOSTIC CAPABILITIES

Formal proof

CORE

LEAN 4 THEOREM PROVING

Construct a machine-verifiable Lean proof.

Knowledge

AUXILIARY

MULTIPLE CHOICE

Identify the relevant theorem, concept, or strategy.

Informal reasoning

AUXILIARY

FILL IN THE BLANK

Solve the mathematics without writing Lean.

Robustness

AUXILIARY

EXPERT-CRAFTED VARIANT

Preserve the mathematics; change the presentation.

SOURCE:

Formalization difficulty

Knowledge gap

Reasoning error

Presentation sensitivity

Figure 1: MathAdv at a glance.

1 Introduction

Mathematical reasoning is a fundamental benchmark for assessing artificial intelligence because it requires abstract understanding, logical deduction, and multi-step reasoning beyond memorization and surface-level pattern matching Hendrycks et al. (2021); Mirzadeh et al. (2025). It is also central to scientific discovery and other domains requiring reliable, verifiable conclusions, making its rigorous evaluation increasingly important Lewkowycz et al. (2022); Ríos-García et al. (2026). Early benchmarks primarily assessed informal natural-language solutions by their final answers, providing limited guarantees about the validity of intermediate reasoning Lewkowycz et al. (2022); Luo et al. (2025). Formal theorem proving offers a more rigorous alternative: models construct machine-verifiable proofs in assistants such as Lean Moura and Ullrich (2021), Coq Bertot and Castéran (2004), and Isabelle Nipkow et al. (2002), enabling automatic verification and precise feedback on invalid proof attempts Li et al. (2024); Hubert et al. (2026). Recent advances in language models have further strengthened proof-generation systems and intensified interest in formal reasoning Lin et al. (2025b); Ren et al. (2025).

Despite recent progress, existing formal mathematics benchmarks provide only a partial account of modern models' capabilities. Three limitations are particularly important. First, existing benchmarks offer limited diagnostic resolution. Successful theorem proving requires mathematical background knowledge, logical deduction, and formal proof construction, yet benchmarks typically report only aggregate proof accuracy. It is therefore difficult to determine whether a failure stems from a knowledge gap, an error in reasoning, or difficulty translating a valid argument into a formal proof. Second, existing benchmarks cover a narrow range of mathematical domains. They have largely focused on competition-level problems drawn from high-school and undergraduate mathematics, with an emphasis on algebra and number theory Liu et al. (2023); Tsoukalas et al. (2024). Consequently, model capabilities across a broader range of advanced mathematical domains remain poorly understood. Third, existing evaluations provide limited evidence of robustness and generalization. They generally assess models on a single, fixed formulation of each problem, even though language-model reasoning can be sensitive to minor changes in problem formulation Mirzadeh et al. (2025). Meanwhile, increasing model scale has intensified concerns about data contamination and memorization Gardner et al. (2020); Kaushik et al. (2020); Sakaguchi et al. (2021). Together, these issues make it increasingly important to determine whether successful proofs reflect robust mathematical reasoning or reliance on familiar formulations and superficial cues.

In response, we introduce MathAdv, a diagnostic benchmark for formal mathematics designed to address these three limitations directly. First, MathAdv provides greater diagnostic resolution. The original theorem-proving task evaluates formal proof construction, multiple-choice questions probe mathematical background knowledge, and fill-in-the-blank questions evaluate informal reasoning. This component-wise evaluation helps distinguish among knowledge gaps, reasoning errors, and formalization difficulties. Second, MathAdv broadens the range of mathematics being evaluated. It contains 321 problems spanning 13 undergraduate- and graduate-level domains, including areas rarely represented in existing theorem-proving benchmarks, such as topology, Fourier analysis, and functional analysis. Of these problems, 298 have formalized Lean 4 statements Moura and Ullrich (2021); the remaining 23 are retained for auxiliary evaluations and deferred for future formalization because the required Mathlib support is not yet available. Third, MathAdv explicitly evaluates robustness to problem reformulation. Expert-crafted transformed variants preserve the underlying mathematical content while substantially altering how each problem is presented, revealing whether model success transfers beyond the original formulation. Overall, each problem is accompanied by up to three auxiliary evaluations, enabling MathAdv to assess mathematical knowledge, informal reasoning, formal proof construction, and robustness within a unified framework.

Constructing MathAdv poses two main technical challenges: designing diagnostic tasks that isolate distinct capabilities while preserving the underlying mathematics, and producing Lean statements that are both type-correct and semantically faithful despite uneven Mathlib coverage. We address the first through domain-expert curation and independent review: experts select nonredundant problems, construct the auxiliary tasks, and verify that transformed variants retain the reasoning required by the originals. We address the second with an LLM-assisted, verifier-in-the-loop formalization pipeline. An LLM drafts each Lean statement, compiler feedback guides iterative correction, an independent LLM and a domain expert check semantic fidelity, and a second expert performs final review. For concepts lacking adequate Mathlib support, experts assess viable encodings and defer formalization when a faithful translation would require prohibitive library development.

Using this diagnostic framework, we systematically evaluate contemporary theorem provers and obtain four key findings. First, formalization remains a major bottleneck. Models often identify a promising proof direction but fail to translate it into a valid Lean proof. Second, mathematical reasoning does not transfer uniformly across domains. Performance varies substantially by subject, revealing uneven competence across advanced mathematics. Third, natural-language guidance is not universally beneficial. Reasoning hints improve general-purpose LLMs but can degrade proof-specialized theorem provers, indicating that model families use informal guidance differently. Finally, current theorem provers are brittle to equivalent reformulations. Most models solve original problems substantially more often than their expert-crafted transformations, suggesting reliance on presentation-specific patterns rather than robust mathematical understanding.

Our contributions are as follows:

  1. A broad, expert-reviewed benchmark for advanced formal mathematics. We introduce MathAdv, comprising 321 problems across 13 undergraduate- and graduate-level domains, including underrepresented areas such as topology, Fourier analysis, and functional analysis. Among them, 298 have Lean 4 statements constructed through an LLM-assisted, verifier-in-the-loop pipeline with independent expert review to ensure compilability and semantic fidelity.

  2. A component-wise diagnostic framework for theorem proving. Beyond aggregate proof accuracy, MathAdv evaluates four capabilities: mathematical knowledge, informal reasoning, formal proof construction, and robustness to reformulation. The original Lean tasks are paired with up to three auxiliary evaluations—multiple-choice questions, fill-in-the-blank problems, and expert-crafted transformed variants—to help identify the source of model successes and failures.

  3. A systematic characterization of contemporary theorem provers. Our evaluation shows that formalization remains a major bottleneck, performance varies substantially across mathematical domains, the effectiveness of natural-language guidance depends on model specialization, and robustness to mathematically equivalent reformulations remains limited.

References (59)