arXiv reader

Categorical structures for type theory in univalent foundations

Benedikt Ahrens, Peter LeFanu Lumsdaine and Vladimir Voevodsky

arXiv
1705.04310v2 · PDF · 8 September 2018
Categories
math.LO, cs.LO, math.CT
Journal
Logical Methods in Computer Science, Volume 14, Issue 3 (September 11, 2018) lmcs:4801
DOI
10.23638/LMCS-14(3:18)2018
Licence
CC BY 4.0 The site shows the text.

Abstract

In this paper, we analyze and compare three of the many algebraic structures that have been used for modeling dependent type theories: categories with families, split type-categories, and representable maps of presheaves. We study these in univalent type theory, where the comparisons between them can be given more elementarily than in set-theoretic foundations. Specifically, we construct maps between the various types of structures, and show that assuming the Univalence axiom, some of the comparisons are equivalences. We then analyze how these structures transfer along (weak and strong) equivalences of categories, and, in particular, show how they descend from a category (not assumed univalent/saturated) to its Rezk completion. To this end, we introduce relative universes, generalizing the preceding notions, and study the transfer of such relative universes along suitable structure. We work throughout in (intensional) dependent type theory; some results, but not all, assume the univalence axiom. All the material of this paper has been formalized in Coq, over the UniMath library.

Items 46

Definition

Definition 3.1 (cf. ; cwf_structure, cwf)

3CPQ

A category with families (à la Fiore) consists of:

  1. a category {\mathcal{C}}, together with

  2. presheaves \ensuremath{\mathsf{Ty}}, \ensuremath{\mathsf{Tm}} : {\mathcal{C}}^{\mathrm{op}} \to \ensuremath{\ensuremath{\mathsf{Set}}}\xspace;

  3. a natural transformation \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{Tm}} \to \ensuremath{\mathsf{Ty}}; and

  4. for each object \Gamma : {\mathcal{C}} and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, a representation of the fiber of \ensuremath{\mathsf{p}} over A, i.e.

    1. an object \ensuremath{{\Gamma}.{A}} : {\mathcal{C}} and map \ensuremath{\mathsf{\pi}}_{A} : \ensuremath{{\Gamma}.{A}} \to \Gamma,

    2. an element \ensuremath{\ensuremath{\mathsf{te}}}_A:\ensuremath{\ensuremath{\mathsf{Tm}}({\ensuremath{{\Gamma}.{A}}})}, such that \ensuremath{\mathsf{p}}_{\ensuremath{{\Gamma}.{A}}}(\ensuremath{\ensuremath{\mathsf{te}}}_A) = \ensuremath{\ensuremath{\mathsf{\pi}}_{A}^*{A}} : \ensuremath{\ensuremath{\mathsf{Ty}}({\ensuremath{{\Gamma}.{A}}})},

    3. and such that the induced commutative square

      \begin{xy} \xymatrix{ **[l]\ensuremath{\mathsf{y}}_{}(\ensuremath{{\Gamma}.{A}}) \ar[r]^-{\widehat{\ensuremath{\ensuremath{\mathsf{te}}}_A}} \ar[d]_{\ensuremath{\mathsf{y}}_{}(\ensuremath{\mathsf{\pi}}_{A})} \ar@{}[dr]|<<{\text{\pigpenfont A}} & \ensuremath{\mathsf{Tm}} \ar[d]^{\ensuremath{\mathsf{p}}}\\ **[l]\ensuremath{\mathsf{y}}_{}(\Gamma) \ar[r]_{\widehat{A}}& \ensuremath{\mathsf{Ty}} } \end{xy}

      is a pullback.

      (Here e.g. \widehat{A} denotes the Yoneda transpose of an element of a presheaf.)

By a CwF structure on a category {\mathcal{C}}, we mean the data of items ?–? above.

Remark

Remark

L652

This is a reformulation, due to Fiore, of Dybjer’s original definition of CwF’s [Dybjer, Def. 1], replacing the single functor {\mathcal{C}} \to \ensuremath{\ensuremath{\mathsf{Fam}}}\xspace by the map of presheaves \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{Tm}} \to \ensuremath{\mathsf{Ty}}.

Definition

Definition 3.2

W14K

Let {\mathcal{C}} be a CwF, \Gamma : {\mathcal{C}} an object, and e : A = B an equality of elements of \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}.

We write \Delta_{e} : \ensuremath{{\Gamma}.{A}} \cong \ensuremath{{\Gamma}.{B}} for the induced isomorphism \ensuremath{\mathsf{idtoiso}}\xspace(\ensuremath{\mathsf{ap}_{x\mapsto \ensuremath{{\Gamma}.{x}}}}\xspace(e)).

Definition

Definition 3.3 (cf. ,; typecat_structure, is_split_typecat, split_typecat_structure)

DDZ0

