[Paper Review] Thin Games with Symmetry and Concurrent Hyland-Ong Games
This paper introduces a cartesian closed category, $\mathbf{Cho}$, based on event structures that refines Hyland-Ong game semantics by incorporating symmetry and causal dependencies in concurrent, stateful programs. It conservatively extends purely functional game semantics while enabling precise modeling of non-deterministic branching, concurrency, and higher-order effects, with a key contribution being a fully compositional, syntax-free operational semantics for concurrent higher-order programs including Idealized Parallel Algol.
We build a cartesian closed category, called Cho, based on event structures. It allows an interpretation of higher-order stateful concurrent programs that is refined and precise: on the one hand it is conservative with respect to standard Hyland-Ong games when interpreting purely functional programs as innocent strategies, while on the other hand it is much more expressive. The interpretation of programs constructs compositionally a representation of their execution that exhibits causal dependencies and remembers the points of non-deterministic branching.The construction is in two stages. First, we build a compact closed category Tcg. It is a variant of Rideau and Winskel's category CG, with the difference that games and strategies in Tcg are equipped with symmetry to express that certain events are essentially the same. This is analogous to the underlying category of AJM games enriching simple games with an equivalence relations on plays. Building on this category, we construct the cartesian closed category Cho as having as objects the standard arenas of Hyland-Ong games, with strategies, represented by certain events structures, playing on games with symmetry obtained as expanded forms of these arenas.To illustrate and give an operational light on these constructions, we interpret (a close variant of) Idealized Parallel Algol in Cho.
Motivation & Objective
- To develop a game semantics framework that conservatively extends standard Hyland-Ong games for purely functional programs while supporting stateful, concurrent, and non-deterministic computation.
- To address the limitation of traditional game semantics in capturing non-deterministic branching and causal dependencies in concurrent programs.
- To provide a compositional, syntax-free operational semantics for higher-order concurrent programs that preserves observational distinctions such as divergence and race conditions.
- To enable algorithmic analysis and verification of concurrent programs by retaining detailed execution traces, including non-deterministic choices and memory conflicts.
- To extend the semantic framework to support probabilistic and quantitative reasoning, as demonstrated in follow-up work.
Proposed method
- Construct a compact closed category $\mathbf{Tcg}$ of thin concurrent games with symmetry, generalizing Rideau and Winskel’s $\mathrm{CG}$ by equipping events with symmetries to model indistinguishable occurrences.
- Define strategies as event structures with symmetry, ensuring causality and non-deterministic branching are preserved through event dependencies and symmetries.
- Build $\mathbf{Cho}$ as a cartesian closed category whose objects are standard Hyland-Ong arenas, with strategies interpreted as symmetric event structures over expanded arenas.
- Use the AJM-style exponential $\oc_{\text{\tiny{AJM}}}$ to model replication and resource management in the category $\mathbf{Tcg}$, enabling compositionality.
- Ensure compositionality by defining strategy composition as event structure composition that respects symmetries and causal dependencies.
- Illustrate the framework by interpreting a variant of Idealized Parallel Algol in $\mathbf{Cho}$, showing how memory races and non-deterministic branching are captured.
Experimental results
Research questions
- RQ1How can game semantics be extended to model concurrent, stateful, and non-deterministic higher-order programs while preserving compositionality?
- RQ2Can a game semantics framework retain information about non-deterministic branching points without collapsing to traditional innocent strategies?
- RQ3How can symmetry in event structures be used to model indistinguishable moves in concurrent games, such as multiple occurrences of the same event?
- RQ4Can a cartesian closed category be constructed from symmetric event structures that supports both functional and imperative features, including higher-order references and concurrency?
- RQ5To what extent does the framework support observational distinctions such as divergence, race conditions, and probabilistic choices in program equivalence?
Key findings
- The category $\mathbf{Cho}$ conservatively extends standard Hyland-Ong games, interpreting purely functional programs as symmetric, copy-index-aware strategies over P-views.
- The framework captures non-deterministic branching explicitly, distinguishing cases where Opponent replicates moves and triggers multiple execution paths, such as in memory races.
- The model detects divergences that are hidden in traditional game semantics: for example, a term with a race condition leading to a loop is preserved as a non-deterministic choice with a divergent branch.
- The symbolic representation of strategies in $\mathbf{Cho}$ is incomplete for non-innocent strategies, as it does not fully specify behavior under move replication, but this is addressed by the underlying event structure model.
- The construction supports extensions to probabilistic semantics, as shown in follow-up work, enabling a definability result and collapse to probabilistic relational models.
- The framework enables algorithmic analysis of concurrent programs by preserving causal dependencies and memory conflicts, making it suitable for verification and model-checking.
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.