Generating Correctness Proofs with Neural Networks

Alex Sanchez-Stern, Yousef Alhessi, Lawrence Saul, Sorin Lerner
7/17/2019
cs.PL

Official code: UCSD-PL/proverbot9001 (45 stars, Coq, GPL-3.0, last commit 2026-02-26).

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.

Show full abstract

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 27.5% 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.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
4519Coq, PythonMay 2, 20179 months agoGPL-3.0

Similar Papers

Cite this paper

@article{sanchezstern2019generating,
  title  = {Generating Correctness Proofs with Neural Networks},
  author = {Alex Sanchez-Stern and Yousef Alhessi and Lawrence Saul and Sorin Lerner},
  year   = {2019},
  eprint = {1907.07794},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.07794}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.07794.svg)](https://codeofpaper.com/paper/1907.07794)

Discussion