A type-category consists of:

  1. a category {\mathcal{C}}, together with

  2. for each object \Gamma : {\mathcal{C}}, a type \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})},

  3. for each \Gamma : {\mathcal{C}} and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, an object \ensuremath{{\Gamma}.{A}} : {\mathcal{C}},

  4. for each such \Gamma, A, a morphism \ensuremath{\mathsf{\pi}}_{A} : \ensuremath{{\Gamma}.{A}} \to \Gamma,

  5. for each map f : \Gamma' \to \Gamma, a ‘reindexing’ function \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})} \to \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma'})}, denoted A \mapsto \ensuremath{f^*{A}},

  6. for each \Gamma, A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, and f : \Gamma' \to \Gamma, a morphism \ensuremath{\ensuremath{\mathsf{q}}({f},{A})} : \ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}} \to \ensuremath{{\Gamma}.{A}},

  7. such that for each such \Gamma, A, \Gamma', f, the following square commutes and is a pullback:

    \xymatrix@C=5pc{ \ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}} \ar[r]^{\ensuremath{\ensuremath{\mathsf{q}}({f},{A})}} \ar[d]_{\ensuremath{\mathsf{\pi}}_{\ensuremath{f^*{A}}}} \ar@{}[dr]|<<{\text{\pigpenfont A}} & \ensuremath{{\Gamma}.{A}} \ar[d]^{\ensuremath{\mathsf{\pi}}_{A}} \\ \Gamma' \ar[r]_{f}& \Gamma }

A type-category is split if:

  1. for each \Gamma, the type \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})} is a set;

  2. for each \Gamma and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, we have equalities

    1. e : \ensuremath{1_{\Gamma}^*{A}} = A, and

    2. \ensuremath{\ensuremath{\mathsf{q}}({1_{\Gamma}},{A})} = \Delta_{e}\ :\ \ensuremath{{\Gamma}.{\ensuremath{1_\Gamma^*{A}}}} \to \ensuremath{{\Gamma}.{A}}; and

  3. for f' : \Gamma'' \to \Gamma'), f : \Gamma' \to \Gamma, and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, we have equalities

    1. e' : \ensuremath{(\ensuremath{{f'}\cdot{f}})^*{A}} = \ensuremath{f'^*{\ensuremath{f^*{A}}}}, and

    2. \ensuremath{\ensuremath{\mathsf{q}}({\ensuremath{{f'}\cdot{f}}},{A})} = \ensuremath{{\ensuremath{{\Delta_{e'}}\cdot{\ensuremath{\ensuremath{\mathsf{q}}({f'},{\ensuremath{f^*{A}}})}}}}\cdot{\ensuremath{\ensuremath{\mathsf{q}}({f},{A})}}} \ :\ \ensuremath{{\Gamma''}.{\ensuremath{(\ensuremath{{f'}\cdot{f}})^*{A}}}} \to \ensuremath{{\Gamma}.{A}}.

Definition

Definition 3.4 (obj_ext_structure)

K52A

A (split) object extension structure on a category {\mathcal{C}} consists of:

  1. a functor \ensuremath{\mathsf{Ty}} : {\mathcal{C}}^{\mathrm{op}} \to \ensuremath{\ensuremath{\mathsf{Set}}}\xspace;

  2. for each \Gamma : {\mathcal{C}} and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})},

    1. an object \ensuremath{{\Gamma}.{A}}, and

    2. a projection morphism \ensuremath{\mathsf{\pi}}_{A} : {\mathcal{C}}(\ensuremath{{\Gamma}.{A}}, \Gamma).

In general, one might want to loosen the setness and functoriality conditions on \ensuremath{\mathsf{Ty}}, and hence distinguish the present definition as the split version of a more general notion.

In this paper, however, we do not consider the non-split case, so take object extension structures to mean the split ones throughout.

Definition

Definition 3.5 (term_fun_structure)

JJC0

Let {\mathcal{C}} be a category equipped with an object extension structure X = (\ensuremath{\mathsf{Ty}},\ensuremath{{-}.{-}},\pi).

A (functional) term-structure over X consists of:

  1. a presheaf \ensuremath{\mathsf{Tm}} : {\mathcal{C}}^{\mathrm{op}} \to \ensuremath{\ensuremath{\mathsf{Set}}}\xspace, and natural transformation \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{Tm}} \to \ensuremath{\mathsf{Ty}};

  2. for each object \Gamma : {\mathcal{C}} and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, an element \ensuremath{\ensuremath{\mathsf{te}}}_A:\ensuremath{\ensuremath{\mathsf{Tm}}({\ensuremath{{\Gamma}.{A}}})}, such that (\ensuremath{{\Gamma}.{A}}, \ensuremath{\mathsf{\pi}}_{A}, \ensuremath{\ensuremath{\mathsf{te}}}_A) form a representation of the fiber of \ensuremath{\mathsf{p}} over A as in item ? of Def. 3.1.

One might say functional to distinguish these from familial term-structures, which would correspond analogously to CwF’s in the sense of Dybjer, with \ensuremath{\ensuremath{\mathsf{Tm}}({\Gamma})} a family indexed by \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}.

For the present paper, however, we work only with the functional ones, so call these simply term-structures.

Problem

Problem 3.6

8G4Z

Given a category {\mathcal{C}}, to construct an equivalence between CwF structures on {\mathcal{C}} and pairs (X,Y) of an object extension structure X = (\ensuremath{\mathsf{Ty}},\ensuremath{{-}.{-}},\pi) on {\mathcal{C}} and a term-structure Y over X.

Construction

