arXiv · 2609.34927
Session Type State Spaces Form Lattices
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Alexandre Zua Caldeira. 2026-09-28. Session Type State Spaces Form Lattices. https://doi.org/10.4204/eptcs.453.4
Cite the original work for its findings. Save a collection to share your selection of sources.