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

混合选择多方会话中的分离性与可编码性(技术报告)

Separation and Encodability in Mixed Choice Multiparty Sessions (Technical Report)

Kirstin Peters, Nobuko Yoshida

AI总结:

本文为混合选择同步多方会话演算提出通用类型系统并证明其安全性,进而通过可编码性与分离性分析比较九个演算的表达能力,证明MCMP严格强于经典多方会话。

摘要:

多方会话类型(MP)是一种类型规约,用于约束并发和消息传递程序的结构化、无死锁通信。传统MP的选择形式有限,其中备选通信可能性由单个参与者提供并由另一个参与者选择。混合选择多方会话类型(MCMP)将选择构造扩展为在同一选择中同时包含选择和提供。本文首先为混合选择同步多方会话演算提出了一个通用类型系统,并证明了类型健全性、通信安全性和无死锁性。\n接下来,我们通过考察九个MCMP演算子演算的可编码性(存在从一个演算到另一个演算的良好编码)和分离性(不存在从一个演算到另一个演算的良好编码)来比较它们的表达能力。我们证明了8个新的可编码性结果和20个新的分离性结果。总之,MCMP严格比经典多方会话(MP)和混合会话中的混合选择更具表达能力。这与早期结果形成对比,早期结果表明混合会话不会为非混合基本会话增加任何表达能力,从而揭示了多方混合选择的表达能力。

英文摘要:

Multiparty session types (MP) are a type discipline for enforcing the structured, deadlock-free communication of concurrent and message-passing programs. Traditional MP have a limited form of choice in which alternative communication possibilities are offered by a single participant and selected by another. Mixed choice multiparty session types (MCMP) extend the choice construct to include both selections and offers in the same choice. This paper first proposes a general typing system for a mixed choice synchronous multiparty session calculus, and prove type soundness, communication safety, and deadlock-freedom. Next we compare expressiveness of nine subcalcli of MCMP-calculus by examining their encodability (there exists a good encoding from one to another) and separation (there exists no good encoding from one calculus to another). We prove 8 new encodablity results and 20 new separation results. In summary, MCMP is strictly more expressive than classical multiparty sessions (MP) and mixed choice in mixed sessions. This contrasts earlier results where mixed sessions do not add any expressiveness to non-mixed fundamental sessions, shedding a light on expressiveness of multiparty mixed choice.

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

↑