Construction 3.7 (for Problem ?prob:weq-cwf-regrouped; prob:weq-cwf-regrouped)

DG6R

constr:weq-cwf-regrouped Mathematically, this is essentially trivial, as is visibly evident from the definitions: just a matter of reordering and reassociating \Sigma-types, and distributing \Pi-types over \Sigma-types.

It is perhaps worth noting however that this distributivity requires functional extensionality.

Definition

Definition 3.8 (qq_morphism_structure)

L2FG

Let {\mathcal{C}} be a category equipped with an object extension structure X = (\ensuremath{\mathsf{Ty}},\ensuremath{{-}.{-}},\pi).

A (split) \ensuremath{\mathsf{q}}-morphism structure over X consists of:

  1. for each f : \Gamma' \to \Gamma and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, a map \ensuremath{\ensuremath{\mathsf{q}}({f},{A})} : \ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}} \to \ensuremath{{\Gamma}.{A}}, such that following square commutes and is a pullback

    \xymatrix@C=5pc{ \ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}} \ar[r]^{\ensuremath{\ensuremath{\mathsf{q}}({f},{A})}} \ar[d]_{\ensuremath{\mathsf{\pi}}_{\ensuremath{f^*{A}}}} \ar@{}[dr]|<<{\text{\pigpenfont A}} & \ensuremath{{\Gamma}.{A}} \ar[d]^{\ensuremath{\mathsf{\pi}}_{A}} \\ \Gamma' \ar[r]_{f}& \Gamma }

    and such that

  2. for each \Gamma and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, \ensuremath{\ensuremath{\mathsf{q}}({1_{\Gamma}},{A})} = \Delta_{\ensuremath{1_\Gamma^*{A}},A}\ :\ \ensuremath{{\Gamma}.{\ensuremath{1_\Gamma^*{A}}}} \to \ensuremath{{\Gamma}.{A}}; and

  3. for each f' : \Gamma'' \to \Gamma', f : \Gamma' \to \Gamma, and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})},

    \ensuremath{\ensuremath{\mathsf{q}}({\ensuremath{{f'}\cdot{f}}},{A})} = \ensuremath{{\ensuremath{{\Delta_{\ensuremath{(\ensuremath{{f'}\cdot{f}})^*{A}},\ensuremath{f'^*{\ensuremath{f^*{A}}}}}}\cdot{\ensuremath{\ensuremath{\mathsf{q}}({f'},{\ensuremath{f^*{A}}})}}}}\cdot{\ensuremath{\ensuremath{\mathsf{q}}({f},{A})}}} \ :\ \ensuremath{{\Gamma''}.{\ensuremath{(\ensuremath{{f'}\cdot{f}})^*{A}}}} \to \ensuremath{{\Gamma}.{A}}.

Here the suppressed equalities on the \Delta_{} terms come from the functoriality axioms of \ensuremath{\mathsf{Ty}}.

Problem

Problem 3.9

82SQ

Given a category {\mathcal{C}}, to construct an equivalence between split type-category structures on {\mathcal{C}} and pairs (X,Z) of an object extension structure X on {\mathcal{C}} and a \ensuremath{\mathsf{q}}-morphism structure Z over X.

Construction

Construction 3.10 (for Problem ?problem:weq-typecat-regrouped; problem:weq-typecat-regrouped)

I207

constr:weq-typecat-regrouped Much like Construction ?, simply a matter of wrangling \Pi- and \Sigma-types.

Definition

Definition 3.11

E9LT

Let Y=(\ensuremath{\mathsf{Tm}},\ensuremath{\mathsf{p}},\ensuremath{\ensuremath{\mathsf{te}}}) be a term-structure and Z=(\ensuremath{\mathsf{q}}) a \ensuremath{\mathsf{q}}-morphism structure over X.

Say Y and Z are compatible if for all f : \Gamma \to \Gamma' and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})},

\ensuremath{\ensuremath{\mathsf{te}}}_{\ensuremath{f^*{A}}} = \ensuremath{\ensuremath{\ensuremath{\mathsf{q}}({f},{A})}^*{\ensuremath{\ensuremath{\mathsf{te}}}_A}}.

Problem

Problem 3.12

DX3V

Given a term-structure Y over X, to construct a \ensuremath{\mathsf{q}}-morphism structure over X compatible with Y.

Construction

Construction 3.13 (for Problem ?problem:term-to-compatible-qmor; problem:term-to-compatible-qmor)

1RFH

iven Y and f : \Gamma \to \Gamma' and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, the term-structure axioms give a pullback square

\xymatrix@C=5pc{ {\mathcal{C}}(\ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}}, \ensuremath{{\Gamma}.{A}}) \ar[r]^{g \mapsto \ensuremath{g^*{\ensuremath{\ensuremath{\mathsf{te}}}_A}}} \ar[d]_{\ensuremath{{-}\cdot{\ensuremath{\mathsf{\pi}}_{A}}}} \ar@{}[dr]|<<{\text{\pigpenfont A}} & \ensuremath{\ensuremath{\mathsf{Tm}}({\ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}}})} \ar[d]^{\ensuremath{\mathsf{p}}_{\ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}}}} \\ {\mathcal{C}}(\ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}}, \Gamma) \ar[r]^{g \mapsto \ensuremath{g^*{A}}} & \ensuremath{\ensuremath{\mathsf{Ty}}({\ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}}})} }

