Table of Contents
Fetching ...

Synthetic 1-Categories in Directed Type Theory

Thorsten Altenkirch, Jacob Neumann

TL;DR

This work develops a semantics-driven foundation for directed type theory aimed at synthetic (higher) category theory by moving from symmetric identity types to asymmetric Hom-types within a category-model framework. It introduces polarized and neutral-polarized generalized categories-with-families (DCwFs) and a directed J-rule, enabling 1-categorical synthetic reasoning and the iteration of Hom-types. The category model demonstrates how opposite-category modalities and neutral contexts support directed hom-typings, Pi-types, and basic synthetic category constructions like composition and functors, while universes and directed univalence illuminate fundamental limits like symmetry of hom-terms. The approach lays groundwork toward directed higher observational type theory, with future work addressing natural transformations, higher inductive types, and formalization, potentially bridging directed type theory with higher categorical semantics and SOGAT frameworks.

Abstract

The field of directed type theory seeks to design type theories capable of reasoning synthetically about (higher) categories, by generalizing the symmetric identity types of Martin-Löf Type Theory to asymmetric hom-types. We articulate the directed type theory of the category model, with appropriate modalities for keeping track of variances and a powerful directed-J rule capable of proving results about arbitrary terms of hom-types; we put this rule to use in making several constructions in synthetic 1-category theory. Because this theory is expressed entirely in terms of generalized algebraic theories, we know automatically that this directed type theory admits a syntax model and is the first step towards directed higher observational type theory.

Synthetic 1-Categories in Directed Type Theory

TL;DR

This work develops a semantics-driven foundation for directed type theory aimed at synthetic (higher) category theory by moving from symmetric identity types to asymmetric Hom-types within a category-model framework. It introduces polarized and neutral-polarized generalized categories-with-families (DCwFs) and a directed J-rule, enabling 1-categorical synthetic reasoning and the iteration of Hom-types. The category model demonstrates how opposite-category modalities and neutral contexts support directed hom-typings, Pi-types, and basic synthetic category constructions like composition and functors, while universes and directed univalence illuminate fundamental limits like symmetry of hom-terms. The approach lays groundwork toward directed higher observational type theory, with future work addressing natural transformations, higher inductive types, and formalization, potentially bridging directed type theory with higher categorical semantics and SOGAT frameworks.

Abstract

The field of directed type theory seeks to design type theories capable of reasoning synthetically about (higher) categories, by generalizing the symmetric identity types of Martin-Löf Type Theory to asymmetric hom-types. We articulate the directed type theory of the category model, with appropriate modalities for keeping track of variances and a powerful directed-J rule capable of proving results about arbitrary terms of hom-types; we put this rule to use in making several constructions in synthetic 1-category theory. Because this theory is expressed entirely in terms of generalized algebraic theories, we know automatically that this directed type theory admits a syntax model and is the first step towards directed higher observational type theory.

Paper Structure

This paper contains 12 sections, 2 theorems, 43 equations, 13 figures.

Key Result

Proposition 4

Every DCwF has an operation

Figures (13)

  • Figure 2: Main components of a CwF
  • Figure 3: The CwF structure of the category model, excluding context extension.
  • Figure 4: Semantics of the $\mathsf{Hom}_{}$-type former in the category model
  • Figure 5: Semantics of context extension in the category model
  • Figure 6: Semantics of the $\Pi$-type former in the category model
  • ...and 8 more figures

Theorems & Definitions (7)

  • Definition 1: Polarized CwF
  • Definition 2: Neutral-Polarized CwF
  • Definition 3: Directed CwF
  • Proposition 4
  • Definition 5
  • Definition 6
  • Proposition 7