[Paper Review] Type-Theoretic Signatures for Algebraic Theories and Inductive Types
This paper introduces type-theoretic signatures for algebraic theories and inductive types, using two-level type theory (2LTT) to formalize semantics and term algebras. It establishes initiality and induction via recursor and eliminator constructions, demonstrating how finitary and infinitary quotient inductive-inductive signatures can be interpreted in categories with families, enabling a synthetic approach to type theory specification.
We develop the usage of certain type theories as specification languages for algebraic theories and inductive types. We observe that the expressive power of dependent type theories proves useful in the specification of more complicated algebraic theories. We describe syntax and semantics for three classes of algebraic theories: finitary quotient inductive-inductive theories, their infinitary generalization, and finally higher inductive-inductive theories. In each case, an algebraic signature is a typing context or a closed type in a specific type theory.
Motivation & Objective
- To develop a type-theoretic framework for specifying algebraic theories and inductive types with expressive power close to generalized algebraic theories.
- To formalize semantics of signatures in categories with families using two-level type theory (2LTT), enabling internal reasoning about models.
- To construct initial algebras (term algebras) for signatures using syntax-based recursion and induction principles.
- To demonstrate how finitary and infinitary quotient inductive-inductive signatures can be reduced to basic type formers, supporting bootstrapping and implementation.
- To provide a foundation for practical deployment in proof assistants by offering a formal base for implementing complex type-theoretic structures.
Proposed method
- Uses two-level type theory (2LTT) to distinguish between strict and weak types, enabling internal modeling of categories with families and semantics of signatures.
- Defines signatures as dependent types over contexts, with constructors for types, terms, and type formers such as Π, Σ, Id, and U.
- Constructs term algebras as initial objects in the category of algebras, using recursor and eliminator constructions to internalize induction.
- Introduces displayed algebras and sections to model substitutions and dependent structure, with explicit lifting of syntax to semantics via functors.
- Applies levitation and bootstrapping techniques to close signatures and reduce complex type formers to basic ones, enabling finite presentations.
- Provides a formalization in Agda, with detailed syntax and semantics for signatures, including external and internal interpretations.

Experimental results
Research questions
- RQ1How can type-theoretic signatures be used to specify algebraic theories and inductive types in a way that supports initiality and induction?
- RQ2What is the role of two-level type theory in enabling internal semantics for signatures within categories with families?
- RQ3How can term algebras be constructed syntactically from signatures, and what are the corresponding recursor and eliminator principles?
- RQ4To what extent can finitary and infinitary quotient inductive-inductive signatures be reduced to basic type formers?
- RQ5How can levitation and bootstrapping be used to close signatures and support implementation in proof assistants?
Key findings
- The paper constructs initial algebras (term algebras) for any signature using a syntax-based approach, proving their initiality via recursor and eliminator construction.
- Semantics of signatures are fully internalized in 2LTT, allowing reasoning about models in arbitrary categories with families, including those with finite products.
- Finitary quotient inductive-inductive signatures are shown to be interpretable in finite limit categories with families, with a full recovery of AMDS-style interpretations.
- The paper demonstrates that closed QIITs can be reduced to basic type formers via levitation and bootstrapping, enabling finite presentations.
- The syntax and semantics of signatures are formalized in Agda, with explicit definitions for displayed algebras, sections, and type formers including Π, Σ, Id, and U.
- The framework supports both strict and weak signatures, with a clear distinction between external and internal syntax, enabling modular reasoning.
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.