Concurrent Game Semantics: Easy as Pi - Archive ouverte HAL Access content directly
Reports (Research Report) Year : 2020

Concurrent Game Semantics: Easy as Pi

Abstract

Game semantics has proven to be a robust method to give compositional semantics for a variety of programming languages. However, its complexity makes it inaccessible for nonexperts. In this paper, we aim at making game semantics more accessible by decomposing it into two steps. The first is a syntactic translation into a session typed π-calculus, the metalanguage, which explicits a protocol for an open program to communicate with its context. The second is a semantic interpretation of the metalanguage. The syntactic translation can be defined without knowledge of the particular model used, and different models of the metalanguage (traces, partial orders) yield different reasoning powers. Moreover, simple reasoning on the model (soundness and adequacy) can be done at the level of the metalanguage, escaping tedious proofs usually found in game semantics. We call this methodology programming game semantics. We design a metalanguage (π DiLL) inspired from Differential Linear Logic, meant to correspond to strategies in concurrent game semantics. We translate ML , an extension of Mini-ML with shared memory concurrency, into π DiLL and show that the translation is sound and adequate. We then describe a causal and non-angelic game model using event structures, which supports a fully-abstract interpretation of π DiLL. Combining both results, we obtain the first compositional model of a concurrent higherorder language, which is sound and adequate, and fully abstract on second-order terms, for weak bisimulation. We have implemented a prototype which can explore the generated causal object from a subset of OCaml.
Fichier principal
Vignette du fichier
2011.05248.pdf (634 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03128187 , version 1 (02-02-2021)

Identifiers

  • HAL Id : hal-03128187 , version 1

Cite

Simon Castellan, Léo Stefanesco, Nobuko Yoshida. Concurrent Game Semantics: Easy as Pi. [Research Report] Inria. 2020. ⟨hal-03128187⟩
52 View
262 Download

Share

Gmail Facebook Twitter LinkedIn More