So we may take \ensuremath{\ensuremath{\mathsf{q}}({f},{A})} to be the unique map \ensuremath{{\Gamma'}.{\ensuremath{f^*{A}}}} \to \ensuremath{{\Gamma}.{A}} such that \ensuremath{{\ensuremath{\ensuremath{\mathsf{q}}({f},{A})}}\cdot{\ensuremath{\mathsf{\pi}}_{A}}} = \ensuremath{{\ensuremath{\mathsf{\pi}}_{\ensuremath{f^*{A}}}}\cdot{f}} and \ensuremath{\ensuremath{\ensuremath{\mathsf{q}}({f},{A})}^*{\ensuremath{\ensuremath{\mathsf{te}}}_A}} = \ensuremath{\ensuremath{\mathsf{te}}}_{\ensuremath{f^*{A}}}.

Verification that this forms a compatible \ensuremath{\mathsf{q}}-morphism structure is essentially routine calculation.

Problem

Problem 3.14

EHMS

Given a \ensuremath{\mathsf{q}}-morphism structure Y over X, to construct a term-structure over X compatible with Y.

Construction

Construction 3.15 (for Problem ?problem:qmor-to-compatible-term; problem:qmor-to-compatible-term)

POTH

his construction is rather more involved; we only sketch it here, and refer to the formalization for full details.

Briefly, \ensuremath{\ensuremath{\mathsf{Tm}}({\Gamma})} is the set of pairs (A,s), where A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, and s : \Gamma \to \ensuremath{{\Gamma}.{A}} is a section of \ensuremath{\mathsf{\pi}}_{A}.

Its functorial action \ensuremath{f^*{}} involves pulling back sections along the pullback squares given by the \ensuremath{\mathsf{q}}-morphism structure.

Finally, the universal element \ensuremath{\ensuremath{\mathsf{te}}}_A : \ensuremath{\ensuremath{\mathsf{Tm}}({\Gamma})} is the pair (\ensuremath{\ensuremath{\mathsf{\pi}}_{A}^*{A}}, \delta_{\ensuremath{\mathsf{\pi}}_{A}}), where \delta_{\ensuremath{\mathsf{\pi}}_{A}} : \ensuremath{{\Gamma}.{A}} \to \ensuremath{{\ensuremath{{\Gamma}.{A}}}.{\ensuremath{\ensuremath{\mathsf{\pi}}_{A}^*{A}}}} is the diagonal map of the pullback square for A and \ensuremath{\mathsf{\pi}}_{A} given by the \ensuremath{\mathsf{q}}-morphism structure.

Problem

Problem 3.16

BJIB

(Assuming Univalence.) To give an equivalence between term-structures and \ensuremath{\mathsf{q}}-morphism structures over X, whose underlying functions are as given in the two preceding constructions.

From this equivalence, to derive an equivalence between the type of pairs (X,Y) of an object extension structure and a term-structure, and of pairs (X,Z) an object extension structure and a \ensuremath{\mathsf{q}}-morphism structure.

Construction

Construction 3.17 (for Problem ?problem:weq-term-qmor; problem:weq-term-qmor)

NTHU

construction:weq-term-qmor As intimated above, we proceed by showing that for each term-structure, the compatible \ensuremath{\mathsf{q}}-morphism structure constructed above is in fact the unique compatible such structure, and vice versa.

This equivalence immediately induces an equivalence of pair types, which is the identity on the first component carrying the object extension structure.

Note in particular that for this result—unlike in the constructions above—we rely essentially on the univalence axiom.

Construction

Construction 3.19 (for Problem ?problem:equiv_sty_cwf; problem:equiv_sty_cwf)

9OVB

y composing the equivalences of Constructions ?, ?, and ?:

\ensuremath{\mathsf{splty}}({\mathcal{C}}) \simeq \sum_{X : \ensuremath{\mathsf{objext}}({\mathcal{C}})} \!\!\!\! \ensuremath{\mathsf{qmor}}(X) \simeq \sum_{X : \ensuremath{\mathsf{objext}}({\mathcal{C}})} \!\!\!\! \ensuremath{\mathsf{tmstr}}(X) \simeq \ensuremath{\mathsf{cwf}}({\mathcal{C}}) \enspace .
Example

Example 3.20

POU0

Let {\mathcal{C}} be the terminal category \{ \bullet \}, and \ensuremath{\mathsf{Ty}} : {\mathcal{C}}^{\mathrm{op}} \to \ensuremath{\ensuremath{\mathsf{Set}}}\xspace be the terminal functor, \ensuremath{\mathsf{Ty}}(\bullet) := \{ \star \}.

There is a unique object extension structure extending ({\mathcal{C}},\ensuremath{\mathsf{Ty}}).

A term-structure on this amounts to a set \ensuremath{\ensuremath{\mathsf{Tm}}({\bullet})} and element \ensuremath{\ensuremath{\mathsf{te}}}_\star \in \ensuremath{\ensuremath{\mathsf{Tm}}({\bullet})} such that

\begin{xy} \xymatrix{ {\mathcal{C}}(\bullet,\bullet) \ar[r]^{\widehat{\ensuremath{\ensuremath{\mathsf{te}}}_\star}} \ar[d] & \ensuremath{\ensuremath{\mathsf{Tm}}({\bullet})} \ar[d] \\ {\mathcal{C}}(\bullet,\bullet) \ar[r] & \ensuremath{\ensuremath{\mathsf{Ty}}({\bullet})} } \end{xy}

is a pullback square.

So \ensuremath{\mathsf{Ty}}(\bullet) must be a singleton set, and given that, the rest of the data is uniquely determined.

On the other hand, to give a \ensuremath{\mathsf{q}}-morphism structure on ({\mathcal{C}}, \ensuremath{\mathsf{Ty}}), there is no choice at all: all the required data consists of maps in {\mathcal{C}}, so is uniquely determined.

In other words, there is exactly one \ensuremath{\mathsf{q}}-morphism structure on ({\mathcal{C}}, \ensuremath{\mathsf{Ty}}), while term-structures on ({\mathcal{C}}, \ensuremath{\mathsf{Ty}}) correspond precisely to singletons in \ensuremath{\ensuremath{\mathsf{Set}}}\xspace.

In particular, in ZF(C) or similar set-theoretic settings, with the universe taken to be some Grothendieck universe, there are many singletons in \ensuremath{\ensuremath{\mathsf{Set}}}\xspace.

So there is no bijection between term-structures and \ensuremath{\mathsf{q}}-morphism structures on ({\mathcal{C}},\ensuremath{\mathsf{Ty}}): Problem 3.16 is insoluble.

Definition

Definition 4.1 (fpullback)

P0QN

Let J : {\mathcal{C}}\to{\mathcal{D}} be a functor, and \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} a morphism of {\mathcal{D}}.

Given an object X of {\mathcal{C}} and morphism f: J(X) \to \ensuremath{\mathsf{U}} in {\mathcal{D}}, a J-pullback of \ensuremath{\mathsf{p}} along f consists of an object X' of {\mathcal{C}} and morphisms p' : X' \to X and Q : J(X') \to \ensuremath{\mathsf{\tilde{U}}}, such that the following square commutes and is a pullback:

