初始语义学不同方法导论
An Introduction to Different Approaches to Initial Semantics
AI总结:
本文系统介绍初始语义学的三种研究路径,通过推广 Hirschowitz-Maggesi 框架与 Matthes-Uustalu 形式化方法至一般幺半范畴,构建统一框架并提供模块化证明与实例。
摘要:
将带变量绑定的编程语言刻画为初始对象,最早由 Fiore、Plotkin 和 Turi 在其发表于 LICS'99 的奠基性论文中实现。为此,特别是为了证明初始性定理,他们发展了一个基于幺半范畴、带强度函子和 $Σ$-monoids 的框架。后来 Hirschowitz 和 Maggesi 针对自函子范畴(即特定的幺半范畴)引入了一种使用单子上的模的替代方法。该方法的优点在于提供了对签名和模型更一般、更抽象的定义;然而,对于这种签名概念,目前尚无已知的一般初始性结果。此外,Matthes 和 Uustalu 提供了一种通过 Mendler 式递归构造(初始)单子的范畴形式化方法,该方法也可用于初始语义学。这些不同的方法已在多篇文章中得到进一步发展。然而,在实践中,相关文献难以获取,且不同研究方向之间的联系仍未得到充分探索。在本文中,我们给出了一个涵盖这三种不同研究方向的初始语义学导论。我们构建了 Hirschowitz 和 Maggesi 框架与 Fiore 框架之间合适的“推出”,并借助 Matthes 和 Uustalu 的形式化方法来提供模块化证明。为此,我们将 Hirschowitz 和 Maggesi 的框架以及 Matthes 和 Uustalu 的形式化方法都推广到 Fiore 及其合作者所研究的一般幺半范畴设定中。此外,我们给出了文献中一些基本实例的完整展开表述,并对相关工作进行了广泛讨论,解释了不同方法之间的联系。
英文摘要:
Characterizing programming languages with variable binding as initial objects, was first achieved by Fiore, Plotkin, and Turi in their seminal paper published at LICS'99. To do so, in particular to prove initiality theorems, they developed a framework based on monoidal categories, functors with strengths, and $Σ$-monoids. An alternative approach using modules over monads was later introduced by Hirschowitz and Maggesi, for endofunctor categories, that is, for particular monoidal categories. This approach has the advantage of providing a more general and abstract definition of signatures and models; however, no general initiality result is known for this notion of signature. Furthermore, Matthes and Uustalu provided a categorical formalism for constructing (initial) monads via Mendler-style recursion, that can also be used for initial semantics. The different approaches have been developed further in several articles. However, in practice, the literature is difficult to access, and links between the different strands of work remain underexplored. In the present work, we give an introduction to initial semantics that encompasses the three different strands. We develop a suitable "pushout" of Hirschowitz and Maggesi's framework with Fiore's, and rely on Matthes and Uustalu's formalism to provide modular proofs. For this purpose, we generalize both Hirschowitz and Maggesi's framework, and Matthes and Uustalu's formalism to the general setting of monoidal categories studied by Fiore and collaborators. Moreover, we provide fully worked out presentation of some basic instances of the literature, and an extensive discussion of related work explaining the links between the different approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。