Generating correctness proofs with neural networks
Authors:
Open Access
- 15 June 2020
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-10
Abstract
Foundational verification allows programmers to build software which has been empirically shown to have high levels of assurance in a variety of important domains. However, the cost of producing foundationally verified software remains prohibitively high for most projects, as it requires significant manual effort by highly trained experts. In this paper we present Proverbot9001, a proof search system using machine learning techniques to produce proofs of software correctness in interactive theorem provers. We demonstrate Proverbot9001 on the proof obligations from a large practical proof project, the CompCert verified C compiler, and show that it can effectively automate what were previously manual proofs, automatically producing proofs for 28% of theorem statements in our test dataset, when combined with solver-based tooling. Without any additional solvers, we exhibit a proof completion rate that is a 4X improvement over prior state-of-the-art machine learning models for generating proofs in Coq.Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- Learning invariants using decision trees and implication counterexamplesACM SIGPLAN Notices, 2016
- Example-directed synthesis: a type-theoretic interpretationACM SIGPLAN Notices, 2016
- Type-and-example-directed program synthesisACM SIGPLAN Notices, 2015
- Verdi: a framework for implementing and formally verifying distributed systems2015
- Verification of a Cryptographic PrimitiveACM Transactions on Programming Languages and Systems, 2015
- ACL2(ml): Machine-Learning for ACL2Electronic Proceedings in Theoretical Computer Science, 2014
- Machine Learning in Proof General: Interfacing InterfacesElectronic Proceedings in Theoretical Computer Science, 2013
- First-Order Theorem Proving and Vampire2013
- Neural Networks for Proof-Pattern RecognitionLecture Notes in Computer Science, 2012
- Formal verification of a realistic compilerCommunications of the ACM, 2009