\xymatrix{ **[l] J(X') \ar[r]^-{Q} \ar[d]_{J(p')} \ar@{}[dr]|<<{\text{\pigpenfont A}} & \ensuremath{\mathsf{\tilde{U}}} \ar[d]^{\ensuremath{\mathsf{p}}}\\ **[l] J(X) \ar[r]_{f}& \ensuremath{\mathsf{U}} }
Definition

Definition 4.2 (relative_universe, weak_relative_universe)

8WEL

Let J : {\mathcal{C}} \to {\mathcal{D}} be a fully faithful functor.

A J-universe structure on a map \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} of {\mathcal{D}} is a function giving, for each object X in {\mathcal{C}} and map f: J(X) \to \ensuremath{\mathsf{U}}, a J-pullback (\ensuremath{{X}.{f}}, \ensuremath{\ensuremath{\mathsf{p}}_{f}}, \ensuremath{\ensuremath{\mathsf{Q}}({X},{f})}) of \ensuremath{\mathsf{p}} along f.

A universe relative to J, or briefly a J-universe, is a map \ensuremath{\mathsf{p}} equipped with a J-universe structure.

A weak universe relative to J is a map \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} such that for all suitable X, f, there exists some J-pullback of \ensuremath{\mathsf{p}} along f.

Remark

Remark

RTEQ

In the conference version [alv1-csl] of this article, the condition in Definition 4.2 on J : {\mathcal{C}} \to {\mathcal{D}} being fully faithful was not imposed.

This condition entails that the map (X,f) \mapsto \ensuremath{{X}.{f}} can be equipped with a functorial action in a suitable sense, and that the map (X,f) \mapsto \ensuremath{\ensuremath{\mathsf{p}}_{f}} is natural with respect to this functorial action. More specifically, the type of this extra “functoriality data” on a J-universe \ensuremath{\mathsf{p}} as above is a proposition when J is faithful (isaprop_functorial_structure_relu), and is contractible when J is fully faithful (iscontr_functorial_structure_relu).

If the restriction to fully faithful J is dropped, then the definition of J-universes should probably be expanded to include the functoriality data.

However, our two motivating examples, J=\ensuremath{\mathsf{Id}}_{{\mathcal{C}}} and J=\ensuremath{\mathsf{y}}_{{\mathcal{C}}}, are both fully faithful. For the sake of simplicity, therefore, we give only this “naïve” definition of relative universes in the present work.

Lemma

Lemma 4.3 (isaprop_rel_universe_structure)

Z4N4

Suppose J : {\mathcal{C}} \to {\mathcal{D}} is full and faithful, and {\mathcal{C}} is univalent.

Then for any morphism \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} in {\mathcal{D}}, and object X : {\mathcal{C}} and f: J(X) \to \ensuremath{\mathsf{U}}, the type of J-pullbacks of \ensuremath{\mathsf{p}} along f is a proposition.

Similarly, for any such \ensuremath{\mathsf{p}}, the type of J-universe structures on \ensuremath{\mathsf{p}} is a proposition.

Corollary

