mlsanityData to 14 Oct 2026

Proof Automation with Large Language Models

arXiv 2409.14274 ↗First posted 22 Sep 2024cs.SE cs.AI cs.LGcited by 22

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

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  3. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
  4. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
  5. 2022Autoformalization with Large Language Modelscited by 263
  6. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 119
  7. 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 109
  8. 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 98
  9. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 81
  10. 2023Hot or Cold? Adaptive Temperature Sampling for Code Generation with Large Language Modelscited by 38
  11. 2019Generating Correctness Proofs with Neural Networkscited by 37
  12. 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
1 more
  1. 2013HOL(y)Hammer: Online ATP Service for HOL Lightcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 11; 2026: 7.

22 papers.

Sort:

By area:

  1. 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
  2. 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 35
  3. 2025VERINA: Benchmarking Verifiable Code Generationcited by 34
  4. 2025LeanExplore: A search engine for Lean 4 declarationscited by 18
  5. 2025ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure Analysiscited by 11
  6. 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verificationcited by 9
  7. 2025Locus: Agentic Predicate Synthesis for Directed Fuzzingcited by 9
  8. 2024dafny-annotator: AI-Assisted Verification of Dafny Programscited by 8
  9. 2025Evaluation of LLMs for mathematical problem solvingcited by 7
  10. 2025Premise Selection for a Lean Hammercited by 6
  11. 2025Agentic Verification of Software Systemscited by 6
  12. 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistantscited by 3
10 more
  1. 2025PAT-Agent: Autoformalization for Model Checkingcited by 3
  2. 2026Evaluating LLM-Generated ACSL Annotations for Formal Verificationcited by 1
  3. 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verificationcited by 1
  4. 2026Automating Formal Verification with Reinforcement Learning and Recursive Inferencecited by 1
  5. 2026Harnessing Code Agents for Automatic Software Verificationcited by 1
  6. 2026From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontiercited by 1
  7. 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generationcited by 0
  8. 2025LLMs as verification oracles for Soliditycited by 0
  9. 2026Automated Proving of Shannon-Type Entropy Inequalities via Fine-Tuned Language Models and Guided Tree Searchcited by 0
  10. 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agentscited by 0