arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.12302cs.LO
收藏

CoLF:作为无穷证明探索的逻辑程序设计

CoLF Logic Programming as Infinitary Proof Exploration

Carnegie Mellon University(卡内基梅隆大学)

Zhibo Chen, Frank Pfenning

AI总结:

本文提出在支持无穷对象与证明的CoLF$^ω_1$一阶片段上,将逻辑变量解释为通信通道、计算解释为并发消息传递,并实现到Sax语言的编译,从而扩展计算即证明构造范式。

摘要:

诸如 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].

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

↑