Corollary 4.4 (weq_relative_universe_weak_relative_universe)

JIM1

When J : {\mathcal{C}} \to {\mathcal{D}} is fully faithful and {\mathcal{C}} is univalent, the forgetful function from universes to weak universes relative to J is an equivalence.

Problem

Problem 4.5

0PYE

Given a square of functors commuting up to natural isomorphism, as in

\begin{xy} \xymatrix{ {\mathcal{C}} \drtwocell<\omit>{\alpha} \ar[r]^{J} \ar[d]_{R}& {\mathcal{D}} \ar[d]^{S}\\ {\mathcal{C}}' \ar[r]_{J'} & {\mathcal{D}}', } \end{xy}

such that

  • J and J' are fully faithful,

  • S preserves pullbacks,

  • S is split full, and

  • R is split essentially surjective,

and given a J-relative universe structure on a map \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} in {\mathcal{D}}, to construct a J'-universe structure on S(\ensuremath{\mathsf{p}}) in {\mathcal{D}}'.

Construction

Construction 4.6 (for Problem ?problem:universe.transfer.concrete; problem:universe.transfer.concrete)

FPK2

constr:universe.transfer.concrete Given X in {\mathcal{C}}' and f : J'(X) \to S\ensuremath{\mathsf{U}}, we need to construct a J'-pullback of S(\ensuremath{\mathsf{p}}) along f.

Split essential surjectivity of R gives some \bar{X} : {\mathcal{C}} and isomorphism i : R(\bar{X}) \cong X.

We therefore have \ensuremath{{\alpha_{\bar{X}}}\cdot{\ensuremath{{J'i}\cdot{f}}}} : SJ\bar{X} \to S\ensuremath{\mathsf{U}}; so split fullness of S gives us some \bar{f} : J\bar{X} \to \ensuremath{\mathsf{U}} with S \bar{f} = \ensuremath{{\alpha_{\bar{X}}}\cdot{\ensuremath{{J'i}\cdot{f}}}}.

Taking the given J-pullback of \ensuremath{\mathsf{p}} along \bar{f} and mapping it forward under S, we get a pullback square in {\mathcal{D}}':

\xymatrix@C=3.5pc{ SJ(\ensuremath{{\bar{X}}.{\bar{f}}}) \ar[rrr]^{S(\ensuremath{\ensuremath{\mathsf{Q}}({\bar{X}},{\bar{f}})})} \ar[d]_{SJ\ensuremath{\ensuremath{\mathsf{p}}_{\bar{f}}}} \ar@{}[dr]|<<{\text{\pigpenfont A}} & & & S \ensuremath{\mathsf{\tilde{U}}} \ar[d]^{S \ensuremath{\mathsf{p}}} \\ S J \bar{X} \ar[r]^{\alpha_{\bar{X}}} & J' R \bar{X} \ar[r]^{J'i} & J' X \ar[r]^f & S \ensuremath{\mathsf{U}} }

The maps \ensuremath{{R(\ensuremath{\ensuremath{\mathsf{p}}_{\bar{f}}})}\cdot{i}} : R(\ensuremath{{\bar{X}}.{\bar{f}}}) \to X and \ensuremath{{\alpha_{\ensuremath{{\bar{X}}.{\bar{f}}}}^{-1}}\cdot{S(\ensuremath{\ensuremath{\mathsf{Q}}({\bar{X}},{\bar{f}})})}} : J'R(\ensuremath{{\bar{X}}.{\bar{f}}}) \to S \ensuremath{\mathsf{\tilde{U}}} now give the desired J'-pullback of S\ensuremath{\mathsf{p}} along f, since the square they give—the right-hand square below—is isomorphic to the pullback obtained above.

\begin{gathered}[b] \xymatrix@C=3pc{ SJ(\ensuremath{{\bar{X}}.{\bar{f}}}) \ar[r]^{\alpha_{\ensuremath{{\bar{X}}.{\bar{f}}}}}_{\cong} \ar[d]_{SJ\ensuremath{\ensuremath{\mathsf{p}}_{\bar{f}}}} & J'R(\ensuremath{{\bar{X}}.{\bar{f}}}) \ar[r]^{1}_{\cong} \ar[d]^{J'R\ensuremath{\ensuremath{\mathsf{p}}_{\bar{f}}}} & J'R(\ensuremath{{\bar{X}}.{\bar{f}}}) \ar[rr]^{\ensuremath{{\alpha_{\ensuremath{{\bar{X}}.{\bar{f}}}}^{-1}}\cdot{S(\ensuremath{\ensuremath{\mathsf{Q}}({\bar{X}},{\bar{f}})})}}} \ar[d]^{J' (\ensuremath{{R(\ensuremath{\ensuremath{\mathsf{p}}_{\bar{f}}})}\cdot{i}})} \ar@{}[dr]|<<{\text{\pigpenfont A}} & & S \ensuremath{\mathsf{\tilde{U}}} \ar[d]^{S \ensuremath{\mathsf{p}}} \\ S J \bar{X} \ar[r]^{\alpha_{\bar{X}}}_{\cong} & J' R \bar{X} \ar[r]^{J'i}_{\cong} & J' X \ar[rr]^f & & S \ensuremath{\mathsf{U}} } \\[-\dp\strutbox] \end{gathered} \qedhere
Problem

