Machine-Checked Semantic Session Typing
- Jonas Kastberg Hinrichsen,
- Daniël Louwrink,
- Robbert Krebbers,
- ,
- University of Amsterdam,
- Delft University of Technology,
- Radboud University Nijmegen
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 178–198Publication milestones
- Published - 2021
Publication status
Published - 2021
Publisher
Association for Computing Machinery, United StatesPublication IDs
- Scopus: 85100539579
Host publication title
CPP 2021: Proceedings of the 10th ACM SIGPLAN International Conference on Certified Programs and ProofsAbstract
Session types—a family of type systems for message-passing concurrency—have been subject to many extensions, where each extension comes with a separate proof of type safety. These extensions cannot be readily combined, and their proofs of type safety are generally not machine checked, making their correctness less trustworthy. We overcome these shortcomings with a semantic approach to binary asynchronous affine session types, by developing a logical relations model in Coq using the Iris program logic. We demonstrate the power of our approach by combining various forms of polymorphism and recursion, asynchronous subtyping, references, and locks/mutexes. As an additional benefit of the semantic approach, we demonstrate how to manually prove typing judgements of racy, but safe, programs that cannot be type checked using only the rules of the type system.
Publication metrics
PlumX, opens in new tab
Captures
5
Citations
23
Access to documents
Related Event
Title
International Conference on Certified Programs and Proofs
Event type
ConferenceDate
17/01/2021 - 19/01/2021Location
VIRTUAL
