[Paper Review] Concurrent Hyland-Ong games
This paper introduces CHO, a cartesian closed category based on event structures that refines Hyland-Ong games for higher-order stateful concurrent programs. By incorporating symmetry into games and strategies, CHO captures causal dependencies and non-deterministic branching, offering a conservative yet more expressive interpretation than standard Hyland-Ong games, demonstrated via an interpretation of a variant of 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 category-theoretic framework that conservatively extends Hyland-Ong games for purely functional programs while supporting stateful, concurrent computation.
- To refine the interpretation of higher-order programs by explicitly modeling causal dependencies and non-deterministic choices in execution.
- To construct a cartesian closed category (CHO) based on symmetric event structures that supports compositionality and operational clarity.
- To provide a formal, compositional semantics for concurrent higher-order programs that captures both control and data dependencies.
Proposed method
- Construct a compact closed category TCG as a symmetric variant of Rideau and Winskel's CG, where games and strategies are equipped with symmetries to identify equivalent events.
- Introduce symmetry relations on events in games and strategies to reflect indistinguishability under program equivalence, analogous to equivalence relations in AJM games.
- Build CHO as a cartesian closed category whose objects are standard Hyland-Ong arenas, with strategies defined as event structures over expanded symmetric forms of these arenas.
- Ensure compositionality by defining strategies as event structures that respect the symmetric structure and causal dependencies in program execution.
- Use the symmetric structure to model program equivalence and observational indistinguishability in concurrent settings.
- Apply the framework to interpret a variant of Idealized Parallel Algol, demonstrating its expressiveness and operational fidelity.
Experimental results
Research questions
- RQ1How can Hyland-Ong games be extended to support higher-order stateful concurrent programs while preserving compositionality and causal structure?
- RQ2What role does symmetry play in refining the semantics of games and strategies to reflect program equivalence and indistinguishability?
- RQ3Can a cartesian closed category be constructed from symmetric event structures that supports both functional and imperative features in a unified framework?
- RQ4How does the proposed framework compare to standard Hyland-Ong games in terms of expressiveness and conservativity?
- RQ5To what extent can the framework capture non-deterministic branching and causal dependencies in concurrent higher-order programs?
Key findings
- CHO provides a cartesian closed category that conservatively extends standard Hyland-Ong games for purely functional programs while supporting stateful, concurrent computation.
- The incorporation of symmetry into event structures allows for a refined representation of program equivalence and indistinguishable events, improving expressiveness.
- The construction of TCG as a compact closed category with symmetric games enables a structured foundation for building CHO.
- Strategies in CHO are represented as event structures that explicitly track causal dependencies and non-deterministic choices during program execution.
- The interpretation of a variant of Idealized Parallel Algol in CHO demonstrates the framework's ability to model complex concurrent behaviors with precise control and data dependencies.
- The framework achieves compositionality through symmetric event structures, ensuring that the semantics of composite programs are built from the semantics of their components.
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.