Problem 4.7

MUZU

Given a square of functors as in Problem 4.5, such that

  • J and J' are fully faithful,

  • S preserves pullbacks,

  • S is full,

  • R is essentially surjective,

  • {\mathcal{C}}' is univalent,

and given a J-relative universe structure on a map \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} in {\mathcal{D}}, to construct a J'-universe structure on S(\ensuremath{\mathsf{p}}) in {\mathcal{D}}'.

Construction

Construction 4.8 (for Problem ?problem:universe.struct.on; problem:universe.struct.on)

WDHU

constr:universe.struct.on Mostly the same as Construction ?.

The only problematic steps are finding (\bar{X},i) and \bar{f} as above, since the hypotheses which provided them there have now been weakened to existence properties.

However, our new hypotheses that {\mathcal{C}}' is univalent and J' fully faithful allow us to apply Lemma 4.3 to see that the goal of a J'-pullback is a proposition; so the existence properties do in fact suffice.

Lemma

Lemma 4.9 (is_universe_transfer)

U660

Suppose given a square of functors as in Problem 4.5, such that

  • J and J' are fully faithful,

  • S preserves pullbacks,

  • S is full,

  • R is essentially surjective.

If \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} in {\mathcal{D}} is a weak J-relative universe in {\mathcal{C}}, then S(\ensuremath{\mathsf{p}}) is a weak J'-relative universe in {\mathcal{D}}'.

Used by Lemma 4.10
Lemma

Lemma 4.10 (isweq_is_universe_transfer)

YGS8

Given functors satisfying the hypotheses of Lemma 4.9, if additionally R is full and S is faithful, then a map \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{\tilde{U}}} \to \ensuremath{\mathsf{U}} in {\mathcal{D}} is a weak J-relative universe if and only if S(\ensuremath{\mathsf{p}}) is a weak J'-relative universe.

Problem

Problem 4.11

SHNS

Given a square of functors as in Problem 4.5, such that

  • J and J' are fully faithful,

  • {\mathcal{D}} and {\mathcal{D}}' are both univalent,

  • S is an equivalence, and

  • R is essentially surjective and full,

to construct an equivalance between weak J-relative universes and weak J'-relative universes.

Construction

Construction 4.12 (for Problem ?problem:weq.wkrelu.transfer; problem:weq.wkrelu.transfer)

8KVH

constr:weq.wkrelu.transfer The equivalence S of univalent categories induces an equivalence between morphisms in {\mathcal{D}} and in {\mathcal{D}}'.

Lemma 4.10 implies that this restricts to an equivalence between weak relative universes as desired.

Definition

Definition 5.1 (rep_map)

8N79

A map \ensuremath{\mathsf{p}} : \ensuremath{\mathsf{Tm}} \to \ensuremath{\mathsf{Ty}} of presheaves on a category {\mathcal{C}} is representable if for each for each \Gamma : {\mathcal{C}} and A : \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, there exists some representation of the fiber of \ensuremath{\mathsf{p}} over A, i.e. some \ensuremath{\mathsf{\pi}}_{A} : \ensuremath{{\Gamma}.{A}} \to \Gamma and \ensuremath{\ensuremath{\mathsf{te}}}_A \in \ensuremath{\ensuremath{\mathsf{Tm}}({\ensuremath{{\Gamma}.{A}}})} satisfying the conditions of Definition 3.1, item ?.

(Note that in [awodey_natural_published], Awodey takes representable map to mean what we call a CwF structure, i.e. to include choices of representations of the fibers; cf. [awodey_natural_published, 1.1, Algebraic character].)

In other words, a representable map of presheaves on {\mathcal{C}} is just like a CwF structure, except that the representations are merely assumed to exist, not included as chosen data.

Lemma

Lemma 5.2 (isweq_from_cwf_to_rep)

I0MH

If {\mathcal{C}} is a univalent category, then the forgetful map from CwF structures to representable maps of presheaves on {\mathcal{C}} is an equivalence.

That is, any representable map of presheaves on {\mathcal{C}} carries a unique choice of representing data.

Problem

Problem 5.3

QJYI

Given a category {\mathcal{C}}, to construct an equivalence between \ensuremath{\mathsf{cwf}}({\mathcal{C}}) and \ensuremath{\mathsf{relu}}(\ensuremath{\mathsf{y}}_{{\mathcal{C}}}).

Construction

Construction 5.4 (for Problem ?problem:equiv_cwf_relu; problem:equiv_cwf_relu)

OF69

construction:equiv_cwf_relu This is a matter of reassociating components, and replacing two quantifications over elements of a presheaf—once over \ensuremath{\ensuremath{\mathsf{Ty}}({\Gamma})}, once over \ensuremath{\ensuremath{\mathsf{Tm}}({\ensuremath{{\Gamma}.{A}}})}—by quantification over the respective isomorphic sets of natural transformations into \ensuremath{\mathsf{Ty}} and \ensuremath{\mathsf{Tm}}.

Problem

Problem 5.5

693Q

