Table of Contents
Fetching ...

Insights From Univalent Foundations: A Case Study Using Double Categories

Nima Rasekh, Niels van der Weide, Benedikt Ahrens, Paige Randall North

TL;DR

This work contends that univalent foundations offers a suitable framework for classifying different categorical structures based on desired notions of equivalences, and establishes univalence principles, making chosen equivalences part of the double categorical structure.

Abstract

Category theory unifies mathematical concepts, aiding comparisons across structures by incorporating objects and morphisms, which capture their interactions. It has influenced areas of computer science such as automata theory, functional programming, and semantics. Certain objects naturally exhibit two classes of morphisms, leading to the concept of a double category, which has found applications in computing science (e.g., ornaments, profunctor optics, denotational semantics). The emergence of diverse categorical structures motivated a unified framework for category theory. However, unlike other mathematical objects, classification of categorical structures faces challenges due to various relevant equivalences. This poses significant challenges when pursuing the formalization of categories and restricts the applicability of powerful techniques, such as transport along equivalences. This work contends that univalent foundations offers a suitable framework for classifying different categorical structures based on desired notions of equivalences, and remedy the challenges when formalizing categories. The richer notion of equality in univalent foundations makes the equivalence of a categorical structure an inherent part of its structure. We concretely apply this analysis to double categorical structures. We characterize and formalize various definitions in Coq UniMath, including (pseudo) double categories and double bicategories, up to chosen equivalences. We also establish univalence principles, making chosen equivalences part of the double categorical structure, analyzing strict double setcategories (invariant under isomorphisms), pseudo double setcategories (invariant under isomorphisms), univalent pseudo double categories (invariant under vertical equivalences) and univalent double bicategories (invariant under gregarious equivalences).

Insights From Univalent Foundations: A Case Study Using Double Categories

TL;DR

This work contends that univalent foundations offers a suitable framework for classifying different categorical structures based on desired notions of equivalences, and establishes univalence principles, making chosen equivalences part of the double categorical structure.

Abstract

Category theory unifies mathematical concepts, aiding comparisons across structures by incorporating objects and morphisms, which capture their interactions. It has influenced areas of computer science such as automata theory, functional programming, and semantics. Certain objects naturally exhibit two classes of morphisms, leading to the concept of a double category, which has found applications in computing science (e.g., ornaments, profunctor optics, denotational semantics). The emergence of diverse categorical structures motivated a unified framework for category theory. However, unlike other mathematical objects, classification of categorical structures faces challenges due to various relevant equivalences. This poses significant challenges when pursuing the formalization of categories and restricts the applicability of powerful techniques, such as transport along equivalences. This work contends that univalent foundations offers a suitable framework for classifying different categorical structures based on desired notions of equivalences, and remedy the challenges when formalizing categories. The richer notion of equality in univalent foundations makes the equivalence of a categorical structure an inherent part of its structure. We concretely apply this analysis to double categorical structures. We characterize and formalize various definitions in Coq UniMath, including (pseudo) double categories and double bicategories, up to chosen equivalences. We also establish univalence principles, making chosen equivalences part of the double categorical structure, analyzing strict double setcategories (invariant under isomorphisms), pseudo double setcategories (invariant under isomorphisms), univalent pseudo double categories (invariant under vertical equivalences) and univalent double bicategories (invariant under gregarious equivalences).
Paper Structure (19 sections, 15 theorems)

This paper contains 19 sections, 15 theorems.

Key Result

proposition 1

The category of setcategories and functors is univalent, meaning that identities of setcategories correspond to isomorphisms.

Theorems & Definitions (43)

  • definition 1: setcategory
  • Remark 1
  • definition 2: is_univalent
  • proposition 1: is_univalent_cat_of_setcategory
  • proposition 2: univalent_cat_is_univalent_2
  • definition 3: bisetcat
  • proposition 3
  • definition 4: univalent_two_cat
  • proposition 4
  • definition 5
  • ...and 33 more