Session types offer a type-based approach to describing the message exchange protocols between participants in communication-based systems. Initially, they were introduced in a binary setting, specifying communication patterns between two components. With the advent of multiparty session types (MPST), the typing discipline was extended to arbitrarily many components. In MPST, communication patterns are given in terms of global types, an Alice-Bob notation that gives a global view of how components interact. A central theorem of MPST is subject reduction: a well-typed system remains well-typed after reduction. The literature contains some formulations of MPST with proofs of subject reduction that have later been shown to be incorrect. In this paper, we show that the subject reduction proof of the original formulation of MPST by Honda et al. contains some flaws. Additionally, we provide a restriction to the theory and show that, for this fragment, subject reduction does indeed hold. Finally, we use subject reduction to show that well-typed processes never go wrong. All of our proofs are mechanised using the Coq proof assistant. This artifact accompanies our paper [Dawit Tirore et al., 2025]. It contains the Coq mechanisation of the theory described therein.
@Article{tirore_et_al:DARTS.11.2.3, author = {Tirore, Dawit and Bengtson, Jesper and Carbone, Marco}, title = {{Multiparty Asynchronous Session Types: A Mechanised Proof of Subject Reduction (Artifact)}}, pages = {3:1--3:5}, journal = {Dagstuhl Artifacts Series}, ISSN = {2509-8195}, year = {2025}, volume = {11}, number = {2}, editor = {Tirore, Dawit and Bengtson, Jesper and Carbone, Marco}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/DARTS.11.2.3}, URN = {urn:nbn:de:0030-drops-233467}, doi = {10.4230/DARTS.11.2.3}, annote = {Keywords: Session types, Multiparty, Mechanisation, Coq} }
259a3bb15bd95021e4570feb01312e77
(Get MD5 Sum)
The artifact has been evaluated as described in the ECOOP 2025 Call for Artifacts and the ACM Artifact Review and Badging Policy.
Feedback for Dagstuhl Publishing