Construction 1.3.7. The formation of products and coproducts of \(\infty \)-categories is functorial: given two functors \(f\colon C \to C'\) and \(g\colon D \to D'\), we obtain new functors \begin {align*} f \times g \; &:= \; (f \circ \pr _{C}, g \circ \pr _{D}) \colon \; C \times D \to C' \times D' \\ f \sqcup g \; &:= \; \lra {\incl _{C'} \circ f, \incl _{D'} \circ g} \; \colon C \sqcup D \to C' \sqcup D'. \end {align*}

We leave it to the reader to verify 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), \\ \id _{C} \sqcup \id _{D} = \id _{C \sqcup D} &\quadtext { and } (f' \sqcup g') \circ (f \sqcup g) = (f' \circ f) \sqcup (g' \circ g) \end {align*}

for functors \(f\colon C \to C'\), \(f'\colon C' \to C''\), \(g\colon D \to D'\) and \(g'\colon D' \to D''\).