[Paper Review] Algebraic Presentations of Dependent Type Theories
This paper introduces algebraic dependent type theories as essentially algebraic theories, enabling composposable and structured definitions of type theories through a category of such theories. It establishes that models of these theories correspond to contextual categories with additional structure, and demonstrates how constructions like universes and identity types can be systematically combined and analyzed via categorical colimits and functors.
In this paper, we propose an abstract definition of dependent type theories as essentially algebraic theories. One of the main advantages of this definition is its composability: simple theories can be combined into more complex ones, and different properties of the resulting theory may be deduced from properties of the basic ones. We define a category of algebraic dependent type theories which allows us not only to combine theories but also to consider equivalences between them. We also study models of such theories and show that one can think of them as contextual categories with additional structure.
Motivation & Objective
- To provide a general, abstract definition of dependent type theories that subsumes existing variants and enables compositional reasoning.
- To address the lack of composability in traditional type theory definitions, where constructions like Π, Σ, and Id types are not independently combinable.
- To resolve syntactic ambiguities—such as omitted arguments in application or typed vs. untyped equality—by separating them from core structural properties.
- To formalize equivalences between type theories using categorical isomorphisms and Morita equivalence, enabling transfer of properties across theories.
- To define a functor U that constructs a hierarchy of universes closed under all operations of a given theory, culminating in U^ω(𝕋) as a limit construction.
Proposed method
- Define a category of partial Horn theories to formalize the syntax of type theories with operations and inference rules.
- Represent models of these theories as contextual categories with additional structure, showing that the initial theory's models are precisely contextual categories.
- Introduce algebraic dependent type theories as prestable and stable theories with substitutions commuting with operations, enabling slice constructions.
- Construct a functor U on the category of algebraic dependent type theories that adds a universe closed under all function symbols of the original theory.
- Define U(𝕋) by extending 𝕋 with new symbols: U (universe), El (elementhood), and σ^U (universe-closed operations), with axioms ensuring correct typing and behavior.
- Use colimits to define U^ω(𝕋) as the limit of the sequence 𝕋 → U(𝕋) → U²(𝕋) → ..., yielding a theory with a cumulative hierarchy of universes.
Experimental results
Research questions
- RQ1Can a general, compositional framework be developed for dependent type theories that allows combining basic constructions like Π, Σ, and Id types into more complex theories?
- RQ2How can syntactic variations—such as omitted arguments in application or typed vs. untyped equality—be abstracted away while preserving essential type-theoretic properties?
- RQ3Are different definitions of the same type constructor (e.g., Σ types via projections vs. eliminators) equivalent in a structured, categorical sense?
- RQ4Can models of algebraic dependent type theories be systematically characterized, and do they naturally correspond to contextual categories with extra structure?
- RQ5What is the role of universes in type theories, and how can a hierarchy of universes closed under all operations be constructed in a uniform, categorical way?
Key findings
- The category of algebraic dependent type theories supports colimits, allowing the construction of complex theories as coproducts of simpler ones, such as T_Σ ⊔ T_Π ⊔ T_Id for a theory with Σ, Π, and Id types.
- Models of the initial algebraic dependent type theory are precisely contextual categories, establishing a foundational link between algebraic syntax and categorical semantics.
- Models of any algebraic dependent type theory are contextual categories equipped with additional structure determined by the theory’s operations and axioms.
- The functor U maps any algebraic dependent type theory 𝕋 to a theory U(𝕋) with a universe closed under all function symbols of 𝕋, preserving typing and operational behavior.
- The construction U^ω(𝕋) as the colimit of 𝕋 → U(𝕋) → U²(𝕋) → ... yields a theory with a cumulative hierarchy of universes closed under all operations of the original theory.
- The algebraic approach enables formal equivalence between theories via isomorphisms and Morita equivalence, with U(𝕋) providing a canonical way to embed 𝕋 into a universe-closed theory.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.