The Concurrent Games Abstract Machine - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 2021

The Concurrent Games Abstract Machine

Résumé

We introduce the concurrent games abstract machine: a multi-token machine for Idealized Parallel Algol (IPA), a higher-order concurrent programming language with shared state and semaphores. Our abstract machine takes the shape of a compositional interpretation of terms as Petri structures, certain coloured Petri nets. For the purely functional fragment, our machine is conceptually close to Geometry of Interaction token machines, originating from Linear Logic and presenting higher-order computation as the low-level process of a token walking through a graph (a proof net) representing the term. We pair here these ideas with folklore ideas on the representation of first-order imperative concurrent programs as coloured Petri nets. To prove our machine correct, we follow game semantics and represent types as certain games specifying dependencies and conflict between computational events. We define Petri strategies as those Petri structures obeying the rules of the game. In turn, we show how Petri strategies unfold to concurrent strategies in the sense of concurrent games on event structures. This not only entails correctness and adequacy of our machine, but also lets us generate operationally a causal description of the behaviour of programs at higher-order types.
Fichier principal
Vignette du fichier
popl22.pdf (1.06 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03286443 , version 1 (15-07-2021)
hal-03286443 , version 2 (14-11-2022)

Identifiants

  • HAL Id : hal-03286443 , version 1

Citer

Pierre Clairambault, Simon Castellan. The Concurrent Games Abstract Machine. 2021. ⟨hal-03286443v1⟩
511 Consultations
312 Téléchargements

Partager

More