Conference item
Formally verified liveness with multiparty session types in Rocq
- Abstract:
-
Multiparty session types (MPST) offer a framework for the description of communication-based protocols involving multiple participants. In the top-down approach to MPST, the communication pattern of the session is described using a global type. Then the global type is projected on to a local type for each participant, and the individual processes making up the session are type-checked against these projections. Typed sessions possess certain desirable properties such as safety, deadlock-freedom and liveness.
In this work, we present the first mechanised proof of liveness for synchronous multiparty session types in the Rocq Proof Assistant. Building on recent work, we represent global and local types as coinductive trees using the Paco library. We use a coinductively defined subtyping relation on local types together with another coinductively defined plain-merge projection relation relating local and global types. We then associate collections of local types, or local type environments, with global types using these projection and subtyping relations, and prove an operational correspondence between a local type environment and its associated global type. We utilise this association relation to prove the safety and liveness of associated local type environments and, consequently, the multiparty sessions typed by these environments.
Besides clarifying the often informal proofs found in the MPST literature, our Rocq mechanisation also enables the certification of liveness properties of communication protocols. Our contribution amounts to around 14K lines of Rocq code, available at https://github.com/omerskeskin/ mpstlive.
- Publication status:
- Accepted
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Accepted manuscript, pdf, 837.0KB, Terms of use)
-
- Publication website:
- https://itp-conference-2026.github.io/index.html
Authors
+ Royal Society
More from this funder
- Funder identifier:
- https://ror.org/03wnrjx87
- Grant:
- RSWF\R1\221008
+ European Union
More from this funder
- Funder identifier:
- https://ror.org/019w4f821
- Grant:
- 101093006
+ UK Research and Innovation
More from this funder
- Funder identifier:
- https://ror.org/001aqnf71
- Grant:
- 10066667
+ Engineering and Physical Sciences Research Council
More from this funder
- Funder identifier:
- https://ror.org/0439y7842
- Grant:
- EP/N028201/1 - 72043/2
- EP/X015955/1 - 316931
- EP/T006544/2
- EP/T014709/2
- EP/N027833/2
- RE21850
- 309899
- Publisher:
- Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl Publishing, Germany
- Host title:
- Leibniz International Proceedings in Informatics
- Pages:
- 4:1–4:21
- Article number:
- 4
- Publication date:
- 2026-05-24
- Acceptance date:
- 2026-04-26
- Event title:
- 17th International Conference on Interactive Theorem Proving (ITP 2026)
- Event location:
- Lisbon, Portugal
- Event website:
- https://itp-conference-2026.github.io/index.html
- Event start date:
- 2026-07-26
- Event end date:
- 2026-07-29
- Language:
-
English
- Keywords:
- Pubs id:
-
2430004
- Local pid:
-
pubs:2430004
- Deposit date:
-
2026-06-05
- ARK identifier:
Terms of use
- Copyright holder:
- Keskin et al.
- Copyright date:
- 2026
- Rights statement:
- © Omer Keskin, Nobuko Yoshida and Rob van Glabbeek; licensed under Creative Commons License CC-BY 4.0.
- Licence:
- CC Attribution (CC BY)
If you are the owner of this record, you can report an update to it here: Report update to this record