2025-11-16T12:37:12.191263

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

Basic Information

  • Paper ID: 2302.04685
  • Title: Strategies as Resource Terms, and their Categorical Semantics
  • Authors: Lison Blondeau-Patissier, Pierre Clairambault, Lionel Vaux Auclair
  • Classification: cs.LO (Logic in Computer Science)
  • Publication: Logical Methods in Computer Science, Volume 21, Issue 4, 2025
  • Paper Link: https://arxiv.org/abs/2302.04685

Abstract

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.

Research Background and Motivation

Problem Background

  1. 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.
  2. 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.
  3. Need for Direct Correspondence: A more direct and explicit correspondence framework is needed that can handle non-normal resource terms and reduction dynamics.

Research Motivation

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.

Core Contributions

  1. 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.
  2. 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.
  3. Resource Category Theory: Introduces a categorical model of resource categories, providing natural categorical semantics for resource calculus, analogous to differential categories for differential λ-calculus.
  4. Non-determinism in Composition: Reveals non-deterministic phenomena in augmentation composition, reflecting the inherent non-determinism of resource substitution.

Detailed Methodology

Task Definition

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).

Core Concepts

1. Resource Calculus

The syntax of resource calculus is defined as:

s, t, u, ... ::= x | λx.s | s t̄
s̄, t̄, ū, ... ::= [s1, ..., sn]

where application arguments are bags of terms rather than single terms. The key resource substitution is defined as:

(λx.s) t̄ → s⟨t̄/x⟩

2. Augmentations

An augmentation is a quadruple q = ⟨|q|, ≤⟦q⟧, ≤q, ∂q⟩ on an arena, where:

  • ⟦q⟧ = ⟨|q|, ≤⟦q⟧, ∂q⟩ ∈ C(A) is a configuration
  • ⟨|q|, ≤q⟩ is a forest structure satisfying specific conditions

Augmentations must satisfy the following conditions:

  • Rule-abiding: If a1 ≤⟦q⟧ a2, then a1 ≤q a2
  • Courteous: For a1 ⊳q a2, if pol(a1) = + or pol(a2) = −, then a1 ⊳⟦q⟧ a2
  • Deterministic: For a− ⊳q a₁⁺ and a− ⊳q a₂⁺, we have a1 = a2
  • +-coverage: All maximal elements are positive polarity
  • Negativity: All minimal elements are negative polarity

3. Isogmentation Classes

Isogmentation classes are isomorphism classes of augmentations, denoted Isog(A). This eliminates the arbitrariness of event identifiers.

Main Constructions

1. Bijection between Normal Terms and Isogmentation Classes

Theorem 4.11: For context Γ and type A, there exist bijections:

∥−∥Tm : Tmnf(Γ;A) ≃ Isog•(⟦Γ⟧ ⊢ ⟦A⟧)
∥−∥Bg : Bgnf(Γ;A) ≃ Isog(⟦Γ⟧ ⊢ ⟦A⟧)
∥−∥Sq : Sqnf(Γ; Ā) ≃ Isog(⟦Γ⟧ ⊢ ⟦Ā⟧)

2. Strategy Composition

Strategies are defined as functions σ : Isog(A) → ℝ₊ on isogmentation classes. Composition is defined through interaction:

τ ⊙ σ = ∑∑∑ σ(q)τ(p) · (p ⊙φ q)

where the sum ranges over all compatible q, p and mediating symmetries φ : x^q_B ≅_B x^p_B.

3. Resource Categories

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.

Technical Innovations

  1. Direct Construction: Provides direct correspondence between resource terms and game plays through augmentations, avoiding indirect proofs via relational models.
  2. Causal Representation: Augmentations capture the causal structure of plays, eliminating ambiguity from opponent scheduling.
  3. Non-determinism Handling: Symmetric summation in composition naturally corresponds to non-determinism in resource substitution.
  4. Categorical Abstraction: Resource categories provide abstract categorical semantics for resource calculus.

Experimental Setup

Theoretical Verification

