Games, mobile processes, and functionss -- alternating, concurrent, and well-bracketed semantics
Abstract
We establish a tight connection between two models of the λ-calculus, namely Milner's encoding into the π-calculus (precisely, the Internal π-calculus), and operational game semantics (OGS). We first investigate the operational correspondence between the behaviours of the encoding provided by π and OGS. We do so for various LTSs: the standard LTS for π and a new `concurrent' LTS for OGS; an `output-prioritised' LTS for π and the standard alternating LTS for OGS. We then show that the equivalences induced on λ-terms by all these LTSs (for π and OGS) coincide. We also prove that when equivalence is based on complete traces, the `concurrent' and `alternating' variants of OGS also coincide with the `well-bracketed' variant. These connections allow us to transfer results and techniques between π and OGS. In particular: we import up-to techniques from π onto OGS; we derive congruence and compositionality results for OGS from those of π; we transport the notion of complete traces from OGS onto π, obtaining a new behavioural equivalence that yields a full abstraction result for the encoding of λ-terms with respect to contexts written in a λ-calculus extended with store. The study is illustrated for both call-by-value and call-by-name.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.