论文标题

关于混合选择会议的表现力

On the Expressiveness of Mixed Choice Sessions

论文作者

Peters, Kirstin, Yoshida, Nobuko

论文摘要

会话类型为结构交互提供了灵活的编程样式,并用于保证分布式流程的安全和一致的组成。传统的会话类型仅包括一个方向输入(外部)和输出(内部)保护选择。这样可以防止会话过程探索Pi-Calculus的完整表达能力,在这些表达式中,混合选择的表现力比(未混合)的护卫选择更具表现力。为了解决这个问题,最近Casal,Mordido和Vasconcelos提出了具有混合选择(CMV+)的二进制会话类型。本文在CMV+上产生了令人惊讶的,不幸的结果:尽管包含具有混合选择的不受限制的通道,但CMV+的混合选择是相当分开的,而不是混合的。我们使用两种方法(使用领导者选举问题或同步模式作为区分特征)证明了这一负面结果,表明没有从PI-Calculus中编码为CMV+的良好编码,从而保留了分布。然后,我们将它们从CMV+编码到CMV(没有混合选择)上的编码上,证明了其健全性,从而使编码很好地构成相似性。

Session types provide a flexible programming style for structuring interaction, and are used to guarantee a safe and consistent composition of distributed processes. Traditional session types include only one-directional input (external) and output (internal) guarded choices. This prevents the session-processes to explore the full expressive power of the pi-calculus where the mixed choices are proved more expressive than the (non-mixed) guarded choices. To account this issue, recently Casal, Mordido, and Vasconcelos proposed the binary session types with mixed choices (CMV+). This paper carries a surprising, unfortunate result on CMV+: in spite of an inclusion of unrestricted channels with mixed choice, CMV+'s mixed choice is rather separate and not mixed. We prove this negative result using two methodologies (using either the leader election problem or a synchronisation pattern as distinguishing feature), showing that there exists no good encoding from the pi-calculus into CMV+, preserving distribution. We then close their open problem on the encoding from CMV+ into CMV (without mixed choice), proving its soundness and thereby that the encoding is good up to coupled similarity.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源