Generating Millions Of Lean Theorems With Proofs By Exploring State Transition Graphs
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated significant potential in generating mathematical proofs. However, a persistent challenge is that LLMs occasionally make mistakes, while even a minor mistake can invalidate an entire proof. Proof assistants like Lean offer a great remedy. They are designed for verifying each step of a proof in a formal language, and in recent years researchers have created AI models to generate proofs in their languages. However, the scarcity of large-scale datasets of Lean proofs restrict the performance of such Automated Theorem Proving (ATP) models. We developed LeanNavigator, a novel method for generating a large-scale dataset of Lean theorems and proofs by finding new ways to prove existing Lean theorems. By leveraging an interactive Lean client and an efficient method for proof step generation, LeanNavigator efficiently produces new theorems with corresponding proofs. Applying this approach to Mathlib4, we generated 4.7 million theorems totaling 1 billion tokens, surpassing previous datasets by more than an order of magnitude. Using this extensive dataset, we trained an AI model that outperforms the state-of-the-art ReProver model in theorem-proving tasks. These results confirm our hypothesis and demonstrate the critical role of large datasets in improving the performance of automated theorem provers.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 12 of its 26 references that are in the map. First posted on arXiv 16 Feb 2025.
Builds on
12 of 26 references.
References · 12
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2024The Faiss librarycited by 370
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
- 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.