Skip to main content
QUICK REVIEW

[Paper Review] Coherence for lenses and open games

Jules Hedges|arXiv (Cornell University)|Apr 7, 2017
Logic, programming, and type systemsComputer Science18 references17 citations
TL;DR

This paper introduces teleological categories—a new class of symmetric monoidal categories that generalize compact closed categories by featuring counits without corresponding units and partial duality. It establishes a coherence theorem for a diagrammatic language in these categories, formally grounding the informal string diagram reasoning used in compositional game theory and lens theory, and proves that the category of open games and a category of polymorphic lenses are both teleological categories.

ABSTRACT

Categories of polymorphic lenses in computer science, and of open games in compositional game theory, have a curious structure that is reminiscent of compact closed categories, but differs in some crucial ways. Specifically they have a family of morphisms that behave like the counits of a compact closed category, but have no corresponding units; and they have a `partial' duality that behaves like transposition in a compact closed category when it is defined. We axiomatise this structure, which we refer to as a `teleological category'. We precisely define a diagrammatic language suitable for these categories, and prove a coherence theorem for them. This underpins the use of diagrammatic reasoning in compositional game theory, which has previously been used only informally.

Motivation & Objective

  • To formally axiomatize the structural properties of open games and polymorphic lenses that underlie informal diagrammatic reasoning in compositional game theory.
  • To define a new class of categories—teleological categories—that capture the asymmetric duality and partial transposition seen in open games and lenses.
  • To establish a coherence theorem for a diagrammatic language in these categories, ensuring that diagram equivalences correspond to categorical equivalences.
  • To demonstrate that the category of open games and the category of polymorphic lenses (without lens laws) are both instances of teleological categories.
  • To provide a formal foundation for future work on equivalences of open games and surface diagrams via the teleological framework.

Proposed method

  • Axiomatize teleological categories by generalizing compact closed categories, focusing on the presence of counits without units and partial duality via a transposition-like operation.
  • Define a diagrammatic language for teleological categories using string diagrams with directional bending (wires can bend in one direction only), inspired by open game diagrams.
  • Construct a free teleological category over a signature using a two-step process: first defining a category of circuits (via a monoidal signature), then quotienting by a set of equivalences ($\cong_t$) to enforce coherence.
  • Prove that the resulting category of diagrams modulo $\cong_t$-equivalence is equivalent to the free teleological category over the signature.
  • Use structural induction and extranaturality of counit maps ($\varepsilon$) to verify that the canonical functor from the diagram category to any teleological category preserves duality and counit structure.
  • Leverage the universal property of free categories to establish uniqueness of the functor from the diagram category to any target teleological category, proving coherence.

Experimental results

Research questions

  • RQ1What structural properties do open games and polymorphic lenses share that justify a unified categorical framework?
  • RQ2How can the informal diagrammatic reasoning used in compositional game theory be formally justified using category theory?
  • RQ3Can a diagrammatic language for categories with partial duality and asymmetric counits be made coherent and well-defined?
  • RQ4What is the precise categorical axiomatization of the 'bent wire' phenomenon seen in open game diagrams?
  • RQ5To what extent can the theory of equivalences of open games be captured within the 2-dimensional language of teleological categories?

Key findings

  • The category of open games is a teleological category, formally justifying its diagrammatic representation in compositional game theory.
  • The category of polymorphic lenses without lens laws is also a teleological category, revealing new connections between lenses and game theory.
  • The diagrammatic language for teleological categories is coherent: two diagrams represent the same morphism if and only if they are equivalent under the defined set of equivalences ($\cong_t$).
  • The coherence theorem ensures that the functor from the free teleological category to any target teleological category is well-defined and unique, given a signature morphism.
  • The counit maps ($\varepsilon$) in teleological categories satisfy extranaturality, which is essential for proving coherence and preserving duality structure.
  • The construction shows that effects in the lens category (morphisms into the monoidal unit) correspond to continuations, a new insight into lens theory.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.