Lemma 8.4.12 (Universality of coproducts). Let \(S\) and \(T\) be categories. A cocartesian fibration \(p\colon C \to S \sqcup T\) is small if and only if its pullbacks \(p_S\colon C_S \to S\) and \(p_T\colon C_T \to T\) are small.
Proof
The βonly ifβ-direction is clear since \(U\)-small cocartesian fibrations are closed under base change. Conversely, assume that the cocartesian fibrations \(p_S\colon C_S \to S\) and \(p_T\colon C_T \to T\) are represented by functors \(F_S\colon S \to \Cat\) and \(F_T\colon T \to \Cat\), respectively. We claim that \(p\) is represented by the functor \(F := \lra{F_S,F_T}\colon S \sqcup T \to \Cat\). Indeed, if \(D \to S \sqcup T\) denotes the small cocartesian fibration classified by \(F\), then \(D\) pulls back to \(C_S \to S\) and \(C_T \to T\). By Axiom B.5', we therefore have equivalences \(D \simeq C_S \sqcup C_T \simeq C\) over \(S\sqcup T\).