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.