arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.16073cs.LO
收藏

论简单类型函数机器演算:范畴语义与强正规化

On the Simply-Typed Functional Machine Calculus: Categorical Semantics and Strong Normalisation

Chris Barrett

AI总结:

本文研究函数机器演算(FMC)的范畴语义与强正规化,证明其在适当等式理论下对应自由笛卡尔闭范畴,并扩展 Gandy 证明以确立带类型 FMC 项的强正规化性质。

摘要:

函数机器演算(FMC)最近被提出,作为 lambda 演算的推广,以纳入高阶全局状态、概率与非确定性选择以及输入输出,同时保持合流性。该演算能够编码这些效应的按名调用和按值调用语义。这是通过两个独立的推广实现的,从 FMC 的操作语义(由一个简单的多栈机器给出)角度来看,二者都是自然的。第一个推广分解了 lambda 演算的语法,从而允许项的序列组合和归约策略的编码。具体而言,存在按名调用和按值调用 lambda 演算的翻译,它们保持操作语义。第二个推广根据“位置”(对应于机器的多个栈)对应用和抽象进行参数化,从而将给定效应的操作语义、语法和归约规则与 lambda 演算的操作语义、语法和归约规则统一起来。FMC 还配备了一个简单的类型系统,用于限制和刻画效应的行为。本论文做出两个主要贡献,表明 lambda 演算的两个基本性质被 FMC 保持。第一个贡献是证明 FMC 的范畴语义,在适当的等式理论下取模,由自由笛卡尔闭范畴给出。该等式理论通过观察等价性的概念得到验证。第二个贡献是证明带类型的 FMC 项是强正规化的。这是对 Gandy 关于 lambda 演算证明的扩展(并做了小幅简化),并进一步强调了其潜在的操作直觉。

英文摘要:

The Functional Machine Calculus (FMC) was recently introduced as a generalization of the lambda-calculus to include higher-order global state, probabilistic and non-deterministic choice, and input and output, while retaining confluence. The calculus can encode both the call-by-name and call-by-value semantics of these effects. This is enabled by two independent generalisations, both natural from the perspective of the FMC's operational semantics, which is given by a simple multi-stack machine. The first generalization decomposes the syntax of the lambda-calculus in a way that allows for sequential composition of terms and the encoding of reduction strategies. Specifically, there exist translations of the call-by-name and call-by-value lambda-calculus which preserve operational semantics. The second parameterizes application and abstraction in terms of 'locations' (corresponding to the multiple stacks of the machine), which gives a unification of the operational semantics, syntax, and reduction rules of the given effects with those of the lambda-calculus. The FMC further comes equipped with a simple type system which restricts and captures the behaviour of effects. This thesis makes two main contributions, showing that two fundamental properties of the lambda-calculus are preserved by the FMC. The first is to show that the categorical semantics of the FMC, modulo an appropriate equational theory, is given by the free Cartesian closed category. The equational theory is validated by a notion of observational equivalence. The second contribution is a proof that typed FMC-terms are strongly normalising. This is an extension (and small simplification) of Gandy's proof for the lambda-calculus, which additionally emphasizes its latent operational intuition.

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

↑