基于进化算法和证明助手的数学定理自动证明
Automatically Proving Mathematical Theorems with Evolutionary Algorithms and Proof Assistants
摘要:
数学定理是人类能够以符号表示的形式积累起来的知识,证明定理一直被认为是智能行为。基于BHK解释和Curry-Howard同构,证明助手是一种能够与人类交互构造形式证明的软件。由于证明可以被认为并表示为程序,因此证明助手通过计算评估与证明对应的程序来简化和验证证明。由于从逻辑到计算的转变,现在可以直接在计算领域中生成或搜索形式证明。进化算法以其灵活性和通用性而闻名,已经成功地应用于处理许多学科中的各种科学和工程问题。本研究的主要目的是探讨在进化算法作为程序生成器和证明助手作为证明验证器之间建立联系的可行性,以自动找到给定逻辑句子的形式证明。在这篇文章中,我们详细描述了我们的第一次,临时尝试完全自动证明定理以及初步结果。证明了10个来自不同数学分支的简单定理,其中大多数定理不能单独使用Coq中的策略自动机来证明,Coq是所采用的证明助手。讨论了本研究的意义和潜在影响,并将所获得的实验结果与开发的源代码作为开源发布。
英文摘要:
Mathematical theorems are human knowledge able to be accumulated in the form of symbolic representation, and proving theorems has been considered intelligent behavior. Based on the BHK interpretation and the Curry-Howard isomorphism, proof assistants, software capable of interacting with human for constructing formal proofs, have been developed in the past several decades. Since proofs can be considered and expressed as programs, proof assistants simplify and verify a proof by computationally evaluating the program corresponding to the proof. Thanks to the transformation from logic to computation, it is now possible to generate or search for formal proofs directly in the realm of computation. Evolutionary algorithms, known to be flexible and versatile, have been successfully applied to handle a variety of scientific and engineering problems in numerous disciplines for also several decades. Examining the feasibility of establishing the link between evolutionary algorithms, as the program generator, and proof assistants, as the proof verifier, in order to automatically find formal proofs to a given logic sentence is the primary goal of this study. In the article, we describe in detail our first, ad-hoc attempt to fully automatically prove theorems as well as the preliminary results. Ten simple theorems from various branches of mathematics were proven, and most of these theorems cannot be proven by using the tactic auto alone in Coq, the adopted proof assistant. The implication and potential influence of this study are discussed, and the developed source code with the obtained experimental results are released as open source.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。