Lean-STaR: Learning to Interleave Thinking and Proving
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Traditional language model-based theorem proving assumes that by training on a sufficient amount of formal proof data, a model will learn to prove theorems. Our key observation is that a wealth of informal information that is not present in formal proofs can be useful for learning to prove theorems. For instance, humans think through steps of a proof, but this thought process is not visible in the resulting code. We present Lean-STaR, a framework for training language models to produce informal thoughts prior to each step of a proof, thereby boosting the model's theorem-proving capabilities. Lean-STaR uses retrospective ground-truth tactics to generate synthetic thoughts for training the language model. At inference time, the trained model directly generates the thoughts prior to the prediction of the tactics in each proof step. Building on the self-taught reasoner framework, we then apply expert iteration to further fine-tune the model on the correct proofs it samples and verifies using the Lean solver. Lean-STaR achieves state-of-the-art results on the miniF2F-test benchmark within the Lean theorem proving environment, significantly outperforming base models (boldsymbol43.4% rightarrow 46.3%, Pass@64). We also analyze the impact of the augmented thoughts on various aspects of the theorem proving process, providing insights into their effectiveness.
Key facts. Cited by 64 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 33 of its 61 references that are in the map. First posted on arXiv 14 Jul 2024.
Builds on
33 of 61 references.
Closest ancestors · 4
Same direction, newest first
- 2024Don't Trust: Verify -- Grounding LLM Quantitative Reasoning with Autoformalization26 Mar
- 2024MUSTARD: Mastering Uniform Synthesis of Theorem and Proof Data14 Feb
- 2023Llemma: An Open Language Model For Mathematics16 Oct
- 2020Generative Language Modeling for Automated Theorem Proving7 Sep
Other references · 29
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
- 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 325
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
- 2022Autoformalization with Large Language Modelscited by 252
17 more
- 2017Thinking Fast and Slow with Deep Learning and Tree Searchcited by 245
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 180
- 2022Formal Mathematics Statement Curriculum Learningcited by 141
- 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
- 2019The Lean mathematical librarycited by 127
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
- 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 108
- 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 80
- 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 78
- 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
- 2021LIME: Learning Inductive Bias for Primitives of Mathematical Reasoningcited by 46
- 2019Exploration of Neural Machine Translation in Autoformalization of Mathematics in Mizarcited by 40
- 2023Decomposing the Enigma: Subgoal-based Demonstration Learning for Formal Theorem Provingcited by 37
- 2023LLMSTEP: LLM proofstep suggestions in Leancited by 32
- 2022Towards a Mathematics Formalisation Assistant using Large Language Modelscited by 22
- 2020Document-Level Definition Detection in Scholarly Documents: Existing Models, Error Analyses, and Future Directionscited by 11
Built on by
Citing papers per year: 2024: 11; 2025: 35; 2026: 18.
64 papers.
Sort:
By area:
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2024DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Searchcited by 189
- 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learningcited by 173
- 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 126
- 2025BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem Provingcited by 82
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
- 2025Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpeningcited by 78
- 2025STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Provingcited by 77
- 2025OdysseyBench: Evaluating LLM Agents on Long-Horizon Complex Office Application Workflowscited by 54
- 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Modelscited by 45
- 2025Solving Formal Math Problems by Decomposition and Iterative Reflectioncited by 35
- 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 34
38 more
- 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 33
- 2025Optimizing Temperature for Language Models with Multi-Sample Inferencecited by 33
- 2024HunyuanProver: A Scalable Data Synthesis Framework and Guided Tree Search for Automated Theorem Provingcited by 32
- 2025Chain-of-Reasoning: Towards Unified Mathematical Reasoning in Large Language Models via a Multi-Paradigm Perspectivecited by 29
- 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofscited by 28
- 2025Leanabell-Prover: Posttraining Scaling in Formal Reasoningcited by 27
- 2025MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Provingcited by 24
- 2025Solving Inequality Proofs with Large Language Modelscited by 21
- 2025Learning to Reason via Mixture-of-Thought for Logical Reasoningcited by 20
- 2026Large Language Model Reasoning Failurescited by 20
- 2025One Example Shown, Many Concepts Known! Counterexample-Driven Conceptual Reasoning in Mathematical LLMscited by 12
- 2024SubgoalXL: Subgoal-based Expert Learning for Theorem Provingcited by 11
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworkscited by 11
- 2024What makes math problems hard for reinforcement learning: a case studycited by 9
- 2024dafny-annotator: AI-Assisted Verification of Dafny Programscited by 8
- 2025From Hypothesis to Publication: A Comprehensive Survey of AI-Driven Research Support Systemscited by 8
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theoremscited by 8
- 2026Goedel-Architect: Streamlining Formal Theorem Proving with Blueprint Generation and Refinementcited by 7
- 2025AdaSTaR: Adaptive Data Sampling for Training Self-Taught Reasonerscited by 6
- 2025Atomic Thinking of LLMs: Decoupling and Exploring Mathematical Reasoning Abilitiescited by 6
- 2024YuLan-Mini: An Open Data-efficient Language Modelcited by 5
- 2025FANS -- Formal Answer Selection for Natural Language Math Reasoning Using Lean4cited by 5
- 2025FormalML: A Benchmark for Evaluating Formal Subgoal Completion in Machine Learning Theorycited by 5
- 2025GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Provingcited by 5
- 2026TaoBench: Do Automated Theorem Prover LLMs Generalize Beyond MathLib?cited by 5
- 2024RL-STaR: Theoretical Analysis of Reinforcement Learning Frameworks for Self-Taught Reasonercited by 4
- 2025Steering LLMs for Formal Theorem Provingcited by 4
- 2024Proof Flow: Preliminary Study on Generative Flow Network Language Model Tuning for Formal Reasoningcited by 3
- 2025Agentic-R1: Distilled Dual-Strategy Reasoningcited by 3
- 2025ProofCompass: Enhancing Specialized Provers with LLM Guidancecited by 3
- 2025Translating Informal Proofs into Formal Proofs Using a Chain of Statescited by 3
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repaircited by 3
- 2026Pythagoras-Prover: Advancing Efficient Formal Proving via Augmented Lean Formalisationcited by 3
- 2025Beyond Theorem Proving: Formulation, Framework and Benchmark for Formal Problem-Solvingcited by 2
- 2025Can Large Reasoning Models Improve Accuracy on Mathematical Tasks Using Flawed Thinking?cited by 2
- 2026Learning to Reason with Insight for Informal Theorem Provingcited by 2
- 2025CuDIP: Enhancing Theorem Proving in LLMs via Curriculum Learning-based Direct Preference Optimizationcited by 1
- 2025LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generationcited by 1
50 most cited of 64 All 64 (JSON)
- 2026WorldBench: Culturally Grounded Benchmark for Multilingual Agents1 Sep 2026
- 2026MathAdv: What Theorem Provers Know, Reason, Formalize, and Generalize26 Aug 2026
- 2026VALG: An Agentic System for ML Theory Research13 Aug 2026
- 2026Reward-Oracle MCTS for Formal Theorem Proving: Sample-Efficient Search and the Need for Kernel-Level Proof Auditing11 Aug 2026
- 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontier8 Jul 2026
- 2026LAMP: Lean-based Agentic framework with MCP and Proof Repair27 Jun 2026
- 2026The Signal-Coverage Matrix: Stratifying Type and Semantic Errors in Statement Autoformalization26 Jun 2026
- 2026Pythagoras-Prover: Advancing Efficient Formal Proving via Augmented Lean Formalisation10 Jun 2026
- 2026Goedel-Architect: Streamlining Formal Theorem Proving with Blueprint Generation and Refinement4 Jun 2026
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks2 Jun 2026
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repair17 May 2026
- 2026CAM-Bench: A Benchmark for Computational and Applied Mathematics in Lean17 May 2026
38 more
- 2026Rethinking Supervision Granularity: Segment-Level Learning for LLM-Based Theorem Proving12 May 2026
- 2026LLM Framework for Discovering Major Mathematical Conjectures: AI's Quest for the Next Riemann Hypothesis19 Apr 2026
- 2026Learning to Reason with Insight for Informal Theorem Proving17 Apr 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026TaoBench: Do Automated Theorem Prover LLMs Generalize Beyond MathLib?13 Mar 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2025Can Large Reasoning Models Improve Accuracy on Mathematical Tasks Using Flawed Thinking?18 Dec 2025
- 2025Translating Informal Proofs into Formal Proofs Using a Chain of States11 Dec 2025
- 2025Parrot: A Training Pipeline Enhances Both Program CoT and Natural Language CoT for Reasoning29 Oct 2025
- 2025GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving13 Oct 2025
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theorems12 Oct 2025
- 2025BLAZER: Bootstrapping LLM-based Manipulation Agents with Zero-Shot Data Generation9 Oct 2025
- 2025Atomic Thinking of LLMs: Decoupling and Exploring Mathematical Reasoning Abilities30 Sep 2025
- 2025FormalML: A Benchmark for Evaluating Formal Subgoal Completion in Machine Learning Theory26 Sep 2025
- 2025OdysseyBench: Evaluating LLM Agents on Long-Horizon Complex Office Application Workflows12 Aug 2025
- 2025Solving Formal Math Problems by Decomposition and Iterative Reflection21 Jul 2025
- 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance18 Jul 2025
- 2025Agentic-R1: Distilled Dual-Strategy Reasoning8 Jul 2025
- 2025Clarifying Before Reasoning: A Coq Prover with Structural Context3 Jul 2025
- 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs24 Jun 2025
- 2025Solving Inequality Proofs with Large Language Models9 Jun 2025
- 2025Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening3 Jun 2025
- 2025AdaSTaR: Adaptive Data Sampling for Training Self-Taught Reasoners22 May 2025
- 2025Learning to Reason via Mixture-of-Thought for Logical Reasoning21 May 2025
- 2025LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation17 May 2025
- 2025Beyond Theorem Proving: Formulation, Framework and Benchmark for Formal Problem-Solving7 May 2025
- 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Models5 May 2025
- 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learning15 Apr 2025
- 2025Leanabell-Prover: Posttraining Scaling in Formal Reasoning8 Apr 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
- 2025FANS -- Formal Answer Selection for Natural Language Math Reasoning Using Lean45 Mar 2025
- 2025MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving5 Mar 2025
- 2025From Hypothesis to Publication: A Comprehensive Survey of AI-Driven Research Support Systems3 Mar 2025
- 2025CuDIP: Enhancing Theorem Proving in LLMs via Curriculum Learning-based Direct Preference Optimization25 Feb 2025
- 2025Steering LLMs for Formal Theorem Proving21 Feb 2025
- 2025One Example Shown, Many Concepts Known! Counterexample-Driven Conceptual Reasoning in Mathematical LLMs12 Feb 2025
- 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Proving11 Feb 2025
- 2025Optimizing Temperature for Language Models with Multi-Sample Inference7 Feb 2025
50 newest of 64 All 64 (JSON)
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learningcited by 173
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
- 2025Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpeningcited by 78
- 2025STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Provingcited by 77
- 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Modelscited by 45
- 2025Solving Formal Math Problems by Decomposition and Iterative Reflectioncited by 35
- 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 34
- 2025Optimizing Temperature for Language Models with Multi-Sample Inferencecited by 33
- 2024HunyuanProver: A Scalable Data Synthesis Framework and Guided Tree Search for Automated Theorem Provingcited by 32
- 2025Chain-of-Reasoning: Towards Unified Mathematical Reasoning in Large Language Models via a Multi-Paradigm Perspectivecited by 29
- 2025Leanabell-Prover: Posttraining Scaling in Formal Reasoningcited by 27
12 most cited of 35 All 35 (JSON)
- 2026MathAdv: What Theorem Provers Know, Reason, Formalize, and Generalize26 Aug 2026
- 2026LAMP: Lean-based Agentic framework with MCP and Proof Repair27 Jun 2026
- 2026Pythagoras-Prover: Advancing Efficient Formal Proving via Augmented Lean Formalisation10 Jun 2026
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks2 Jun 2026
- 2026CAM-Bench: A Benchmark for Computational and Applied Mathematics in Lean17 May 2026
- 2026Rethinking Supervision Granularity: Segment-Level Learning for LLM-Based Theorem Proving12 May 2026
- 2026Learning to Reason with Insight for Informal Theorem Proving17 Apr 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2025Can Large Reasoning Models Improve Accuracy on Mathematical Tasks Using Flawed Thinking?18 Dec 2025
- 2025Parrot: A Training Pipeline Enhances Both Program CoT and Natural Language CoT for Reasoning29 Oct 2025
- 2025Atomic Thinking of LLMs: Decoupling and Exploring Mathematical Reasoning Abilities30 Sep 2025
- 2025Solving Formal Math Problems by Decomposition and Iterative Reflection21 Jul 2025
12 newest of 35 All 35 (JSON)
- 2025OdysseyBench: Evaluating LLM Agents on Long-Horizon Complex Office Application Workflowscited by 54
- 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofscited by 28
- 2026Goedel-Architect: Streamlining Formal Theorem Proving with Blueprint Generation and Refinementcited by 7
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repaircited by 3
- 2026VALG: An Agentic System for ML Theory Researchcited by 1
- 2025BLAZER: Bootstrapping LLM-based Manipulation Agents with Zero-Shot Data Generationcited by 0
- 2026WorldBench: Culturally Grounded Benchmark for Multilingual Agentscited by 0
- 2026WorldBench: Culturally Grounded Benchmark for Multilingual Agents1 Sep 2026
- 2026VALG: An Agentic System for ML Theory Research13 Aug 2026
- 2026Goedel-Architect: Streamlining Formal Theorem Proving with Blueprint Generation and Refinement4 Jun 2026
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repair17 May 2026
- 2025BLAZER: Bootstrapping LLM-based Manipulation Agents with Zero-Shot Data Generation9 Oct 2025
- 2025OdysseyBench: Evaluating LLM Agents on Long-Horizon Complex Office Application Workflows12 Aug 2025
- 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs24 Jun 2025
- 2024DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Searchcited by 189
- 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 126
- 2025BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem Provingcited by 82
- 2024SubgoalXL: Subgoal-based Expert Learning for Theorem Provingcited by 11
- 2024What makes math problems hard for reinforcement learning: a case studycited by 9
- 2024dafny-annotator: AI-Assisted Verification of Dafny Programscited by 8
- 2025From Hypothesis to Publication: A Comprehensive Survey of AI-Driven Research Support Systemscited by 8
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theoremscited by 8
- 2024YuLan-Mini: An Open Data-efficient Language Modelcited by 5
- 2025FormalML: A Benchmark for Evaluating Formal Subgoal Completion in Machine Learning Theorycited by 5
- 2025GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Provingcited by 5
- 2026TaoBench: Do Automated Theorem Prover LLMs Generalize Beyond MathLib?cited by 5
12 most cited of 20 All 20 (JSON)
- 2026Reward-Oracle MCTS for Formal Theorem Proving: Sample-Efficient Search and the Need for Kernel-Level Proof Auditing11 Aug 2026
- 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontier8 Jul 2026
- 2026The Signal-Coverage Matrix: Stratifying Type and Semantic Errors in Statement Autoformalization26 Jun 2026
- 2026LLM Framework for Discovering Major Mathematical Conjectures: AI's Quest for the Next Riemann Hypothesis19 Apr 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026TaoBench: Do Automated Theorem Prover LLMs Generalize Beyond MathLib?13 Mar 2026
- 2025Translating Informal Proofs into Formal Proofs Using a Chain of States11 Dec 2025
- 2025GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving13 Oct 2025
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theorems12 Oct 2025
- 2025FormalML: A Benchmark for Evaluating Formal Subgoal Completion in Machine Learning Theory26 Sep 2025
- 2025Beyond Theorem Proving: Formulation, Framework and Benchmark for Formal Problem-Solving7 May 2025
- 2025From Hypothesis to Publication: A Comprehensive Survey of AI-Driven Research Support Systems3 Mar 2025
12 newest of 20 All 20 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025LeanProgress: Guiding Search for Neural Theorem Proving via Proof Progress Prediction
- 2025ProofOptimizer: Training Language Models to Simplify Proofs without Human Demonstrations
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Data
- 2024TheoremLlama: Transforming General-Purpose LLMs into Lean4 Experts
- 2025Leanabell-Prover-V2: Verifier-integrated Reasoning for Formal Theorem Proving via Reinforcement Learning
- 2024LeanReasoner: Boosting Complex Logical Reasoning with Lean
- 2025Seed-Prover 1.5: Mastering Undergraduate-Level Theorem Proving via Learning from Experience
- 2025Can Large Language Models Learn Formal Logic? A Data-Driven Training and Evaluation Framework