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

π演算的极小会话类型(扩展版)

Minimal Session Types for the $π$-calculus (Extended Version)

Alen Arslanagic, Jorge A. Pérez, Anda-Amelia Palamariuc

AI总结:

本文在会话π演算中研究极小会话类型及其极小性结果,通过组合已知结果得到新结论,并开发优化方案且证明转换满足动态正确性。

摘要:

会话类型是一种用于消息传递程序静态验证的规范方法。会话类型将通道协议规定为一系列交换序列。通过识别使程序规范与验证成为可能的基本概念来研究基于会话的并发性,是最有意义的研究方向。遵循这一视角,先前的工作识别出了极小会话类型(MSTs),即不含顺序性构造的会话类型子类,该构造规定了通信动作的结构。这种会话类型的表述方式确立了一个极小性结果:每个可用标准会话类型赋型的进程都可以被编译为可用MST赋型的进程,该进程通过额外的进程同步在类型层面模拟顺序性。这样的极小性结果具有重要意义,因为它仅凭会话类型自身就为其提供了合理性论证,而无需诉诸外部概念;该结果是在高阶会话π演算中证明的,其中值为抽象(从名字到进程的函数)。在本文中,我们研究MSTs及其相关的极小性结果,但这次针对的是会话π演算,即值为名字的一阶语言,会话类型在该语言中得到了更广泛的研究。我们首先证明这一新的极小性结果可以通过组合已知结果来获得。然后,我们对该新的极小性结果进行优化,并证明相应的向带MST进程的转换满足动态正确性。

英文摘要:

Session types are a discipline for the static verification of message-passing programs. A session type specifies a channel's protocol as sequences of exchanges. It is most relevant to investigate session-based concurrency by identifying the essential notions that enable program specification and verification. Following that perspective, prior work identified minimal session types (MSTs), a sub-class of session types without the sequentiality construct, which specifies the structure of communication actions. This formulation of session types led to establish a minimality result: every process typable with standard session types can be compiled down to a process typable using MSTs, which mimics sequentiality in types via additional process synchronizations. Such a minimality result is significant because it justifies session types in terms of themselves, without resorting to external notions; it was proven for a higher-order session pi-calculus, in which values are abstractions (functions from names to processes). In this paper, we study MSTs and their associated minimality result but now for the session pi-calculus, the (first-order) language in which values are names and for which session types have been more widely studied. We first show that this new minimality result can be obtained by composing known results. Then, we develop optimizations of this new minimality result and prove that the associated transformation into processes with MSTs satisfies dynamic correctness.

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

↑