cs.DCFeb 27, 2026

Mixed Choice in Asynchronous Multiparty Session Types

Authors: Laura Bocchi, Raymond Hu, Adriana Laura Voinea, Simon Thompson

Organizations: University of Kent, UK · Queen Mary University of London, UK · University of Glasgow, UK

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.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Specification-Guided Synthesis of Deadlock-Free Communication Protocol Refinements with Large Language Models

    Jul 30, 2026Yang Li, Ping Hou, Nobuko YoshidaLLM-Based Program SynthesisFormal Verification