Session Type State Spaces Form Lattices
Alexandre Zua Caldeira
Abstract
We prove that the state space of every well-formed session type, quotiented by strongly connected components, forms a bounded lattice; n-ary parallel composition yields product lattices. Two consequences follow: duality preserves the lattice up to isomorphism, and Gay-Hole width subtyping corresponds to lattice embedding for non-recursive types. We validate this on 108 benchmark protocols across networking, databases, distributed systems, AI, and fault tolerance: all form lattices, 93 distributive, 15 non-distributive. Mechanised in Lean 4 with two independently developed tool implementations.
Create a lesson
Related papers
Model Checking Probabilistic Multiparty Session Types
Shared title terminology · Aleksander Junge, Leo Seojun Lee, Joseph Paulus et al.
On the Expressiveness of Asynchronous Processes with Nested Session Types (Extended Version)
Shared title terminology · Sjors Wortelboer, Dan Frumin, Jorge A. Pérez
You Have Mail: Set-Theoretic Types for Actors
Shared title terminology · Giuseppe Castagna, Luca Padovani, Daniele Varacca et al.
Mode Inference for Substructural Adjoint Types
Shared title terminology · Sophia Roshal, Frank Pfenning
Statically Typed Purely Functional Definitional Interpreters for Essentials of Programming Languages
Shared title terminology · Kwanghoon Choi
CIRT: Calculus of Inductive Refinement Types
Shared title terminology · Alessio Ferrarini, Niki Vazou, G. A. Kavvos