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

异步多方会话中的混合选择

Asynchronous Multiparty Sessions with Mixed Choice

Università di Catania(卡塔尼亚大学);Università di Torino(都灵大学)

Franco Barbanera, Mariangiola Dezani-Ciancaglini

AI总结:

本文提出一种异步多方会话的校验算法,支持输入和输出前缀的非确定性选择,通过全局类型系统确保通信标签集的连贯性,证明了类型正确性和会话保真性,展示了混合选择在异步多方协议中的表达力。

摘要:

我们提出了一种异步多方会话的校验算法,该算法扩展了简单的多方会话框架,以支持具有输入和输出前缀的非确定性选择。全局类型——配备有以归纳方式定义的标记转换系统——构成了一个类型系统的基础,该系统利用通信标签集的连贯性这一关键概念。大致而言,连贯集包含要么是会话中所有启用的通信,要么是参与者当前展示的所有操作,前提是每个预期发送者至少有一个输入被启用。我们的多方会话类型化方法与已建立的基于投影的多方会话类型框架方法是正交的。我们为可类型化的多方会话证明了基本定理,包括主体减少和会话保真性。这些属性表明,可类型化的会话既是无锁的又是无孤儿消息的。我们还研究了类型系统扩展的最终接收属性。一些示例展示了混合选择在异步多方协议中的表达力以及所提出类型纪律的有效性。

英文摘要:

We present an asynchronous calculus for multiparty sessions with mixed choice, which extends the Simple MultiParty Session framework in order to support nondeterministic choices with both input and output prefixes. Global types -- equipped with a coinductively defined labelled transition system -- form the basis of a type system that exploits the key notion of coherence of communication label sets. Roughly, a coherent set contains either all the communications enabled in the session, or all the actions currently exhibited by a participant, provided that at least one input is enabled for each expected sender. Our approach to the typing of multiparty sessions is orthogonal to the well-established, projection-based approaches of the MultiParty Session Type framework. We prove fundamental theorems for typable multiparty sessions, including Subject Reduction and Session Fidelity. These properties imply that typable sessions are both Lock-Free and Orphan-Message-Free. We also investigate the Eventual Reception property for an extension of the type system. Some examples demonstrate the expressiveness of mixed choice in asynchronous multiparty protocols and the effectiveness of the proposed type discipline.

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

↑