paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Initial Semantics for Reduction Rules

归约规则的初始语义
LMCS vol.Volume 15, Issue 12019匹配度 2/10 · 该论文属于纯形式语义与范畴论基础研究,讨论简单类型语法和归约规则的初始语义,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心问题无直接交集。引用 0 inbox
Benedikt Ahrens
crossref: 2026-09-10

AI 速览

一句话:用范畴模型初始对象统一刻画带变量绑定的简单类型语法及其归约规则,并构造保持归约语义的翻译。

本文为带变量绑定和归约规则的简单类型语言(如 PCF)给出代数/范畴刻画。作者结合前期关于类型语言间翻译和未类型语法归约规则的工作,将简单类型语法连同归约规则刻画为某类模型范畴的初始对象,以泛性质统一语法与操作语义。该泛性质导出翻译算子,可构造不同类型集合语言之间按构造保持语义的翻译。实例中,作者为 PCF 和未类型 λ 演算指定归约语义,并把 λ 演算装备为 PCF 的模型;由初始性得到从 PCF 到 λ 演算的翻译,且该翻译对源和目标的归约语义忠实。

问题
如何用统一的代数/范畴模型刻画带变量绑定和归约规则的简单类型语言(如 PCF)的语法与操作语义,并由此构造保持归约语义的翻译。
方法
将简单类型语法及其归约规则刻画为某类模型范畴的初始对象,利用泛性质导出翻译算子,并结合 PCF 到未类型 λ 演算的实例进行说明。
评估
通过将未类型 λ 演算装备为 PCF 的模型,由初始性得到 PCF 到 λ 演算的翻译,验证该翻译对源和目标规则所指定的归约语义保持忠实;本文为 WoLLIC 2012 文章的扩展版。
原文摘要(Abstract)

We give an algebraic characterization of the syntax and operational semantics of a class of simply-typed languages, such as the language PCF: we characterize simply-typed syntax with variable binding and equipped with reduction rules via a universal property, namely as the initial object of some category of models. For this purpose, we employ techniques developed in two previous works: in the first work we model syntactic translations between languages over different sets of types as initial morphisms in a category of models. In the second work we characterize untyped syntax with reduction rules as initial object in a category of models. In the present work, we combine the techniques used earlier in order to characterize simply-typed syntax with reduction rules as initial object in a category. The universal property yields an operator which allows to specify translations---that are semantically faithful by construction---between languages over possibly different sets of types. As an example, we upgrade a translation from PCF to the untyped lambda calculus, given in previous work, to account for reduction in the source and target. Specifically, we specify a reduction semantics in the source and target language through suitable rules. By equipping the untyped lambda calculus with the structure of a model of PCF, initiality yields a translation from PCF to the lambda calculus, that is faithful with respect to the reduction semantics specified by the rules. This paper is an extended version of an article published in the proceedings of WoLLIC 2012. Comment: Extended version of arXiv:1206.4547, proves a variant of a result of PhD thesis arXiv:1206.4556

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot813,
  title = {Initial Semantics for Reduction Rules},
  author = {Benedikt Ahrens},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 15, Issue 1},
  year = {2019},
  doi = {10.23638/lmcs-15(1:28)2019}
}