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.

生成讲解博客的中文版本

生成AI智能校验的中文版本