Exercise 1.10.1. Show that the product of categories is associative: for categories \(C\), \(D\) and \(E\) there is a preferred equivalence \(C \times (D \times E) \iso (C \times D) \times E\).

Exercise 1.10.2. Show that the coproduct of categories is associative, commutative and unital: for categories \(C\), \(D\) and \(E\) there are preferred equivalences \[ (C \sqcup D) \sqcup E \iso C \sqcup (D \sqcup E), \qquad C \sqcup D \iso D \sqcup C, \qquad \emptyset \sqcup C \iso C \iso C \sqcup \emptyset. \]

Exercise 1.10.3. Given functors \(f\colon C \to C'\), \(f'\colon C' \to C''\), \(g\colon D \to D'\) and \(g'\colon D' \to D''\), show that there are identifications \begin{align*} \id_{C} \times \id_{D} = \id_{C \times D} &\quadtext{ and } (f' \times g') \circ (f \times g) = (f' \circ f) \times (g' \circ g). \end{align*}

Exercise 1.10.4. Show that the fiber product of categories is commutative, associative and unital: for functors \(C\to E\), \(D \to E\) and \(B \to E\), there are preferred equivalences \[ C \times_{E} D \iso D \times_{E} C, \qquad B \times_{E} (C \times_{E} D) \iso (B \times_{E} C) \times_{E} D, \qquad C \times_{E} E \iso C. \]

Exercise 1.10.5. Consider categories \(C\) and \(D\), and let \(p_C\colon C \to *\) and \(p_D\colon D \to *\) be their functors to the terminal category. Show that the functor \((\pr_1,\pr_2)\colon C \times_* D \to C \times D\) is an equivalence.

Exercise 1.10.6. Prove that the functors \[ g \circ -\colon \Fun(C,D) \to \Fun(C,D') \qquadtext{ and } - \circ f\colon \Fun(C,D) \to \Fun(C',D) \] constructed in Construction 1.7.7 respect identity functors and composition of functors: \begin{align*} (\id_D \circ -) = \id_{\Fun(C,D)}, \qquad \qquad g' \circ (g \circ -) = (g' \circ g) \circ -\\ (- \circ \id_C) = \id_{\Fun(C,D)}, \qquad \qquad (- \circ f) \circ f' = - \circ (f \circ f'). \end{align*}

Exercise 1.10.7. Show that also the operation of currying is functorial in \(E\): given functors \(f\colon E \times C \to D\) and \(h\colon E' \to E\), there is a preferred identification between the currying of the functor \(E' \times C \xrightarrow{h \times \id_C} E \times C \xrightarrow{f} D\) and the composite \(E' \xrightarrow{h} E \xrightarrow{f_c} \Fun(C,D)\).

Exercise 1.10.8. Verify that the uncurrying equivalences in the proof of Lemma 1.7.11 respect the commutativity identifications.

Exercise 1.10.9. Let \(f\colon C \to D\) and \(g\colon D \to E\) be two embeddings of categories. Show that the composite \(gf\colon C \to E\) is also an embedding.

Exercise 1.10.10. Consider a pullback square Commutative diagram; see the PDF for its LaTeX source of categories and assume that \(v\) is an embedding. Show that also \(u\) is an embedding.