Mixed Choice in Asynchronous Multiparty Session Types

Read full text
Authors: Laura Bocchi, Raymond Hu, A. Laura Voinea, Simon Thompson
Cited by: 1

Abstract

We present a multiparty session type (MST) framework with asynchronous mixed choice (MC). We propose a core construct for MC that allows transient inconsistencies in protocol state between distributed participants, but ensures all participants can always eventually reach a mutually consistent state. We prove the correctness of our system by establishing a progress property and an operational correspondence between global types and distributed local type projections. Based on our theory, we implement a practical toolchain for specifying and validating asynchronous MST protocols featuring MC, and programming compliant gen_statem processes in Erlang/OTP. We test our framework by using our toolchain to specify and reimplement part of the amqp_client of the RabbitMQ broker for Erlang.

Fields of Study & Subjects

Distributed systems and fault tolerance Logic programming and type systems Software System Performance and Reliability

Publication details

Journal / source
arXiv (Cornell University)
Publication date
27 February 2026
Document type
Preprint