Game semantics and session types are two formalisations of the same concept: message-passing open programs following certain protocols. Game semantics represents protocols as games, and programs as strategies; while session types specify protocols, and well-typed pi-calculus processes model programs.
Giving faithful models of the pi-calculus and giving a precise description of strategies as a programming language are two fundamental, but notoriously hard problems. In this paper, we show how these two problems can be tackled at the same time by building an accurate game semantics model of the session pi-calculus.
Our main contribution is to fill a semantic gap between the synchrony of the (session) pi-calculus and the asynchrony of game semantics, by developing an event-structure based game semantics for synchronous concurrent computation. This model supports the first truly concurrent fully abstract (for barbed congruence) interpretation of the synchronous (session) pi-calculus. We further strengthen this correspondence, establishing finite definability of asynchronous strategies by the internal session pi-calculus. As an application of these results, we propose an faithful encoding of synchronous strategies into asynchronous strategies by call-return protocols, which induces automatically an encoding at the level of processes. Our results bring session types and game semantics into the same picture, proposing the session calculus as a programming language for strategies, and the strategies as a very accurate model of the session calculus. We implement a prototype which computes the interpretation of session processes as synchronous strategies.
Wed 16 Jan Times are displayed in time zone: Greenwich Mean Time : Belfast change
15:21 - 16:27
|StkTokens: Enforcing Well-Bracketed Control Flow and Stack Encapsulation Using Linear Capabilities|
Lau SkorstengaardAarhus University, Dominique DevrieseVrije Universiteit Brussel, Belgium, Lars BirkedalAarhus UniversityLink to publication DOI Media Attached File Attached
|Two sides of the same coin: Session Types and Game Semantics|
Research PapersLink to publication DOI Pre-print Media Attached File Attached
|Exceptional Asynchronous Session Types: Session Types without Tiers|
Simon FowlerThe University of Edinburgh, Sam LindleyUniversity of Edinburgh, UK, J. Garrett MorrisUniversity of Kansas, USA, Sara DécovaLink to publication DOI Pre-print Media Attached File Attached