Theorem 9.2.1 (Refined cofinality factorization). Any functor \(f\colon C \to D\) admits a factorization of the form \[ f\colon C \xrightarrow{i} C' \xrightarrow{f'} E \xrightarrow{p} D, \] where
• The functor \(i\) is a fully faithful left (resp. right) adjoint.
• The functor \(f'\) is a localization and remains a localization after base change along an arbitrary functor \(D' \to D\).
• The functor \(p\) is a left (resp. right) fibration.
Proof
We start by factoring \(f\) as \[ C \xrightarrow{i} C \vectimes{f} D \xrightarrow{\pi} D, \] where \(i\) is a fully faithful left (resp. right) adjoint and \(\pi\) is a cocartesian (resp. cartesian) fibration. We may now factor \(\pi\) as \[ C \vectimes{f} D \xrightarrow{f'} \Pi_{\infty}(C \vectimes{f} D/D) \xrightarrow{\Pi_{\infty}(\pi/D)} D. \] We showed in Proposition 8.8.5 that \(\Pi_{\infty}(\pi/D)\) is a left fibration, and we showed in Theorem 8.8.9 that \(f'\) is a localization. Since this construction is compatible with base change along \(D' \to D\) (part (3) of Proposition 8.8.5) we see that in fact any base change of \(f'\) along \(D' \to D\) is still a localization.