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

会话类型的子类型关系的逻辑阐释

A Logical Account of Subtyping for Session Types

Ross Horne, Luca Padovani

AI总结:

本文在带不动点的线性逻辑框架下研究会话类型的子类型关系,提出一种同时保持安全性与终止性的子类型刻画,并证明该子类型在理论上可通过强制语义编译消除。

摘要:

我们在逻辑框架下研究会话类型的子类型概念,其中会话类型是扩展了最小与最大不动点的乘法/加法线性逻辑的命题。由此得到的子类型关系具有一个简单的刻画,可以粗略表述为如下不言自明的事实:每个会话类型都大于最小的会话类型,并且小于最大的会话类型。同时,我们观察到,与传统子类型不同,这种子类型除了保持会话通常的安全性之外,还保持终止性。我们提出了一个采用该子类型关系的会话演算,并证明子类型虽然在实践中很有用,但在理论上是多余的:每一次对子类型的使用都可以通过强制语义被“编译消除”。

英文摘要:

We study the notion of subtyping for session types in a logical setting, where session types are propositions of multiplicative/additive linear logic extended with least and greatest fixed points. The resulting subtyping relation admits a simple characterization that can be roughly spelled out as the following lapalissade: every session type is larger than the smallest session type and smaller than the largest session type. At the same time, we observe that this subtyping, unlike traditional ones, preserves termination in addition to the usual safety properties of sessions. We present a calculus of sessions that adopts this subtyping relation and we show that subtyping, while useful in practice, is superfluous in the theory: every use of subtyping can be "compiled away" via a coercion semantics.

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

↑