Baldur: Whole-Proof Generation and Repair with Large Language Models
Not on the map. Why?
Cited by 23 in LLM reasoning, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Formally verifying software properties is a highly desirable but labor-intensive task. Recent work has developed methods to automate formal verification using proof assistants, such as Coq and Isabelle/HOL, e.g., by training a model to predict one proof step at a time, and using that model to search through the space of possible proofs. This paper introduces a new method to automate formal verification: We use large language models, trained on natural language text and code and fine-tuned on proofs, to generate whole proofs for theorems at once, rather than one step at a time. We combine this proof generation model with a fine-tuned repair model to repair generated proofs, further increasing proving power. As its main contributions, this paper demonstrates for the first time that: (1) Whole-proof generation using transformers is possible and is as effective as search-based techniques without requiring costly search. (2) Giving the learned model additional context, such as a prior failed proof attempt and the ensuing error message, results in proof repair and further improves automated proof generation. (3) We establish a new state of the art for fully automated proof synthesis. We reify our method in a prototype, Baldur, and evaluate it on a benchmark of 6,336 Isabelle/HOL theorems and their proofs. In addition to empirically showing the effectiveness of whole-proof generation, repair, and added context, we show that Baldur improves on the state-of-the-art tool, Thor, by automatically generating proofs for an additional 8.7% of the theorems. Together, Baldur and Thor can prove 65.7% of the theorems fully automatically. This paper paves the way for new research into using large language models for automating formal verification.
Key facts. Cited by 119 papers in the map (data through 14 Oct 2026). Builds on 53 of its 123 references that are in the map. First posted on arXiv 8 Mar 2023.
Builds on
53 of 123 references.
References · 53
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2018Hierarchical Neural Story Generationcited by 1,193
38 more
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
- 2020Generative Language Modeling for Automated Theorem Provingcited by 388
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
- 2022Autoformalization with Large Language Modelscited by 263
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 197
- 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
- 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 132
- 2017Fairness Testing: Testing Software for Discriminationcited by 126
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 109
- 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 98
- 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
- 2018GamePad: A Learning Environment for Theorem Provingcited by 48
- 2018TacticToe: Learning to Prove with Tacticscited by 44
- 2019Generating Correctness Proofs with Neural Networkscited by 37
- 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
- 2022Formal Specifications from Natural Languagecited by 33
- 2023Towards Autoformalization of Mathematics and Code Correctness: Experiments with Elementary Proofscited by 27
- 2020Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repaircited by 22
- 2016Automated Clustering and Program Repair for Introductory Programming Assignmentscited by 21
- 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
- 2021Pretrained Language Models are Symbolic Mathematics Solvers too!cited by 17
- 2021Elixir: Effective object-oriented program repaircited by 16
- 2019Automated Patch Assessment for Program Repair at Scalecited by 14
- 2020QED at Large: A Survey of Engineering of Formally Verified Softwarecited by 13
- 2019Harnessing Evolution for Multi-Hunk Program Repaircited by 12
- 2019iFixR: Bug Report driven Program Repaircited by 11
- 2020Better Automatic Program Repair by Using Bug Reports and Tests Togethercited by 10
- 2017Data-Driven Feedback Generation for Introductory Programming Exercisescited by 9
- 2022Enforcing Delayed-Impact Fairness Guaranteescited by 8
- 2018PaMpeR: Proof Method Recommendation System for Isabelle/HOLcited by 7
- 2018Alleviating Patch Overfitting with Automatic Test Generation: A Study of Feasibility and Effectiveness for the Nopol Repair Systemcited by 7
- 2020Deep Generation of Coq Lemma Names Using Elaborated Termscited by 6
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2023: 18; 2024: 30; 2025: 36; 2026: 35.
119 papers.
Sort:
By area:
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
- 2023Llemma: An Open Language Model For Mathematicscited by 388
- 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 240
- 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 238
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 165
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 154
- 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 133
- 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 109
- 2025Winning Gold at IMO 2025 with a Model-Agnostic Verification-and-Refinement Pipelinecited by 82
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
- 2023Evaluating Language Models for Mathematics through Interactionscited by 70
- 2024Lean-STaR: Learning to Interleave Thinking and Provingcited by 68
38 more
- 2024Lean Copilot: Large Language Models as Copilots for Theorem Proving in Leancited by 58
- 2025Aristotle: IMO-level Automated Theorem Provingcited by 58
- 2024A Survey on Deep Learning for Theorem Provingcited by 57
- 2024The Limits of Inference Scaling Through Resamplingcited by 53
- 2023Lemur: Integrating Large Language Models in Automated Program Verificationcited by 49
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 49
- 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
- 2025Advancing Reasoning in Large Language Models: Promising Methods and Approachescited by 43
- 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 41
- 2023Decomposing the Enigma: Subgoal-based Demonstration Learning for Formal Theorem Provingcited by 37
- 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 37
- 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 35
- 2025Solving Formal Math Problems by Decomposition and Iterative Reflectioncited by 35
- 2025VERINA: Benchmarking Verifiable Code Generationcited by 34
- 2024Automated Proof Generation for Rust Code via Self-Evolutioncited by 33
- 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofscited by 31
- 2024Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verificationcited by 27
- 2024Proving Theorems Recursivelycited by 26
- 2023Lyra: Orchestrating Dual Correction in Automated Theorem Provingcited by 25
- 2023Mathematical Language Models: A Surveycited by 24
- 2024Proof Automation with Large Language Modelscited by 22
- 2024Formal Theorem Proving by Rewarding LLMs to Decompose Proofs Hierarchicallycited by 22
- 2024Towards Neural Synthesis for SMT-Assisted Proof-Oriented Programmingcited by 20
- 2023Can Transformers Learn to Solve Problems Recursively?cited by 17
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
- 2025Generative AI Act II: Test Time Scaling Drives Cognition Engineeringcited by 15
- 2024VerMCTS: Synthesizing Multi-Step Programs using a Verifier, a Large Language Model, and Tree Searchcited by 14
- 2025StepFun-Prover Preview: Let's Think and Verify Step by Stepcited by 13
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworkscited by 12
- 2023Leveraging Large Language Models for Automated Proof Synthesis in Rustcited by 11
- 2024Laurel: Unblocking Automated Verification with Large Language Modelscited by 11
- 2024SubgoalXL: Subgoal-based Expert Learning for Theorem Provingcited by 11
- 2024CoqPilot, a plugin for LLM-based generation of proofscited by 11
- 2024Data for Mathematical Copilots: Better Ways of Presenting Proofs for Machine Learningcited by 11
- 2025HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMscited by 11
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verificationcited by 11
- 2023AI for Mathematics: A Cognitive Science Perspectivecited by 10
- 2025MPS-Prover: Advancing Stepwise Theorem Proving by Multi-Perspective Search and Data Curationcited by 10
50 most cited of 119 All 119 (JSON)
- 2026LEVER: Adaptive Cost-Aware Proof Search Over AND/OR Graphs8 Oct 2026
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agents1 Oct 2026
- 2026Fyan: A Human--AI Harness with Semantic Auditing for Document-Level Formalization30 Sep 2026
- 2026From Verification Failures to Reusable Guidance for Coding Agents30 Sep 2026
- 2026LeanPolish: Verified Supervision for Lean Proof Compression29 Sep 2026
- 2026Djinnlang: Higher-Level Programming by Unambiguous Specification with an LLM in the Compiler21 Sep 2026
- 2026Schwarz: Solver-Aware Agentic Program Verification31 Aug 2026
- 2026CAPRI: Contract-Aware Proof Repair for Isabelle13 Aug 2026
- 2026P3: Joint Program-and-Proof Planning for Verified Code Generation10 Aug 2026
- 2026CausalSmith: A Formally Grounded, Self-Improving Agentic Framework for Automated Research in Causal Inference24 Jul 2026
- 2026LLMs Can See the Smoke but not the Fire: Evaluating Abductive Reasoning with Elenchos14 Jul 2026
- 2026Diversifying to Verify: When Task-Equivalent Programs Differ in Verifiability10 Jul 2026
38 more
- 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontier8 Jul 2026
- 2026Harnessing Code Agents for Automatic Software Verification7 Jul 2026
- 2026Heaviside Continuity of Rolling Coefficients for Eliminating Epistemic Entropy in Large Language Models6 Jul 2026
- 2026AutoCedar: An Agentic Framework for Verifier-Guided Access Control Policy Synthesis4 Jul 2026
- 2026LAMP: Lean-based Agentic framework with MCP and Proof Repair27 Jun 2026
- 2026An Empirical Study of LLM-Generated Specifications for VeriFast25 Jun 2026
- 2026Analyzing the Narration Gap in LLM-Solver Loops17 Jun 2026
- 2026IsabeLLM: Automated Theorem Proving Applied to Formally Verifying Consensus16 Jun 2026
- 2026TheoremBench: Evaluating LLMs on Theorem Proving in Formal Mathematics8 Jun 2026
- 2026TLA-Prover: Verifiable TLA+ Specification Synthesis via Preference-Optimized Low-Rank Adaptation4 Jun 2026
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks2 Jun 2026
- 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systems22 May 2026
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repair17 May 2026
- 2026OProver: A Unified Framework for Agentic Formal Theorem Proving17 May 2026
- 2026Agentic Interpretation: Lattice-Structured Evidence for LLM-Based Program Analysis12 May 2026
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation2 May 2026
- 2026BODHI: Precise OS Kernel Specification Inference22 Apr 2026
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verification20 Mar 2026
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verification18 Mar 2026
- 2026Agentic Code Reasoning2 Mar 2026
- 2026Compiler-Guided Inference-Time Adaptation: Improving GPT-5 Programming Performance in Idris12 Feb 2026
- 2026Exponential Sample Complexity Separation between Flat and Hierarchical Agentic Theorem Provers11 Feb 2026
- 2026Doc2Spec: Synthesizing Formal Programming Specifications from Natural Language via Grammar Induction30 Jan 2026
- 2025Constructing a Neuro-Symbolic Mathematician from First Principles31 Dec 2025
- 2025G"odel's Poetry16 Dec 2025
- 2025AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolution8 Dec 2025
- 2025Generative AI for Self-Adaptive Systems: State of the Art and Research Roadmap4 Dec 2025
- 2025The 4/δ Bound: Designing Predictable LLM-Verifier Systems for Formal Method Guarantee30 Nov 2025
- 2025HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMs24 Nov 2025
- 2025Spark-Prover-X1: Formal Theorem Proving Through Diverse Data Training17 Nov 2025
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming29 Oct 2025
- 2025OBsmith: LLM-Powered JavaScript Obfuscator Testing11 Oct 2025
- 2025Aristotle: IMO-level Automated Theorem Proving1 Oct 2025
- 2025PAT-Agent: Autoformalization for Model Checking28 Sep 2025
- 2025Discovering New Theorems via LLMs with In-Context Proof Learning in Lean16 Sep 2025
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistants26 Aug 2025
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction5 Aug 2025
- 2025StepFun-Prover Preview: Let's Think and Verify Step by Step27 Jul 2025
50 newest of 119 All 119 (JSON)
- 2023Llemma: An Open Language Model For Mathematicscited by 388
- 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 238
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
- 2024Lean-STaR: Learning to Interleave Thinking and Provingcited by 68
- 2025Advancing Reasoning in Large Language Models: Promising Methods and Approachescited by 43
- 2025Solving Formal Math Problems by Decomposition and Iterative Reflectioncited by 35
- 2024Formal Theorem Proving by Rewarding LLMs to Decompose Proofs Hierarchicallycited by 22
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
- 2025Generative AI Act II: Test Time Scaling Drives Cognition Engineeringcited by 15
- 2024VerMCTS: Synthesizing Multi-Step Programs using a Verifier, a Large Language Model, and Tree Searchcited by 14
- 2025StepFun-Prover Preview: Let's Think and Verify Step by Stepcited by 13
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworkscited by 12
12 most cited of 23 All 23 (JSON)
- 2026LLMs Can See the Smoke but not the Fire: Evaluating Abductive Reasoning with Elenchos14 Jul 2026
- 2026LAMP: Lean-based Agentic framework with MCP and Proof Repair27 Jun 2026
- 2026Analyzing the Narration Gap in LLM-Solver Loops17 Jun 2026
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks2 Jun 2026
- 2026Agentic Code Reasoning2 Mar 2026
- 2025HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMs24 Nov 2025
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming29 Oct 2025
- 2025StepFun-Prover Preview: Let's Think and Verify Step by Step27 Jul 2025
- 2025Solving Formal Math Problems by Decomposition and Iterative Reflection21 Jul 2025
- 2025Towards Solving More Challenging IMO Problems via Decoupled Reasoning and Proving7 Jul 2025
- 2025Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning Tasks26 May 2025
- 2025Generative AI Act II: Test Time Scaling Drives Cognition Engineering18 Apr 2025
12 newest of 23 All 23 (JSON)
- 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofscited by 31
- 2025Helpful Agent Meets Deceptive Judge: Understanding Vulnerabilities in Agentic Workflowscited by 7
- 2026OProver: A Unified Framework for Agentic Formal Theorem Provingcited by 7
- 2025PAT-Agent: Autoformalization for Model Checkingcited by 3
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repaircited by 3
- 2026AutoCedar: An Agentic Framework for Verifier-Guided Access Control Policy Synthesiscited by 2
- 2026Harnessing Code Agents for Automatic Software Verificationcited by 1
- 2026CausalSmith: A Formally Grounded, Self-Improving Agentic Framework for Automated Research in Causal Inferencecited by 1
- 2026Exponential Sample Complexity Separation between Flat and Hierarchical Agentic Theorem Proverscited by 0
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generationcited by 0
- 2026Agentic Interpretation: Lattice-Structured Evidence for LLM-Based Program Analysiscited by 0
- 2026Schwarz: Solver-Aware Agentic Program Verificationcited by 0
12 most cited of 14 All 14 (JSON)
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agents1 Oct 2026
- 2026From Verification Failures to Reusable Guidance for Coding Agents30 Sep 2026
- 2026Schwarz: Solver-Aware Agentic Program Verification31 Aug 2026
- 2026CausalSmith: A Formally Grounded, Self-Improving Agentic Framework for Automated Research in Causal Inference24 Jul 2026
- 2026Harnessing Code Agents for Automatic Software Verification7 Jul 2026
- 2026AutoCedar: An Agentic Framework for Verifier-Guided Access Control Policy Synthesis4 Jul 2026
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repair17 May 2026
- 2026OProver: A Unified Framework for Agentic Formal Theorem Proving17 May 2026
- 2026Agentic Interpretation: Lattice-Structured Evidence for LLM-Based Program Analysis12 May 2026
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation2 May 2026
- 2026Exponential Sample Complexity Separation between Flat and Hierarchical Agentic Theorem Provers11 Feb 2026
- 2025PAT-Agent: Autoformalization for Model Checking28 Sep 2025
12 newest of 14 All 14 (JSON)
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 154
- 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 35
- 2025Beyond Accuracy: The Role of Calibration in Self-Improving Large Language Modelscited by 7
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction5 Aug 2025
- 2025Beyond Accuracy: The Role of Calibration in Self-Improving Large Language Models3 Apr 2025
- 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement9 Dec 2024
- 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 240
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 165
- 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 133
- 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 109
- 2025Winning Gold at IMO 2025 with a Model-Agnostic Verification-and-Refinement Pipelinecited by 82
- 2023Evaluating Language Models for Mathematics through Interactionscited by 70
- 2024Lean Copilot: Large Language Models as Copilots for Theorem Proving in Leancited by 58
- 2025Aristotle: IMO-level Automated Theorem Provingcited by 58
- 2024A Survey on Deep Learning for Theorem Provingcited by 57
- 2024The Limits of Inference Scaling Through Resamplingcited by 53
- 2023Lemur: Integrating Large Language Models in Automated Program Verificationcited by 49
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 49
12 most cited of 74 All 74 (JSON)
- 2026LEVER: Adaptive Cost-Aware Proof Search Over AND/OR Graphs8 Oct 2026
- 2026Fyan: A Human--AI Harness with Semantic Auditing for Document-Level Formalization30 Sep 2026
- 2026LeanPolish: Verified Supervision for Lean Proof Compression29 Sep 2026
- 2026Djinnlang: Higher-Level Programming by Unambiguous Specification with an LLM in the Compiler21 Sep 2026
- 2026CAPRI: Contract-Aware Proof Repair for Isabelle13 Aug 2026
- 2026P3: Joint Program-and-Proof Planning for Verified Code Generation10 Aug 2026
- 2026Diversifying to Verify: When Task-Equivalent Programs Differ in Verifiability10 Jul 2026
- 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontier8 Jul 2026
- 2026Heaviside Continuity of Rolling Coefficients for Eliminating Epistemic Entropy in Large Language Models6 Jul 2026
- 2026An Empirical Study of LLM-Generated Specifications for VeriFast25 Jun 2026
- 2026IsabeLLM: Automated Theorem Proving Applied to Formally Verifying Consensus16 Jun 2026
- 2026TheoremBench: Evaluating LLMs on Theorem Proving in Formal Mathematics8 Jun 2026
12 newest of 74 All 74 (JSON)