QEDCartographer: Automating Formal Verification Using Reward-Free Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Formal verification is a promising method for producing reliable software, but the difficulty of manually writing verification proofs severely limits its utility in practice. Recent methods have automated some proof synthesis by guiding a search through the proof space using a theorem prover. Unfortunately, the theorem prover provides only the crudest estimate of progress, resulting in effectively undirected search. To address this problem, we create QEDCartographer, an automated proof-synthesis tool that combines supervised and reinforcement learning to more effectively explore the proof space. QEDCartographer incorporates the proofs' branching structure, enabling reward-free search and overcoming the sparse reward problem inherent to formal verification. We evaluate QEDCartographer using the CoqGym benchmark of 68.5K theorems from 124 open-source Coq projects. QEDCartographer fully automatically proves 21.4% of the test-set theorems. Previous search-based proof-synthesis tools Tok, Tac, ASTactic, Passport, and Proverbot9001, which rely only on supervised learning, prove 9.6%, 9.8%, 10.9%, 12.5%, and 19.8%, respectively. Diva, which combines 62 tools, proves 19.2%. Comparing to the most effective prior tool, Proverbot9001, QEDCartographer produces 34% shorter proofs 29% faster, on average over the theorems both tools prove. Together, QEDCartographer and non-learning-based CoqHammer prove 30.3% of the theorems, while CoqHammer alone proves 26.6%. Our work demonstrates that reinforcement learning is a fruitful research direction for improving proof-synthesis tools' search mechanisms.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 31 of its 101 references that are in the map. First posted on arXiv 17 Aug 2024.
Builds on
31 of 101 references.
References · 31
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,173
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
- 2022Memorizing Transformerscited by 219
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2017Fairness Testing: Testing Software for Discriminationcited by 123
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 107
- 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 97
- 2015Massively Parallel Methods for Deep Reinforcement Learningcited by 80
19 more
- 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 78
- 2018Reinforcement Learning of Theorem Provingcited by 69
- 2019TBar: Revisiting Template-based Automated Program Repaircited by 64
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
- 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 53
- 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
- 2019Generating Correctness Proofs with Neural Networkscited by 36
- 2019Learning to Reason in Large Theories without Imitationcited by 27
- 2017HolStep: A Machine Learning Dataset for Higher-order Logic Theorem Provingcited by 26
- 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 23
- 2018Causal Testing: Finding Defects' Root Causescited by 22
- 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
- 2018Learning to Reason with HOL4 tacticscited by 14
- 2020QED at Large: A Survey of Engineering of Formally Verified Softwarecited by 13
- 2019Towards Finding Longer Proofscited by 10
- 2020Better Automatic Program Repair by Using Bug Reports and Tests Togethercited by 10
- 2020Prolog Technology Reinforcement Learning Provercited by 7
- 2017Tortoise: Interactive System Configuration Repaircited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 1.
3 papers.