Notes on models of type theory [00DJ]
- November 6, 2023
- Jon Sterling
We begin with some preliminaries that we will need later.
Adjunctions in bicategories [00E1]
- November 9, 2023
- Jon Sterling
Definition Mates between adjunctions [00E0]
- November 9, 2023
- Jon Sterling
Let \mathcal {K} be a bicategory, and let A \equiv {\mathopen {}\left (l_A\dashv r_A\colon A_1\to A_0\right )\mathclose {}} and B \equiv {\mathopen {}\left (l_B\dashv r_B\colon B_1\to B_0\right )\mathclose {}} be a pair of adjunctions in \mathcal {K}. Fix a pair of morphisms {A_0}\xrightarrow {{f_0}}{B_0} and {A_1}\xrightarrow {{f_1}}{B_1}.
-
Given a 2-cell {l_B\circ f_0}\xrightarrow {{\lambda }}{f_1\circ l_A} as depicted on the left below, its right mate {f_0\circ r_A}\xrightarrow {{\rho }}{r_B\circ f_1} is obtained by bending with the unit of B and the counit of A as shown below on the right:
-
Given a 2-cell {f_0\circ r_A}\xrightarrow {{\rho }}{r_B\circ f_1} as depicted on the right below, its left mate {l_B\circ f_0}\xrightarrow {{\lambda }}{f_1\circ l_A} is obtained by bending with the unit of A and the counit of B as shown below on the left:
Definition Morphisms of adjunctions [00DY]
- November 9, 2023
- Jon Sterling
Let \mathcal {K} be a bicategory, and let A \equiv {\mathopen {}\left (l_A\dashv r_A\colon A_1\to A_0\right )\mathclose {}} and B \equiv {\mathopen {}\left (l_B\dashv r_B\colon B_1\to B_0\right )\mathclose {}} be a pair of adjunctions in \mathcal {K}. Then a (left and right) lax morphism {A}\xrightarrow {{f}}{B} between the two adjunctions is given by a pair of maps {A_0}\xrightarrow {{f_0}}{B_0} and {A_1}\xrightarrow {{f_1}}{B_1} together with a pair of mates {l_B\circ f_0}\xrightarrow {{l_f}}{f_1\circ l_A} and {f_0\circ r_A}\xrightarrow {{r_f}}{r_B\circ f_1} as depicted below:
- When the left mate is invertible, we say that {A}\xrightarrow {{f}}{B} is (left strong) and right lax.
- When the right mate is invertible, we say that {A}\xrightarrow {{f}}{B} is (right strong) and left lax.
- When both mates are invertible, we say that {A}\xrightarrow {{f}}{B} is strong.
Remark Strong morphisms of adjunctions and the Beck–Chevalley condition [00DZ]
- November 9, 2023
- Jon Sterling
The condition that a lax morphism of adjunctions be right strong is sometimes referred to as the Beck–Chevalley condition, e.g. by Uemura. Indeed, the right-hand mates in a lax morphism of adjunctions are occasionally referred to as Beck–Chevalley transformations.
Representable natural transformations [00E2]
- November 10, 2023
- Jon Sterling
Notation Type theoretic notation in presheaves [00DO]
- November 7, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a morphism in \operatorname {Pr}\mathcal {C}, and let \Gamma be a representable object. We shall use the following notations inspired by dependent type theory to refer to elements of U and E:
- We shall write {\mathopen {}\left (\Gamma \vdash _p A\right )\mathclose {}} to refer to a morphism {\Gamma }\xrightarrow {{A}}{U}.
- Given {\mathopen {}\left (\Gamma \vdash _p A\right )\mathclose {}}, we shall write {\mathopen {}\left (\Gamma \vdash _p a : A\right )\mathclose {}} to refer to a morphism {\Gamma }\xrightarrow {{a}}{E} such that the composite \Gamma \xrightarrow {a}E\xrightarrow {p}U is equal to {\Gamma }\xrightarrow {{A}}{U}.
Definition Representable morphisms of presheaves [00DX]
- November 9, 2023
- Jon Sterling
A morphism {E}\xrightarrow {{p}}{U} in \operatorname {Pr}{\mathcal {C}} is called representable when for every \Gamma \vdash _p A, the fiber product \Gamma .A :\equiv E\times _U\Gamma is representable:
Notation Notation for universal maps [00DW]
- November 9, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a representable morphism in \operatorname {Pr}\mathcal {C}. Given {\Delta }\xrightarrow {{\gamma }}{\Gamma } and \Delta \vdash a : A\gamma , we shall write {\Delta }\xrightarrow {{{\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}}}}{\Gamma .A} for the universal map below:
Given {\Delta }\xrightarrow {{\gamma }}{\Gamma }, \Delta \vdash B, \Gamma \vdash A, and \Delta .B\vdash a : A\gamma p_B, we shall write {\Delta .B}\xrightarrow {{\gamma .a}}{\Gamma .A} for the universal map {\mathopen {}\left \langle \gamma \circ p_B,a\right \rangle \mathclose {}}.
Making representable maps algebraic [00EG]
- November 13, 2023
- Jon Sterling
The adjunction determined by a representable map [00DS]
- November 8, 2023
- Jon Sterling
Definition The generic elements functor of a representable map [00DL]
- November 7, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a representable map in \operatorname {Pr}\mathcal {C}. We shall define the generic elements functor {\widetilde {U}}\xrightarrow {{q}}{\widetilde {E}} that, intuitively, sends an element of the base to the “generic element” of the fiber of {E}\xrightarrow {{p}}{U} at that element.
Fixing an element \Gamma \vdash A, we define qA to be the upstairs map in the following pullback square that exists by representability of {E}\xrightarrow {{p}}{U}, and can be chosen by the univalence principle for the category \mathcal {C}:
Fixing a morphism {A}\xrightarrow {{\bar \gamma }}{B} in \widetilde {U} over {\Delta }\xrightarrow {{\gamma }}{\Gamma } in \mathcal {C}, we choose {qA}\xrightarrow {{q\bar \gamma }}{qB} to be the upper triangle determined by the universal property of the pullback as follows:
Commutation of the outer square follows from the homomorphism property of {A}\xrightarrow {{\bar \gamma }}{B} in \widetilde {U}. The assignment preserves identities and compositions, so we have defined a functor {\widetilde {U}}\xrightarrow {{q}}{\widetilde {E}}.
Definition The weakening counit of a representable map [00DM]
- November 7, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a representable map in \operatorname {Pr}\mathcal {C}, so that {\widetilde {U}}\xrightarrow {{q}}{\widetilde {E}} is the corresponding generic elements functor. We may define a natural transformation {\widetilde {p}\circ q}\xrightarrow {{\epsilon }}{1_{\widetilde {U}}} that we shall call the weakening counit of the representable map {E}\xrightarrow {{p}}{U}.
For \Gamma \vdash A we define the component {\widetilde {p}qA}\xrightarrow {{\epsilon _A}}{A} to be the following cell over {\Gamma .A}\xrightarrow {{p_A}}{A}:
The reason to name \epsilon _A as we have done is that it witnesses the fact that “weakening” a given type \Gamma \vdash A into the context of its generic element gives you precisely the type of the generic element.
Definition The substitution unit of a representable map [00DN]
- November 7, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a representable map in \operatorname {Pr}\mathcal {C}, so that {\widetilde {U}}\xrightarrow {{q}}{\widetilde {E}} is the corresponding generic elements functor. We may define a natural transformation {1_{\widetilde {E}}}\xrightarrow {{\eta }}{q\circ \widetilde {p}} that we shall call the substitution unit of the representable map {E}\xrightarrow {{p}}{U}.
We define {1_{\widetilde {E}}}\xrightarrow {{\eta }}{q\circ \widetilde {p}} assigning to each \Gamma \vdash a : A the upper-hand depicted below:
The reason to refer to {1_{\widetilde {E}}}\xrightarrow {{\eta }}{q\circ \widetilde {p}} as the substitution unit is that it witnesses the fact that every element of a given type arises from that type’s generic element by substitution.
Lemma Snake identity: duplicating the generic element [00DP]
- November 7, 2023
- Jon Sterling
The following “snake identity” for the substitution unit and the weakening counit holds for any representable map {E}\xrightarrow {{p}}{U} in \operatorname {Pr}\mathcal {C}:
As we shall see in the proof below, this identity states that duplicating the generic element gives you the generic element (up to weakening).
Proof.
- November 7, 2023
- Jon Sterling
We first instantiate the snake diagram at an arbitrary {\mathopen {}\left (\Gamma \vdash A\right )\mathclose {}}\in \widetilde {U}.
As {\widetilde {E}}\xrightarrow {{\pi _E}}{\mathcal {C}} is a discrete fibration, it suffices to check that the above diagram lies over an identity cell in \mathcal {C}. We therefore consider its image in \mathcal {C} as an endomorphism on \Gamma .A to check that it is the identity, computing as follows using the componentwise definitions of the substitution unit and the weakening counit:
These two maps evidently compose to the identity: indeed, by the universal property of \Gamma .A as the fiber product E\times _U\Gamma , it suffices to check that qA\circ p_A.qpqA\circ {\mathopen {}\left \langle \Gamma .A,qA\right \rangle \mathclose {}} = qA and p_A\circ p_A.qpqA\circ {\mathopen {}\left \langle \Gamma .A,qA\right \rangle \mathclose {}} = p_A, as can be read off from the diagrams below.
Lemma Snake identity: elements are sections [00DQ]
- November 8, 2023
- Jon Sterling
The following “snake identity” for the substitution unit and the weakening counit holds for any representable map {E}\xrightarrow {{p}}{U} in \operatorname {Pr}\mathcal {C}:
As we shall see, this law states that any element \Gamma \vdash a : A gives rise to a section of the display map {\Gamma .A}\xrightarrow {{p_A}}{\Gamma }.
Proof.
- November 8, 2023
- Jon Sterling
We may instantiate the snake diagram at an arbitrary {\mathopen {}\left (\Gamma \vdash a:A\right )\mathclose {}}\in \widetilde {E}, and we may whisker on the right with {\widetilde {U}}\xrightarrow {{\pi _U}}{\mathcal {C}} which, as a discrete fibration, is a faithful functor. It suffices now to check that the resulting cell is an identity map \mathcal {C}. We we compute it below using the componentwise definitions of the substitution unit and weakening counit.
The cell depicted above is indeed an identity, as {\Gamma }\xrightarrow {{\Gamma .a}}{\Gamma .A} is defined to be the section of {\Gamma .A}\xrightarrow {{p_A}}{\Gamma } determined by {\Gamma }\xrightarrow {{a}}{E}.
Corollary Adjointness of the generic elements functor [00DT]
- November 8, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a representable map in \operatorname {Pr}{\mathcal {C}}; then we have an adjunction \widetilde {p}\dashv q where {\widetilde {U}}\xrightarrow {{q}}{\widetilde {E}} is the generic elements functor of {E}\xrightarrow {{p}}{U}, in which the unit and counit are the substitution unit and weakening counit respectively.
Proof.
- November 8, 2023
- Jon Sterling
We have verified the two snake identities in Lemmas [00DP] and [00DQ] respectively.
Lemma Representable maps from adjunctions [00DK]
- November 6, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a morphism in \operatorname {Pr}\mathcal {C}; if the induced functor {\widetilde {E}}\xrightarrow {{\widetilde {p}}}{\widetilde {U}} between categories of elements has a right adjoint, then {E}\xrightarrow {{p}}{U} is representable.
Proof.
- November 6, 2023
- Jon Sterling
Let there be a right adjoint {\widetilde {U}}\xrightarrow {{q}}{\widetilde {E}} to {\widetilde {E}}\xrightarrow {{\widetilde {p}}}{\widetilde {U}}, and fix {\mathopen {}\left (\Gamma \vdash A\right )\mathclose {}}\in \widetilde {U}. Applying the right adjoint, we have an element {\mathopen {}\left (\Gamma .A\vdash qA\right )\mathclose {}}\in \widetilde {E}; instantiating the counit at {\mathopen {}\left (\Gamma \vdash A\right )\mathclose {}}, we have a cell {\widetilde {p}qA}\xrightarrow {{\epsilon _{A}}}{A}, which amounts to a commuting square in the following configuration:
It suffices to show that the square depicted above is cartesian. Because pullbacks in presheaf categories are computed pointwise, it suffices to consider only squares with a representable apex, such as the one below in which \Delta is assumed representable:
To construct the universal map {\Delta }\xrightarrow {{{\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}}}}{\Gamma .A} factoring \gamma ,a through qA,p_A respectively, we note the square above corresponds precisely to a morphism {\widetilde {p}a}\xrightarrow {{\bar \gamma }}{A} in \widetilde {U}, visualised as follows:
We can transpose {\widetilde {p}a}\xrightarrow {{\gamma }}{A} to obtain the following {a}\xrightarrow {{\bar \gamma ^\sharp }}{qA} in \widetilde {E}:
We now define {\Delta }\xrightarrow {{{\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}}}}{\Gamma .A} to be the image of {a}\xrightarrow {{\bar \gamma ^\sharp }}{qA} in \mathcal {C}, i.e. {\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}} :\equiv \pi _E \bar \gamma ^\sharp .The factorisation qA\circ {\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}} = a holds by inspection of the above diagram in \widetilde {E}. The other factorisation p_A \circ {\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}} = \gamma holds by the snake identities of adjoints:
Uniqueness of {a}\xrightarrow {{{\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}}}}{qA} with this property can be seen as follows. We fix any {\Delta }\xrightarrow {{h}}{\Gamma .A} satisfying the two factorisation properties; in other words, we assume that h lies underneath a morphism in {a}\xrightarrow {{\bar {h}}}{qA} in \widetilde {E} satisfying (only) the additional property that \epsilon _A\circ \bar {h} = \gamma :
To see that h = {\mathopen {}\left \langle \gamma ,a\right \rangle \mathclose {}}, it therefore suffices to observe the following instance of the snake identity:
Corollary Algebraic description of representable maps [00DU]
- November 9, 2023
- Jon Sterling
A morphism {E}\xrightarrow {{p}}{U} is representable in \operatorname {Pr}\mathcal {C} if and only if the induced functor {\widetilde {E}}\xrightarrow {{\widetilde {p}}}{\widetilde {U}} has a right adjoint.
We are now ready to describe natural models. The purpose of the preceding lemmas was to provide a fully algebraic and diagrammatic description of natural models as an alternative to the usual presheaf-theoretic description. The difference between these descriptions begins to matter when organizing natural models into a (2,1)-category — what seems arbitrary in the language of presheaves becomes completely natural in the diagrammatic language, so much so that someone who has seen the diagrammatic definition of natural models would not find it difficult to reconstruct from scratch the appropriate notion of morphism.
Natural models of dependent type theory [00EH]
- November 13, 2023
- Jon Sterling
Definition Presheaf-theoretic description of natural models [00E3]
- November 10, 2023
- Jon Sterling
- [fiore-2012-icalp], [awodey-2018-mscs]
A natural model is defined to be a small category \mathcal {C} with a terminal object together with a representable map {E}\xrightarrow {{p}}{U} in \operatorname {Pr}\mathcal {C}.
Algebraic description of the bicategory of natural models [00E6]
- November 10, 2023
- Jon Sterling
Definition Algebraic description of natural models [00E4]
- November 10, 2023
- Jon Sterling
A natural model is described by the following structure in the bicategory of (small) categories:
-
a sequence of discrete fibrations E\xrightarrow {p} U\xrightarrow {c} \mathcal {C}:
-
a right adjoint {\mathbf {1}}\xrightarrow {{\diamond }}{\mathcal {C}} to the terminal functor {\mathcal {C}}\xrightarrow {{*}}{\mathbf {1}}:
-
a right adjoint {U}\xrightarrow {{q}}{E} to {E}\xrightarrow {{p}}{U}:
Definition Homomorphisms of natural models [00E5]
- November 10, 2023
- Jon Sterling
Let M and N be natural models, as depicted schematically below:
A lax homomorphism {M}\xrightarrow {{\Phi }}{N} of natural models is given by the following data:
The last cell {*_{N}\circ \Phi _{\mathcal {C}}}\xrightarrow {{\Phi _{*}}}{*_{M}} always exists canonically and is invertible, but we include it as it plays a role in further definitions.
A lax homomorphism {M}\xrightarrow {{\Phi }}{N} is called strong when the 2-cells \Phi _{p} and \Phi _{c} are invertible, and the right mates \Phi _{q},\Phi _{\diamond } of \Phi _{p},\Phi _{*} depicted below are invertible, ensuring that context extension and the empty contexts are preserved respectively:
Definition Transformations of homomorphisms of natural models [00E7]
- November 10, 2023
- Jon Sterling
Let M and N be natural models, as depicted schematically below:
Let {M}\xrightarrow {{\Phi ,\Psi }}{N} be two (lax) homomorphisms from M to N. A transformation {\Phi }\xrightarrow {{\alpha }}{\Psi } of homomorphisms from M to N is by three cells
It is seen by drawing string diagrams that if the underlying cells of a transformation of homomorphisms of natural models are invertible, then the transformation itself is invertible. Furthermore, it follows from the discreteness of E and U over \mathcal {C} that the transformation laws uniquely determine the components \alpha _E and \alpha _U if they exist. As such, the only data in a transformation is the lowest cell \alpha _{\mathcal {C}} acting on contexts.
Bicategories of natural models [00E8]
- November 11, 2023
- Jon Sterling
There are several possible bicategories of natural models, corresponding to different allowances of laxness. All of these are, in fact, (strict) 2-categories — but we see this as a meta-level statement as it concerns definitional equality.
By “the” bicategory of natural models, we shall refer to the one in which 1-cells are strong homomorphisms. This bicategory is precisely the one described by Uemura; in his doctoral thesis, the same author considered the (2,1)-subcategory with invertible 2-cells. The latter bicategory benefits from the Lurie’s theory of presentable (∞,1)-categories; Uemura has also claimed an appropriate form of presentability for the full bicategory with non-invertible 2-cells, but neither precise definitions nor proofs of this condition have been published.
Bi-initiality of syntactic natural models [00F2]
- November 20, 2023
- Jon Sterling
The bicategory of natural models has a bi-initial object, as shown by Uemura. This bi-initial object can be constructed from syntax, or by using the presentability of the (2,1)-category of natural models: it can be seen from Uemura’s proof that the lack of non-invertible 2-cells in the latter has no impact on bi-initiality, as any transformation between strong homomorphisms whose domain is a democratic natural model is invertible.
Type theoretic structure on natural models [00F1]
- November 20, 2023
- Jon Sterling
A natural model consists of (exactly) the judgmental structure of Martin-Löf type theory, without any connectives or basic types or terms. Here we will explore how structure is imposed on a given natural model.
In Martin-Löf type theory, a connective is usually described as being specified by (1) a formation rule, (2) introduction rules, (3) elimination rules, (4) computation rules, and (5) uniqueness rules. This schema is deceptively simple, as there are a number of places where additional complexity arises:
- Some types have projection-style eliminators, like those of \Pi and \Sigma types.
- Some types have lifting-style eliminators, like that of the booleans.
- Some lifting-style eliminators are dependent, like that of the booleans.
- Other lifting-style eliminators are non-dependent, like that of a reflective subuniverse that is not \Sigma -closed, such as the subuniverse of predomains in a model of synthetic domain theory.
- Some lifting-style eliminators draw their motives of elimination from the ambient natural model, and others place more restrictions (as in the case of a reflective subuniverse).
- Some parameters of a formation rule are held fixed during elimination, and others are not.
- Some eliminators have judgmental (strict) uniqueness laws, others do not.
It is our goal to develop a framework that smoothly handles all of these possibilities. As all the possible parameters pertain to elimination and uniqueness laws, it is natural to consider the formation and introduction rules as the basic data of a type theoretic connective, and then the different ways in which a natural model can be closed under such a connective.
In categorical terms, the formation and introduction rules for a connective K can be understood in terms of a single map {I}\xrightarrow {{\pi }}{F} in \operatorname {Pr}{\mathcal {C}}: the base F represents the premises of the formation rule, and the total space I represents the premises of the introduction rule. The projection itself reflects the fact that, in type theoretic terms, an introduction rule for a given connective presupposes that the premises of the formation rule are satisfied.
Example The dependent product connective [00F3]
- November 20, 2023
- Jon Sterling
The formation rule for dependent products fixes a type \Gamma \vdash A together with a family of types \Gamma .A\vdash B indexed in A. The introduction rule further assumes an element \Gamma .A \vdash b : B. The corresponding connective can therefore be described as the projection {{\mathopen {}\left \langle p\right \rangle \mathclose {}}E}\xrightarrow {{{\mathopen {}\left \langle p\right \rangle \mathclose {}}p}}{{\mathopen {}\left \langle p\right \rangle \mathclose {}}U} where {\operatorname {Pr}{\mathcal {C}}}\xrightarrow {{{\mathopen {}\left \langle p\right \rangle \mathclose {}}}}{\operatorname {Pr}{\mathcal {C}}} is the polynomial endofunctor U_!\circ p_*\circ E^* associated to {E}\xrightarrow {{p}}{U}. In type theoretic language, {\mathopen {}\left \langle p\right \rangle \mathclose {}}U classifies families of types, and {\mathopen {}\left \langle p\right \rangle \mathclose {}}E classifies families of types equipped with a section.
Example The boolean connective [00F4]
- November 20, 2023
- Jon Sterling
The formation rule for the boolean type has no premises whatsoever; there are exactly two introduction forms which each have no premises. Therefore, the boolean connective is described by the map {\mathbf {2}}\xrightarrow {{!}}{\mathbf {1}}.
Definition Left lifting structures [00F7]
- November 20, 2023
- Jon Sterling
- [awodey-2018-mscs]
Let {U}\xrightarrow {{l}}{V} and {A}\xrightarrow {{r}}{B} be two morphisms in a category \mathcal {E} with pullbacks, such that U,V are exponentiable. Working in the codomain bifibration of \mathcal {E}, we consider the vertical factor of the square {p^V}\xrightarrow {{p^f}}{p^U} as depicted below:
A (weak, strong) left lifting structure for {U}\xrightarrow {{l}}{V} against {A}\xrightarrow {{r}}{B} is then defined to be a (section, inverse) to the vertical factor {p^V}\xrightarrow {{v_{p^f}}}{{\mathopen {}\left (f^U\right )\mathclose {}}^*p^U} in {\mathcal {E}}_{/A^U} depicted above — or equivalently a (section, inverse) to the underlying morphism in \mathcal {E} of the vertical factor.
Definition Type theoretic connective [00F9]
- November 20, 2023
- Jon Sterling
A type theoretic connective is defined to be a pair of maps I\xrightarrow {\pi }F\xrightarrow {\phi }P in which the first factor represents the projection of formation data from introduction data, and the second factor identifies the fixed parameters of the elimination rule.
Definition Formation squares for connectives [00F5]
- November 20, 2023
- Jon Sterling
An formation square for a type theoretic connective I\xrightarrow {\pi }F\xrightarrow {\phi }P in a family {E}\xrightarrow {{p}}{B} is defined to be a commuting square {\pi }\xrightarrow {{\alpha }}{p} as depicted schematically below:
Definition Eliminators for formation squares [00F6]
- November 20, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a morphism in a category \mathcal {E} with pullbacks, and let {\pi }\xrightarrow {{\alpha }}{p} be a formation square for a connective I\xrightarrow {\pi }F\xrightarrow {\phi }P. Working in the codomain bifibration of \mathcal {E}, we consider the vertical factor of the {\pi }\xrightarrow {{v_\alpha }}{\alpha _F^*p} of the square {\pi }\xrightarrow {{\alpha }}{p}:
Write {{\mathcal {E}}_{/F}}\xrightarrow {{\phi _!}}{{\mathcal {E}}_{/P}} for the induced cocartesian lifting (postcomposition) functor.
- An absolute eliminator is defined to be an inverse to {\phi _!\pi }\xrightarrow {{\phi _!v_\alpha }}{\phi _!F} in {\mathcal {E}}_{/P}.
- A (weak, strong) eliminator is defined to be a (weak, strong) left lifting structure for {\phi _!\pi }\xrightarrow {{\phi _!v_\alpha }}{\phi _!F} against {P^*E}\xrightarrow {{P^*p}}{P^*U} in {\mathcal {E}}_{/P}.
We can define the structure of recursors in terms of eliminators. To be very clear, we are not demonstrating the (obvious) fact that a recursor can be implemented using a eliminator: we are saying that a recursor for one formation square is precisely the same thing as a eliminator for a different formation square in a different category.
Definition Recursors for formation squares [00F8]
- November 20, 2023
- Jon Sterling
Let {E}\xrightarrow {{p}}{U} be a morphism in a category \mathcal {E} with pullbacks, and let {\pi }\xrightarrow {{\alpha }}{p} be a formation square for a connective I\xrightarrow {\pi }F\xrightarrow {\phi }P. Let {U^*I}\xrightarrow {{v}}{p} be the following vertical factor in {\mathcal {E}}_{/U}:
Let {F}\xrightarrow {{\phi }}{P} be a further morphism. An (absolute, weak, strong) recursor for {\pi }\xrightarrow {{\alpha }}{p} with {F}\xrightarrow {{\phi }}{P} fixed is defined to be an (absolute, weak, strong) eliminator for the following formation square in {\mathcal {E}}_{/U}:
Comparing different kinds of eliminators [00FA]
- November 20, 2023
- Jon Sterling
We summarise the basic relationship between the different kinds of eliminators.
- Absolute eliminators correspond to projection-style elimination rules, whereas (strong, weak) correspond to lifting-style elimination rules (with, without) judgmental uniqueness rules.
- Absolute and strong eliminators are unique whenever they exist.
- Weak eliminators are not strictly unique, but they form a contractible space in the sense of homotopy as determined by an identity type; when this identity type satisfies equality reflection, then, the weak eliminators become strong.
- If a formation square has an absolute eliminator, then it has a strong eliminator. Although the converse holds in many specific examples, it does not hold in general.
- An absolute recursor can be upgraded to an absolute eliminator.
- In the presence of dependent sums and (strong, weak) identity types, a (strong, weak) recursor can be upgraded to a (strong, weak) eliminator.