On the Expressiveness of Mixed Choice Sessions (Technical Report)
Kirstin Peters, Nobuko Yoshida

TL;DR
This paper investigates the expressiveness of mixed choice session types, revealing limitations in their ability to fully capture pi-calculus behaviors and establishing a sound encoding into non-mixed session types.
Contribution
It proves that CMV+ mixed choices are not truly mixed and provides a sound encoding from CMV+ into CMV, resolving an open problem.
Findings
CMV+ mixed choices are not fully expressive of pi-calculus.
No good encoding exists from pi-calculus to CMV+ preserving distribution.
A sound encoding from CMV+ into CMV is established.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Logic, programming, and type systems · Parallel Computing and Optimization Techniques
