Idea
A quotient inductive type is an inductive type equipped not only with point constructors generating elements, but also with path constructors imposing specified equalities between those elements.
Signature
For a simple single-sorted presentation, a QIT signature consists of:
- a sort symbol ;
- for each point constructor , a strictly positive telescope ;
- for each path constructor , a strictly positive telescope ;
- for each path constructor , two endpoint terms
From this signature, one generates point constructors and path constructors
Outside a UIP setting, a set-level QIT usually also includes a truncation constructor ensuring that all identity types of are propositions.
Algebras
An algebra for a single-sorted equational QIT signature consists of:
- a carrier ;
- for each point constructor arity , an operation
- for each path constructor , a proof
The point constructor operations induce interpretations of all formal terms appearing in the endpoint expressions .
When the arities are strictly positive, the point-constructor part often assembles into a signature functor so that a QIT algebra may be viewed as an -algebra equipped with proofs that the specified equations hold.
Introduction rules
Let be the type being defined. A quotient inductive definition consists of
-
point constructors
-
path constructors
where each and is a strictly positive telescope, and
Recursor
For any -algebra , there is a map preserving the point and path constructors. Here denotes the action of the telescope interpretation on the map . The computation rules are: for each point constructor , and for each path constructor , where is the proof that the th equation holds in the algebra .
In a set-level presentation, this map is unique as a -algebra morphism.
Constructability
In HoTT, set-level QITs can be seen as a subclass of HITs equipped with an truncation constructor. Fiore et al. showed that ITT + UIP + funext + set quotients + WISC QWI types, a subclass of QITs. Kaposi et al. 2019 showed that a sufficiently powerful fragment of type theory supports finitary QIITs. This was later extended to large and infinitary QIITs by Kovács and Kaposi.
Open Questions
Is choice needed to construct QITs in general?
Blass 1983 showed that free algebras for infinitary equational theories cannot be constructed in ZF. Lumsdaine-Shulman 2018 concluded that because of this, no HITs that are modelled by ZF can construct these equational theories.
Related Concepts
- Fiore, Pitts and Steenkamp QW Type and QWI Type.
- Locality (QIT)
- Higher Inductive Type
Sources
- Altenkirch et al. 2016 “Quotient Inductive-Inductive Types”
- Kaposi et al. 2019 “Constructing Quotient Inductive-Inductive Types”
- Fiore et al. 2022 “Quotients, Inductive Types, and Quotient Inductive Types”
- Kovacs & Kaposi 2020 “Large and Infinitary Quotient Inductive-Inductive Types”
- Altenkirch & Kaposi 2016 “Type Theory in Type Theory using Quotient Inductive Types”
- Altenkirch 2024 “Quotient Inductive Types as Categorified Containers”
- Kaposi & Kovacs 2017 “Codes for Quotient Inductive Inductive Types?”
- Fiore et al. 2020 “Constructing Infinitary Quotient-Inductive Types”
- Dijkstra 2017 PhD Thesis “Quotient Inductive-Inductive Definitions”
- Altenkirch & Kaposi 2021 “A Container Model of Type Theory”
- Kaposi et al. 2019 “For Finitary Induction-Induction, Induction Is Enough”
- Kaposi 2016 PhD Thesis “Type Theory in a Type Theory with Quotient Inductive Types”