On the Expressiveness of Asynchronous Processes with Nested Session Types
Sjors Wortelboer, Dan Frumin, Jorge A. P\'erez
Key points
From the paper's conclusion- We prove that AST is Turing complete by giving a correct encoding of two-counter machines into typed processes.
Abstract
Session types are a type-based approach to correct message-passing programs, where types specify protocols for channels and type checking guarantees communication correctness. Traditional session types express regular protocols only, which leaves out many protocols found in practice. Aiming at overcoming this limitation, Nested Session Types (NSTs) can specify nested recursive protocols. NSTs are known to be characterised by one-counter machines and deterministic context-free languages. In this paper, we study the expressiveness of ASP (Asynchronous Session Processes), the process model associated with NSTs as introduced by Das et al. We prove that AST is Turing complete by giving a correct encoding of two-counter machines into typed processes. Our encoding uses a non-trivial state-aware representation of counters and instructions that is neatly governed by NSTs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Formalising Asynchronous Session SubtypingACM Transactions on Computational Logic · 2026
- Mixed Choice Multiparty Session Types, PreciselyarXiv · 2026
- What is a Good Projection?: Correctness and Separation Results of End-Point ProjectionsarXiv · 2026
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global ProtocolsProceedings of the ACM on Programming Languages · 2026
- Model Checking Probabilistic Multiparty Session TypesarXiv · 2026
- From synchronous to interleaved: rethinking time and concurrency in protocol verificationLogic Journal of the IGPL · 2026