Proof Automation with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Interactive theorem provers such as Coq are powerful tools to formally guarantee the correctness of software. However, using these tools requires significant manual effort and expertise. While Large Language Models (LLMs) have shown promise in automatically generating informal proofs in natural language, they are less effective at generating formal proofs in interactive theorem provers. In this paper, we conduct a formative study to identify common mistakes made by LLMs when asked to generate formal proofs. By analyzing 520 proof generation errors made by GPT-3.5, we found that GPT-3.5 often identified the correct high-level structure of a proof, but struggled to get the lower-level details correct. Based on this insight, we propose PALM, a novel generate-then-repair approach that first prompts an LLM to generate an initial proof and then leverages targeted symbolic methods to iteratively repair low-level problems. We evaluate PALM on a large dataset that includes more than 10K theorems. Our results show that PALM significantly outperforms other state-of-the-art approaches, successfully proving 76.6% to 180.4% more theorems. Moreover, PALM proves 1270 theorems beyond the reach of existing approaches. We also demonstrate the generalizability of PALM across different LLMs.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 13 of its 43 references that are in the map. First posted on arXiv 22 Sep 2024.
Builds on
13 of 43 references.
References · 13
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
- 2022Autoformalization with Large Language Modelscited by 263
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 119
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 109
- 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 98
- 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 81
- 2023Hot or Cold? Adaptive Temperature Sampling for Code Generation with Large Language Modelscited by 38
- 2019Generating Correctness Proofs with Neural Networkscited by 37
- 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
1 more
- 2013HOL(y)Hammer: Online ATP Service for HOL Lightcited by 8
Built on by
Citing papers per year: 2024: 4; 2025: 11; 2026: 7.
22 papers.
Sort:
By area:
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
- 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 35
- 2025VERINA: Benchmarking Verifiable Code Generationcited by 34
- 2025LeanExplore: A search engine for Lean 4 declarationscited by 18
- 2025ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure Analysiscited by 11
- 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verificationcited by 9
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzingcited by 9
- 2024dafny-annotator: AI-Assisted Verification of Dafny Programscited by 8
- 2025Evaluation of LLMs for mathematical problem solvingcited by 7
- 2025Premise Selection for a Lean Hammercited by 6
- 2025Agentic Verification of Software Systemscited by 6
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistantscited by 3
10 more
- 2025PAT-Agent: Autoformalization for Model Checkingcited by 3
- 2026Evaluating LLM-Generated ACSL Annotations for Formal Verificationcited by 1
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verificationcited by 1
- 2026Automating Formal Verification with Reinforcement Learning and Recursive Inferencecited by 1
- 2026Harnessing Code Agents for Automatic Software Verificationcited by 1
- 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontiercited by 1
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generationcited by 0
- 2025LLMs as verification oracles for Soliditycited by 0
- 2026Automated Proving of Shannon-Type Entropy Inequalities via Fine-Tuned Language Models and Guided Tree Searchcited by 0
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agentscited by 0
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agents1 Oct 2026
- 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
- 2026Automated Proving of Shannon-Type Entropy Inequalities via Fine-Tuned Language Models and Guided Tree Search4 Jun 2026
- 2026Automating Formal Verification with Reinforcement Learning and Recursive Inference29 May 2026
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verification20 Mar 2026
- 2026Evaluating LLM-Generated ACSL Annotations for Formal Verification14 Feb 2026
- 2025Agentic Verification of Software Systems21 Nov 2025
- 2025PAT-Agent: Autoformalization for Model Checking28 Sep 2025
- 2025LLMs as verification oracles for Solidity23 Sep 2025
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzing29 Aug 2025
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistants26 Aug 2025
10 more
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generation25 Jul 2025
- 2025Premise Selection for a Lean Hammer9 Jun 2025
- 2025LeanExplore: A search engine for Lean 4 declarations4 Jun 2025
- 2025Evaluation of LLMs for mathematical problem solving30 May 2025
- 2025VERINA: Benchmarking Verifiable Code Generation29 May 2025
- 2025ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure Analysis30 Jan 2025
- 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec 2024
- 2024dafny-annotator: AI-Assisted Verification of Dafny Programs5 Nov 2024
- 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verification25 Oct 2024
- 2024LeanAgent: Lifelong Learning for Formal Theorem Proving8 Oct 2024
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzingcited by 9
- 2025Agentic Verification of Software Systemscited by 6
- 2025PAT-Agent: Autoformalization for Model Checkingcited by 3
- 2026Harnessing Code Agents for Automatic Software Verificationcited by 1
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agentscited by 0
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agents1 Oct 2026
- 2026Harnessing Code Agents for Automatic Software Verification7 Jul 2026
- 2025Agentic Verification of Software Systems21 Nov 2025
- 2025PAT-Agent: Autoformalization for Model Checking28 Sep 2025
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzing29 Aug 2025
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
- 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 35
- 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec 2024
- 2024LeanAgent: Lifelong Learning for Formal Theorem Proving8 Oct 2024
- 2025VERINA: Benchmarking Verifiable Code Generationcited by 34
- 2025LeanExplore: A search engine for Lean 4 declarationscited by 18
- 2025ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure Analysiscited by 11
- 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verificationcited by 9
- 2024dafny-annotator: AI-Assisted Verification of Dafny Programscited by 8
- 2025Evaluation of LLMs for mathematical problem solvingcited by 7
- 2025Premise Selection for a Lean Hammercited by 6
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistantscited by 3
- 2026Evaluating LLM-Generated ACSL Annotations for Formal Verificationcited by 1
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verificationcited by 1
- 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontiercited by 1
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generationcited by 0
12 most cited of 14 All 14 (JSON)
- 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontier8 Jul 2026
- 2026Automated Proving of Shannon-Type Entropy Inequalities via Fine-Tuned Language Models and Guided Tree Search4 Jun 2026
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verification20 Mar 2026
- 2026Evaluating LLM-Generated ACSL Annotations for Formal Verification14 Feb 2026
- 2025LLMs as verification oracles for Solidity23 Sep 2025
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistants26 Aug 2025
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generation25 Jul 2025
- 2025Premise Selection for a Lean Hammer9 Jun 2025
- 2025LeanExplore: A search engine for Lean 4 declarations4 Jun 2025
- 2025Evaluation of LLMs for mathematical problem solving30 May 2025
- 2025VERINA: Benchmarking Verifiable Code Generation29 May 2025
- 2025ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure Analysis30 Jan 2025
12 newest of 14 All 14 (JSON)