蕴涵线性逻辑中的陈述式推导定理
Deriving Theorems in Implicational Linear Logic, Declaratively
摘要:
我们要解决的问题是如何在命题直觉线性逻辑的蕴涵片段中生成给定大小的所有定理。我们首先过滤线性相关的证明条款,我们的Prolog为基础的定理证明隐含直觉逻辑。这是可行的,但是对每个公式使用PSPACE完备算法将其限制为非常小的公式。我们采取了几个来回的桥梁之间的证明条款和定理,提供的Curry-Howard同构,并得出一步一步的有效算法,需要一个低多项式的努力,每个生成的定理。由此产生的Prolog程序在O(N)空间中运行,项的大小为N,并在几个小时内生成7,566,084,686个线性直觉逻辑的蕴涵片段中的定理,以及它们的范式证明项。作为应用程序,我们生成数据集的正确性和可扩展性测试的线性逻辑定理证明和训练数据的神经网络工作的定理证明的挑战。论文中的结果,组织成一个识字的Prolog程序,是完全可复制的。保留字:给定大小的可证明公式的组合生成,直觉和线性逻辑定理证明器,命题线性直觉逻辑的蕴涵片段定理,Curry-Howard同构,范式中线性lambda项的有效生成,lambda项生成的Prolog程序和定理证明。
英文摘要:
The problem we want to solve is how to generate all theorems of a given size in the implicational fragment of propositional intuitionistic linear logic. We start by filtering for linearity the proof terms associated by our Prolog-based theorem prover for Implicational Intuitionistic Logic. This works, but using for each formula a PSPACE-complete algorithm limits it to very small formulas. We take a few walks back and forth over the bridge between proof terms and theorems, provided by the Curry-Howard isomorphism, and derive step-by-step an efficient algorithm requiring a low polynomial effort per generated theorem. The resulting Prolog program runs in O(N) space for terms of size N and generates in a few hours 7,566,084,686 theorems in the implicational fragment of Linear Intuitionistic Logic together with their proof terms in normal form. As applications, we generate datasets for correctness and scalability testing of linear logic theorem provers and training data for neural networks working on theorem proving challenges. The results in the paper, organized as a literate Prolog program, are fully replicable. Keywords: combinatorial generation of provable formulas of a given size, intuitionistic and linear logic theorem provers, theorems of the implicational fragment of propositional linear intuitionistic logic, Curry-Howard isomorphism, efficient generation of linear lambda terms in normal form, Prolog programs for lambda term generation and theorem proving.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。