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

关于混合选择会议的表达性(技术报告)

On the Expressiveness of Mixed Choice Sessions (Technical Report)

Kirstin Peters, Nobuko Yoshida

摘要:

会话类型为结构化交互提供了灵活的编程风格,并用于保证分布式进程的安全和一致的组合。传统的会话类型仅包括单向输入(外部)和输出(内部)保护选择。这阻止了会话进程探索pi演算的全部表达能力,其中混合选择被证明比(非混合)保护选择更具表达力。为了解决这个问题,最近Casal,Mordido和Vasconcelos提出了混合选择的二进制会话类型(CMV+)。本文进行了一个令人惊讶的,不幸的结果CMV+:尽管包括不受限制的渠道与混合选择,CMV+的混合选择是相当独立的,而不是混合。我们证明了这一负面结果使用两种方法(使用领导选举问题或同步模式作为显着特征),表明不存在良好的编码从π演算到CMV+,保持分布。然后,我们关闭他们的开放问题上的编码从CMV+到CMV(没有混合选择),证明其合理性,从而编码是好的耦合相似性。本技术报告是EXPRESS/SOS'22研讨会上发表的一篇论文的延伸。

英文摘要:

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. This technical report extends a paper presented at the workshop EXPRESS/SOS'22.

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

↑