Benchmarking Testing in Automated Theorem Proving
Not on the map. Why?
Abstract (arXiv)
Recent advances in large language models (LLMs) have shown promise in formal theorem proving, yet evaluating semantic correctness remains challenging. Existing evaluations rely on indirect proxies such as lexical overlap with human-annotated proof, or expensive manual inspection. Inspired by the shift from lexical comparison to test-based evaluation in code generation, we propose T , a framework that evaluates the semantic correctness of formal theorems: a generated theorem is considered correct only if all dependent successor theorems compile successfully, analogous to integration testing. We construct a benchmark from 5 real-world Lean 4 repositories, comprising 2,206 problems paired with 41 successor theorems on average, automatically extracted without human effort. Experiments demonstrate that while state-of-the-art models achieve high compilation success, they perform significantly worse under our semantic metric. The best model, Claude-Sonnet-4.5, achieves only 38.9% Testing Accuracy on the full set, given both natural language proof and successor theorems as context, revealing a critical gap in current theorem generation capabilities.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 26 Apr 2026.
Builds on
18 of 28 references.
References · 18
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
- 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 180
- 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learningcited by 173
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 153
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 140
- 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 115
- 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 78
6 more
- 2024Herald: A Natural Language Annotated Lean 4 Datasetcited by 54
- 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 34
- 2024Reliable Evaluation and Benchmarks for Statement Autoformalizationcited by 25
- 2025ProofFlow: A Dependency Graph Approach to Faithful Proof Autoformalizationcited by 18
- 2025miniF2F-Lean Revisited: Reviewing Limitations and Charting a Path Forwardcited by 13
- 2024Mathematical Derivation Graphs: A Relation Extraction Task in STEM Manuscriptscited by 1
Built on by
Not cited yet.