This is primarily theoretical work, with results verified through mathematical proofs:

  1. Bijection Proofs: Bijective relationship between normal terms and isogmentation classes proven through inductive construction
  2. Categorical Law Verification: Proof that strategy categories satisfy categorical axioms
  3. Invariance Proofs: Proof of interpretation invariance under reduction

Construction Verification

Correctness of constructions verified through concrete examples, such as resource terms of type ((o→o)→(o→o)→o)→o and their corresponding augmentations.

Experimental Results

Main Results

  1. Correspondence Establishment: Successfully establishes a bijection between normal η-long resource terms and pointed isogmentation classes.
  2. Categorical Structure: Proves that strategies indeed form a resource category with required bialgebra structure.
  3. Invariance Theorem: Theorem 6.10: If S ∈ ΣTm(Γ;A) and S → S', then ⟦S⟧ = ⟦S'⟧.
  4. Compatibility Results: Corollary 7.4: If s ∈ Tm(Γ;A) has normal form ∑ᵢ sᵢ, then ⟦s⟧ = ∑ᵢ ∥sᵢ∥.

Key Lemmas

  • Lemma 6.4: Critical properties of pointed morphism bags in resource categories
  • Lemma 6.6: Propagation laws of substitution in pairings
  • Lemma 6.7: Interaction between pointed identity and morphism bags

Game Semantics

  • Hyland-Ong game semantics provides fully abstract models for languages like PCF
  • Melliès' homotopy equivalence addresses scheduling issues in plays

Resource Calculus

  • Ehrhard-Regnier's differential λ-calculus and Taylor expansion
  • Resource calculus as the finite fragment of differential λ-calculus

Categorical Semantics

  • Differential category theory (Blute, Cockett, Seely)
  • Bialgebra modalities and storage categories

Concurrent Games

  • Event structure games by Castellan et al.
  • Concurrent Hyland-Ong games

Conclusions and Discussion

Main Conclusions

  1. Direct Correspondence: Achieves direct and explicit correspondence between resource terms and game plays through augmentations.
  2. Dynamic Extension: Successfully extends static correspondence to dynamic reduction processes.
  3. Categorical Foundation: Resource categories provide solid categorical theoretical foundations for resource calculus.

Limitations

  1. η-expansion Requirement: Restriction to η-long form limits direct application to pure λ-calculus.
  2. Finiteness: Current framework is limited to finite behavior; infinite sums require additional treatment.
  3. Type Restrictions: Primarily focuses on simple types; polymorphic types require further research.

Future Directions

  1. Extended Resource Calculus: Develop extended versions handling infinite abstraction sequences.
  2. Nakajima Trees: Explore relationships with Nakajima trees for complete treatment of pure λ-calculus.
  3. Differential Category Relations: Further investigate precise relationships between resource categories and differential categories.

In-Depth Evaluation

Strengths

  1. Theoretical Depth: Provides profound theoretical connections between resource calculus and game semantics.
  2. Technical Innovation: The concept of augmentations cleverly solves the problem of explicit representation of homotopy equivalence.
  3. Completeness: Comprehensive treatment from static correspondence to dynamic reduction.
  4. Categorical Abstraction: Resource categories provide an elegant abstract framework.

Weaknesses

  1. Complexity: Constructions are quite involved, requiring extensive technical details.
  2. Practical Applicability: Primarily theoretical results with practical applications yet to be verified.
  3. Readability: High technical density presents challenges for non-specialist readers.

Impact

  1. Theoretical Contribution: Provides important insights for understanding relationships between resource and game semantics.
  2. Methodology: The concept of augmentations may find applications in other concurrent/causal semantics.
  3. Foundational: Establishes foundations for further research on relationships between Taylor expansion and game semantics.

Applicable Scenarios

  1. Theoretical Research: Applicable to theoretical research in program semantics, type theory, and category theory.
  2. Language Design: Provides semantic foundations for designing resource-aware programming languages.
  3. Concurrent Systems: Causal structure handling methods may apply to concurrent systems semantics research.

References

Major references include:

  • 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.