arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2009.10929cs.PL
收藏

关系λ-演算的语义(扩展版)

Semantics of a Relational λ-Calculus (Extended Version)

Pablo Barenbaum, Federico Lochbaum, Mariana Milicich

摘要:

我们扩展了λ演算的结构适合关系和函数逻辑编程:非确定性的选择,新鲜的变量引入,表达式的统一。为了能够统一λ-表达式并仍然得到一个合流理论,我们偏离了相关的方法,如λProlog,因为我们不试图解决高阶统一。相反,抽象用一个位置来装饰,直观上可以理解为它的内存地址,我们强加了一个简单的一致性不变量:同一位置的抽象必须相等。这使我们能够制定一个融合的小步操作语义,它只执行一阶统一,并不需要强评估(以下简称)。我们研究一个简单的类型版本的系统。此外,一个指称语义的演算提出和减少被证明是健全的指称语义。

英文摘要:

We extend the λ-calculus with constructs suitable for relational and functional-logic programming: non-deterministic choice, fresh variable introduction, and unification of expressions. In order to be able to unify λ-expressions and still obtain a confluent theory, we depart from related approaches, such as λProlog, in that we do not attempt to solve higher-order unification. Instead, abstractions are decorated with a location, which intuitively may be understood as its memory address, and we impose a simple coherence invariant: abstractions in the same location must be equal. This allows us to formulate a confluent small-step operational semantics which only performs first-order unification and does not require strong evaluation (below lambdas). We study a simply typed version of the system. Moreover, a denotational semantics for the calculus is proposed and reduction is shown to be sound with respect to the denotational semantics.

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

↑