Concurrent Game Semantics: Easy as Pi - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2020

Concurrent Game Semantics: Easy as Pi

Résumé

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
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Identifiants

  • HAL Id : hal-03128187 , version 1

Citer

Simon Castellan, Léo Stefanesco, Nobuko Yoshida. Concurrent Game Semantics: Easy as Pi. [Research Report] Inria. 2020. ⟨hal-03128187⟩
66 Consultations
332 Téléchargements

Partager

Gmail Facebook X LinkedIn More