Strategies as Resource Terms, and their Categorical Semantics
Blondeau-Patissier, Clairambault, Auclair
As shown by Tsukada and Ong, simply-typed, normal and eta-long resource terms correspond to plays in Hyland-Ong games, quotiented by Melliès' homotopy equivalence. The original proof of this inspiring result is indirect, relying on the injectivity of the relational model w.r.t. both sides of the correspondence -- in particular, the dynamics of the resource calculus is taken into account only via the compatibility of the relational model with the composition of normal terms defined by normalization.
In the present paper, we revisit and extend these results. Our first contribution is to restate the correspondence by considering causal structures we call augmentations, which are canonical representatives of Hyland-Ong plays up to homotopy. This allows us to give a direct and explicit account of the connection with normal resource terms. As a second contribution, we extend this account to the reduction of resource terms: building on a notion of strategies as weighted sums of augmentations, we provide a denotational model of the resource calculus, invariant under reduction. A key step -- and our third contribution -- is a categorical model we call a resource category, which is to the resource calculus what differential categories are to the differential lambda-calculus.
academic
Strategies as Resource Terms, and their Categorical Semantics
This paper revisits and extends the classical results of Tsukada and Ong concerning the correspondence between plays in Hyland-Ong games and simply-typed, normal-form, η-long resource terms. The authors present three major contributions: (1) reformulating the correspondence through causal structures called "augmentations," which serve as canonical representatives of Hyland-Ong plays under homotopy equivalence; (2) extending this correspondence to reductions of resource terms, based on the concept of strategies as weighted sums of augmentations, providing a denotational model of resource calculus that is invariant under reduction; (3) introducing a categorical model of "resource categories," which plays the same role for resource calculus as differential categories do for differential λ-calculus.
Relationship between Taylor Expansion and Game Semantics: Taylor expansion transforms λ-terms with potentially infinite behavior into infinite formal sums of resource calculus terms with strong finite behavior. Game semantics also represents programs as sets of finite behaviors. The relationship between these two approaches has been an important question in theoretical computer science.
Limitations of the Tsukada-Ong Result: Although Tsukada and Ong proved a bijective correspondence between normal η-long resource terms and plays in Hyland-Ong games (modulo Melliès homotopy equivalence), their proof was indirect, relying on injectivity of relational models, and only considered normal terms with dynamics handled only through term combinations defined by normalization.
Need for Direct Correspondence: A more direct and explicit correspondence framework is needed that can handle non-normal resource terms and reduction dynamics.
This paper aims to provide a complete and direct framework for understanding the deep connections between resource calculus and game semantics, extended to dynamic reduction processes.
Introduction of Augmentations: Proposes augmentations as causal structures serving as canonical representatives of Hyland-Ong plays under homotopy equivalence, achieving direct explicit correspondence with normal resource terms.
Strategies as Weighted Sums: Defines strategies as weighted sums of isogmentation classes, extending the correspondence to handle reductions of resource terms and providing a denotational model invariant under reduction.
Resource Category Theory: Introduces a categorical model of resource categories, providing natural categorical semantics for resource calculus, analogous to differential categories for differential λ-calculus.
Non-determinism in Composition: Reveals non-deterministic phenomena in augmentation composition, reflecting the inherent non-determinism of resource substitution.
This paper studies the correspondence between simply-typed η-expanded resource calculus and game semantics. The input consists of resource terms (possibly containing resource bags), and the output is the corresponding game strategy (weighted sum of augmentations).
Resource categories are additive symmetric monoidal categories where each object is equipped with a bialgebra structure and a map to the identity morphism, satisfying specific compatibility conditions.
Direct Construction: Provides direct correspondence between resource terms and game plays through augmentations, avoiding indirect proofs via relational models.
Causal Representation: Augmentations capture the causal structure of plays, eliminating ambiguity from opponent scheduling.
Non-determinism Handling: Symmetric summation in composition naturally corresponds to non-determinism in resource substitution.
Categorical Abstraction: Resource categories provide abstract categorical semantics for resource calculus.
Correctness of constructions verified through concrete examples, such as resource terms of type ((o→o)→(o→o)→o)→o and their corresponding augmentations.
Tsukada & Ong (2016): "Plays as resource terms via non-idempotent intersection types"
Ehrhard & Regnier (2003, 2008): Foundational work on differential λ-calculus and Taylor expansion
Hyland & Ong (2000): Hyland-Ong game semantics
Melliès (2006): Asynchronous games and homotopy equivalence
Blute, Cockett, Seely: Series of works on differential category theory
This paper makes important contributions to theoretical computer science, particularly at the intersection of program semantics. While highly technical, it provides valuable insights into understanding deep connections between different semantic approaches.