arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.07794cs.PL
收藏

用神经网络生成正确性证明

Generating Correctness Proofs with Neural Networks

Alex Sanchez-Stern, Yousef Alhessi, Lawrence Saul, Sorin Lerner

摘要:

基础验证允许程序员构建软件,这些软件已被经验证明在各种重要领域具有高水平的保证。然而,对大多数项目来说,生产经过基础验证的软件的成本仍然高得令人望而却步,因为它需要训练有素的专家进行大量的手工工作。在本文中,我们提出了Proverbot 9001,证明搜索系统使用机器学习技术,以产生软件的正确性证明,在交互式定理证明。我们展示了Proverbot9001的证明义务,从一个大型的实际证明项目,CompCert验证的C编译器,并表明它可以有效地自动化什么是以前的手动证明,自动生成证明27.5%的定理语句在我们的测试数据集,结合基于求解器的工具。没有任何额外的求解器,我们展示了一个证明完成率,这是一个4倍的改进,比现有的最先进的机器学习模型在Coq中生成证明。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