Abstract
higher inductive types (HITs) in Homotopy Type Theory (HoTT) allow the definition of datatypes which have constructors for equalities over the defined type. HITs generalise quotient types, and allow to define types which are not sets in the sense of HoTT (i.e. do not satisfy uniqueness of equality proofs) such as spheres, suspensions and the torus. However, there are also interesting uses of HITs to define sets, such as the Cauchy reals, the partiality monad, and the well-typed syntax of type theory. In each of these examples we define several types that depend on each other mutually, i.e. they are inductive-inductive definitions. We call those HITs quotient inductive-inductive types (QIITs). Although there has been recent progress on a general theory of HITs, there is not yet a theoretical foundation for the combination of equality constructors and induction-induction, despite having many interesting applications. In the present paper we present a first step towards a semantic definition of QIITs. In particular, we give an initial-algebra semantics and show that this is equivalent to the section induction principle, which justifies the intuitively expected elimination rules.
Outline
Introduction
Cauchy Real Numbers can be represented as HITs
Example 1
Example 2
ConTy with
Sorts
Note on nested notation
We will use the following notation for nested ‘s:
- is a vector of length .
- is the element of the list (so indexing from ).
- is the prefix list of length . Note that the type of each may be determined by previous elements.
Definition 3
TODO A specification of sorts is given by a list of functors built sequentially upon the previous categories sorts.
The base category for a sort signature (defined below) has objects of the form of an tuple where
is a type family for some . Morphisms are defined as where
The sort signature is a functor . This represents how the constructor for sort depends on the previous sort. For example, .
Algebras
Relative Continuity and Constructor Specifications
Point Constructors
Reindexing Target Functors
Categories of Algebras are Complete
Elimination Principles
The Section Induction Principle
Initiality, and its relation to the Section Inductionm Principle
Conclusions and Further Work
Definitions
Higher Inductive Type Quotient Inductive Type Quotient Inductive-Inductive Types Cauchy Real Numbers Axiom of Choice