Given a category {\mathcal{C}}, to construct an equivalence between \ensuremath{\mathsf{rep}}({\mathcal{C}}) and \ensuremath{\mathsf{relwku}}(\ensuremath{\mathsf{y}}_{{\mathcal{C}}}).

Construction

Construction 5.6 (for Problem ?problem:equiv_rep_relwku; problem:equiv_rep_relwku)

7I6O

construction:equiv_rep_relwku Similar to Construction ?.

Problem

Problem 5.7

88AO

Given a weak equivalence F : {\mathcal{C}} \to {\mathcal{D}}, where {\mathcal{D}} is univalent, to construct a map \ensuremath{\mathsf{cwf}}({\mathcal{C}}) \to \ensuremath{\mathsf{cwf}}({\mathcal{D}}).

Construction

Construction 5.8 (for Problem ?problem:transfer_cwf; problem:transfer_cwf)

UBII

construction:transfer_cwf We construct a map \ensuremath{\mathsf{relu}}(\ensuremath{\mathsf{y}}_{{\mathcal{C}}}) \to \ensuremath{\mathsf{relu}}(\ensuremath{\mathsf{y}}_{{\mathcal{D}}}) as an instance of Construction ? and obtain the desired map by composition with the equivalence to CwF structures of Construction ?. Consider the diagram

\xymatrix@R=3pc@C=4pc{ {\mathcal{C}} \drtwocell<\omit>{\alpha} \ar[r]^-{\ensuremath{\mathsf{y}}_{{\mathcal{C}}}} \ar[d]_{F} & \ensuremath{\ensuremath{\mathsf{PreShv}}({{\mathcal{C}}})} \ar@/_/[d]_{\mathcal{S}} \\ {\mathcal{D}} \ar[r]_-{\ensuremath{\mathsf{y}}_{{\mathcal{D}}}} & \ensuremath{\ensuremath{\mathsf{PreShv}}({{\mathcal{D}}})} \ar@/_/[u]^{\simeq}_{F^{\circ}} }

Here, the functor F^{\circ} given by precomposition with F^{\mathrm{op}} is a weak equivalence between univalent categories, and hence a strong equivalence with inverse \mathcal{S}. The isomorphism \alpha is constructed as follows: Note that fully faithful functors reflect isomorphisms; we apply this for the functor F^{\circ} of precomposition with F^{\mathrm{op}}. It hence suffices to construct a natural isomorphism from \ensuremath{{\ensuremath{\mathsf{y}}_{{\mathcal{C}}}}\cdot{\ensuremath{{\mathcal{S}}\cdot{F^{\circ}}}}} \simeq \ensuremath{\mathsf{y}}_{{\mathcal{C}}} to \ensuremath{{F}\cdot{\ensuremath{{\ensuremath{\mathsf{y}}_{{\mathcal{D}}}}\cdot{F^{\circ}}}}}. But this is an instance of a general isomorphism: indeed, for any functor G : {\mathcal{A}} \to {\mathcal{X}}, we have natural transformation from \ensuremath{\mathsf{y}}_{{\mathcal{A}}} to \ensuremath{{G}\cdot{\ensuremath{{\ensuremath{\mathsf{y}}_{{\mathcal{X}}}}\cdot{G^{\circ}}}}}, and this natural transformation is an isomorphism when G is fully faithful. This ends the construction of the natural isomorphism \alpha. The functor \mathcal{S} preserves pullbacks since it is fully faithful and essentially surjective. The hypotheses of Problem 4.7 are easily checked, hence Construction ? applies.

Problem

Problem 5.9

P4YZ

Given a weak equivalence F : {\mathcal{C}} \to {\mathcal{D}}, to construct an equivalence \ensuremath{\mathsf{rep}}({\mathcal{C}}) \simeq \ensuremath{\mathsf{rep}}({\mathcal{D}}).

Construction

Construction 5.10 (for Problem ?problem:transfer_rep; problem:transfer_rep)

U0AL

construction:transfer_rep A direct instance of Construction ?.

Problem

Problem 5.11

DKN2

For any category {\mathcal{C}}, to construct an equivalence between representable maps on {\mathcal{C}} and CwF structures on \ensuremath{\ensuremath{\mathsf{RC}}({{\mathcal{C}}})}.

Construction

Construction 5.12 (for Problem ?problem:weq_cwf_reprc; problem:weq_cwf_reprc)

KIAZ

onstruction ?, applied to \eta_{{\mathcal{C}}}, gives us an equivalence \ensuremath{\mathsf{rep}}({\mathcal{C}}) \simeq \ensuremath{\mathsf{rep}}(\ensuremath{\ensuremath{\mathsf{RC}}({{\mathcal{C}}})}).

On the other hand, Lemma 5.2 tells us that \ensuremath{\mathsf{cwf}}(\ensuremath{\ensuremath{\mathsf{RC}}({{\mathcal{C}}})}) \simeq \ensuremath{\mathsf{rep}}(\ensuremath{\ensuremath{\mathsf{RC}}({{\mathcal{C}}})}).

Composing the first of these with the inverse of the second yields the desired equivalence.

Source and licence

The text on this page is from arXiv:1705.04310v2 by Benedikt Ahrens, Peter LeFanu Lumsdaine and Vladimir Voevodsky, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/1705/1705.04310.jsonl.