Table of Contents
Fetching ...

An invitation to game comonads

Samson Abramsky, Luca Reggio

TL;DR

This survey develops game comonads as a unifying categorical framework for resource-sensitive model theory, recasting classic model-comparison games (bisimulation, Ehrenfeucht–Fraïssé, pebble) as endofunctors whose coalgebras encode logical resources such as variable counts, quantifier depth, and tree-like combinatorial parameters. By interpreting these comonads through Kleisli and Eilenberg–Moore categories, the authors show that existential-positive fragments correspond to Kleisli morphisms, while full fragments and counting extensions correspond to coalgebras and isomorphisms, respectively. The coalgebra structures reveal structural witnesses like tree-depth, tree-width, and related forest covers, enabling Lovász-type homomorphism counting results to unify across logics. An axiomatic arboreal framework abstracts these phenomena via stable factorisation systems, enabling uniform equi-resource preservation theorems and a nascent homotopical perspective on logical resources through model categories and presheaves over forests. The work thus connects semantics, finite model theory, and homotopy theory, offering a coherent pathway to analyze and compare logical resources across diverse logics.

Abstract

Game comonads offer a categorical view of a number of model-comparison games central to model theory, such as pebble and Ehrenfeucht-Fraïssé games. Remarkably, the categories of coalgebras for these comonads capture preservation of several fragments of resource-bounded logics, such as (infinitary) first-order logic with n variables or bounded quantifier rank, and corresponding combinatorial parameters such as tree-width and tree-depth. In this way, game comonads provide a new bridge between categorical methods developed for semantics, and the combinatorial and algorithmic methods of resource-sensitive model theory. We give an overview of this framework and outline some of its applications, including the study of homomorphism counting results in finite model theory, and of equi-resource homomorphism preservation theorems in logic using the axiomatic setting of arboreal categories. Finally, we describe some homotopical ideas that arise naturally in the context of game comonads.

An invitation to game comonads

TL;DR

This survey develops game comonads as a unifying categorical framework for resource-sensitive model theory, recasting classic model-comparison games (bisimulation, Ehrenfeucht–Fraïssé, pebble) as endofunctors whose coalgebras encode logical resources such as variable counts, quantifier depth, and tree-like combinatorial parameters. By interpreting these comonads through Kleisli and Eilenberg–Moore categories, the authors show that existential-positive fragments correspond to Kleisli morphisms, while full fragments and counting extensions correspond to coalgebras and isomorphisms, respectively. The coalgebra structures reveal structural witnesses like tree-depth, tree-width, and related forest covers, enabling Lovász-type homomorphism counting results to unify across logics. An axiomatic arboreal framework abstracts these phenomena via stable factorisation systems, enabling uniform equi-resource preservation theorems and a nascent homotopical perspective on logical resources through model categories and presheaves over forests. The work thus connects semantics, finite model theory, and homotopy theory, offering a coherent pathway to analyze and compare logical resources across diverse logics.

Abstract

Game comonads offer a categorical view of a number of model-comparison games central to model theory, such as pebble and Ehrenfeucht-Fraïssé games. Remarkably, the categories of coalgebras for these comonads capture preservation of several fragments of resource-bounded logics, such as (infinitary) first-order logic with n variables or bounded quantifier rank, and corresponding combinatorial parameters such as tree-width and tree-depth. In this way, game comonads provide a new bridge between categorical methods developed for semantics, and the combinatorial and algorithmic methods of resource-sensitive model theory. We give an overview of this framework and outline some of its applications, including the study of homomorphism counting results in finite model theory, and of equi-resource homomorphism preservation theorems in logic using the axiomatic setting of arboreal categories. Finally, we describe some homotopical ideas that arise naturally in the context of game comonads.
Paper Structure (47 sections, 33 theorems, 78 equations, 2 figures)

This paper contains 47 sections, 33 theorems, 78 equations, 2 figures.

Key Result

lemma 1

For each $k\in\mathbb{N}$ there are, up to logical equivalence, finitely many formulas of quantifier rank at most $k$.

Figures (2)

  • Figure 1: Examples of game comonads, with corresponding logical resources and combinatorial parameters.
  • Figure 2: A pointed Kripke model $(A,a)$ and the first terms of its sequence of $k$-unravellings (for $k=0,1,2,3$).

Theorems & Definitions (74)

  • lemma 1
  • Remark 1
  • theorem 2: HM1980
  • theorem 3: Ehrenfeucht1960Fraisse1954
  • definition 1
  • theorem 4: Barwise1977Immerman1982
  • corollary 1
  • definition 2
  • proposition 1
  • proposition 2
  • ...and 64 more