arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.09381cs.LOcs.AIcs.LGstat.ML
收藏

通过与证明助手互动学习定理证明

Learning to Prove Theorems via Interacting with Proof Assistants

Princeton University(普林斯顿大学)

Kaiyu Yang, Jia Deng

摘要:

人类通过大量的高级推理和特定问题的见解来证明定理。证明助手提供了一种类似于人类数学推理的形式主义,将高阶逻辑中的定理和证明表示为高级策略。然而,人类专家必须通过将策略输入到证明助手中来手动构造证明。在本文中,我们研究的问题,使用机器学习自动化的互动与证明助手。我们构建了CoqGym,这是一个大规模的数据集和学习环境,包含来自Coq证明助手开发的123个项目的71K人类书面证明。我们开发了ASTactic,这是一种基于深度学习的模型,可以以抽象语法树(AST)的形式生成策略作为程序。实验表明,在CoqGym上训练的ASTactic可以生成有效的策略,并可用于证明以前无法通过自动方法证明的新定理。代码可在https://github.com/princeton-vl/CoqGym上获得。

英文摘要:

Humans prove theorems by relying on substantial high-level reasoning and problem-specific insights. Proof assistants offer a formalism that resembles human mathematical reasoning, representing theorems in higher-order logic and proofs as high-level tactics. However, human experts have to construct proofs manually by entering tactics into the proof assistant. In this paper, we study the problem of using machine learning to automate the interaction with proof assistants. We construct CoqGym, a large-scale dataset and learning environment containing 71K human-written proofs from 123 projects developed with the Coq proof assistant. We develop ASTactic, a deep learning-based model that generates tactics as programs in the form of abstract syntax trees (ASTs). Experiments show that ASTactic trained on CoqGym can generate effective tactics and can be used to prove new theorems not previously provable by automated methods. Code is available at https://github.com/princeton-vl/CoqGym.

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

↑