[Paper Review] Games, mobile processes, and functions
This paper establishes a tight correspondence between Milner’s encoding of lambda calculus into the Internal pi-calculus and Operational Game Semantics (OGS), across multiple LTS variants, and transfers techniques between the two models.
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.
Motivation & Objective
- Motivate a unified view of higher-order language semantics by linking OGS and the Internal pi-calculus (Iπ).
- Investigate operational correspondence between pi-calculus behaviours and OGS behaviours across several LTSs.
- Show that equivalences induced on lambda-terms by these LTSs coincide across both models.
- Derive congruence and compositionality results for OGS from pi-calculus results and transport complete-trace ideas to OGS and Iπ.
Proposed method
- Define representations of untyped call-by-value lambda calculus (ΛV) in Iπ and in OGS.
- Consider multiple LTS variants: standard Iπ, output-prioritised LTS (opLTS), alternating OGS (A-OGS), concurrent OGS (C-OGS), and well-bracketed OGS (WB-OGS).
- Construct a mapping from OGS configurations to Iπ processes exploiting shared action structure.
- Import bisimulation up-to techniques from Iπ to OGS, notably up-to composition.
- Establish that complete-trace equivalences in OGS induce a full abstraction result for ΛV with higher-order references when transported to Iπ.
Experimental results
Research questions
- RQ1How do OGS representations of ΛV compare to Milner’s encoding of ΛV into Iπ across different LTSs?
- RQ2Do the semantics induced by Alternating OGS and Concurrent OGS coincide with those induced by Iπ under corresponding LTSs?
- RQ3Can up-to techniques from Iπ be transferred to OGS to obtain congruence and compositionality results?
- RQ4Does complete-trace equivalence in OGS align with Lassens’s trees and contextual equivalence in ΛV extended with store?
- RQ5Can complete-trace ideas be transported to Iπ to yield full abstraction for Milner’s encoding with higher-order references?
Key findings
- There is a tight correspondence: Alternating OGS with opLTS and Iπ have the same λV representation semantics; similarly, Concurrent OGS with ordinary Iπ LTS have the same semantics.
- Bisimulation up-to techniques from Iπ, especially up-to context, transfer to OGS via the mapping, enabling up-to composition for OGS.
- All OGS variants (Alternating, Concurrent, and Well-Bracketed) yield the same ΛV semantics when using complete traces, matching Lassen’s trees.
- The established mappings enable transferring congruence and compositionality results from Iπ to OGS, and a tensor-like operator for interleaving traces.
- Complete-trace equivalence transported to Iπ yields a new behavioural equivalence and full abstraction for ΛV with higher-order references under Milner’s encoding.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.