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

比较派生自线性逻辑的会话类型系统

Comparing Session Type Systems derived from Linear Logic

Bas van den Heuvel, Jorge A. Pérez

AI总结:

本文严格比较了由线性逻辑的经典与直觉主义表述派生出的并发会话类型系统,开发了涵盖两者的 $π\mathsf{ULL}$ 系统作为参考框架,并基于局部性原则和进程组合形式分析了其差异。

摘要:

会话类型是一种用于消息传递并发的类型化方法,其中类型描述了信道上预期交换的序列。通过与线性逻辑(一种自然捕获结构化交互的资源感知逻辑)的 Curry-Howard 对应,会话类型系统被赋予了坚实的逻辑基础。这些逻辑基础为指定和(静态地)验证消息传递进程提供了一个优雅的框架。在本文中,我们严格比较了由线性逻辑与会话类型之间的 Curry-Howard 对应派生出的不同并发类型系统。我们解决了这些类型系统之间的主要分歧:线性逻辑的经典和直觉主义表述。多年来,这些表述衍生出了关于并发逻辑基础的独立研究分支;其派生类型系统之间的差异仅被非正式地讨论过。为了正式评估这些差异,我们开发了 $π\mathsf{ULL}$,这是一个包含由线性逻辑的经典和直觉主义解释派生的类型系统的会话类型系统。基于 Girard 的 Logic of Unity 的一个片段,$π\mathsf{ULL}$ 提供了一个基本参考框架:我们通过刻画与经典和直觉主义表述相一致的 $π\mathsf{ULL}$ 片段来比较现有的会话类型系统。我们通过考虑局部性原则(由直觉主义解释强制执行,而经典解释则不强制)以及由这些解释引发的进程组合形式,分析了我们刻画的意义。

英文摘要:

Session types are a typed approach to message-passing concurrency, where types describe sequences of intended exchanges over channels. Session type systems have been given strong logical foundations via Curry-Howard correspondences with linear logic, a resource-aware logic that naturally captures structured interactions. These logical foundations provide an elegant framework to specify and (statically) verify message-passing processes. In this paper, we rigorously compare different type systems for concurrency derived from the Curry-Howard correspondence between linear logic and session types. We address the main divide between these type systems: the classical and intuitionistic presentations of linear logic. Over the years, these presentations have given rise to separate research strands on logical foundations for concurrency; the differences between their derived type systems have only been addressed informally. To formally assess these differences, we develop $π\mathsf{ULL}$, a session type system that encompasses type systems derived from classical and intuitionistic interpretations of linear logic. Based on a fragment of Girard's Logic of Unity, $π\mathsf{ULL}$ provides a basic reference framework: we compare existing session type systems by characterizing fragments of $π\mathsf{ULL}$ that coincide with classical and intuitionistic formulations. We analyze the significance of our characterizations by considering the locality principle (enforced by intuitionistic interpretations but not by classical ones) and forms of process composition induced by the interpretations.

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

↑