诸如 Automath [de Bruijn, 1968] 或 LF [Harper et al., 1993] 等逻辑框架最初被构想为用于规范基础未定的演绎系统的元语言,从而产生通用的证明检查器。其高抽象度很快被利用,以在“计算即证明构造”范式中表达演绎系统上的算法,如定理证明器、类型检查器、求值器、编译器、证明转换器等。这在基于反向链接的语言(如 $λ$-Prolog [Miller et al., 1991] 或 Elf [Pfenning, 1991])以及集成了正向链接的 LolliMon [Lopez et al., 2005] 或 Celf [Schack-Nielsen and Schuermann, 2008] 中得以实现。这些早期框架均不支持无穷对象或证明的直接表达,而这一功能在近期开发的 CoLF$^ω$ [Chen, 2023] 中得以提供。在这份进行中的工作报告里,我们概述了一种在 CoLF$^ω$ 的一阶片段(称为 CoLF$^ω_1$)上进行计算即证明构造的方法,该方法已包含无穷对象与证明。其核心思想是将逻辑变量解释为通信通道,并将计算解释为并发消息传递。这是通过一个从 CoLF$^ω_1$ 到 Sax 的具体编译器实现的;Sax 是一种受证明论启发的并行编程语言,基于半公理化矢列演算 [DeYoung et al., 2020] 中的证明归约。
英文摘要:
Logical Frameworks such as Automath [de Bruijn, 1968] or LF [Harper et al., 1993] were originally conceived as metalanguages for the specification of foundationally uncommitted deductive systems, yielding generic proof checkers. Their high level of abstraction was soon exploited to also express algorithms over deductive systems such as theorem provers, type-checkers, evaluators, compilers, proof transformers, etc. in the paradigm of computation-as-proof-construction. This has been realized in languages such as $λ$-Prolog [Miller et al., 1991] or Elf [Pfenning, 1991] based on backward chaining, and LolliMon [Lopez et al., 2005] or Celf [Schack-Nielsen and Schuermann, 2008], which integrated forward chaining. None of these early frameworks supported the direct expression of infinitary objects or proofs, which are available in the recently developed CoLF$^ω$ [Chen, 2023]. In this work-in-progress report, we sketch an approach to computation-as-proof-construction over the first-order fragment of CoLF$^ω$ (called CoLF$^ω_1$ ) that already includes infinitary objects and proofs. A key idea is the interpretation of logic variables as communication channels and computation as concurrent message-passing. This is realized in a concrete compiler from CoLF$^ω_1$ to Sax, a proof-theoretically inspired parallel programming language based on the proof-reduction in the semi-axiomatic sequent calculus [DeYoung et al., 2020].
Infinitary Classical Logic: Recursive Equations and Interactive Semantics
在本文中,我们提出了一个经典逻辑的无限扩展派生的交互语义。我们语言的公式可能是由命题变量和逻辑连接词标记的无限树。我们表明,在我们的设置每个递归公式方程有一个唯一的解决方案。至于导子,我们使用Tait演算的无穷变体来导出序列。我们在本文中介绍的派生的交互式语义被表示为测试<< T >>(派生候选者,Proponent)和环境<< not S >>(否定对象,Opponent)之间的辩论(交互树)。我们证明了一个推导的完备性定理,我们称之为交互完备性定理:<< T >>(测试)和<< not S >>(环境)之间的交互不会产生错误(即,Proponent wins)以防<< T >>来自< >的句法派生< S >。
On Equivalence of Infinitary Formulas under the Stable Model Semantics
在直觉主义逻辑中等价的命题公式,或者在其扩展中被称为这里和那里的逻辑,具有相同的稳定模型。我们将这个定理扩展到具有无限长合取和析取的命题公式,并展示如何将此推广应用于证明答案集编程中聚合的性质。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
Institute of Computer Science, Czech Academy of Sciences(捷克科学院计算机研究所);Department of Algebra, Faculty of Mathematics and Physics, Charles University(查理大学数学物理学院代数系);Department of Information Engineering and Mathematics, University of Siena(锡耶纳大学信息与工程数学系)
The Graduate University for Advanced Studies (SOKENDAI)(高级研究大学院(SOKENDAI));National Institute of Informatics(情报学研究所);Chiba University(千叶大学);The University of Tokyo(东京大学)