Definition 4.7.10. Let us consider a commutative square of categories of the form below.
We assume that both \(p\) and \(q\) are cocartesian (cartesian) fibrations. We say that \(f\)
is a cocartesian functor over \(u\) (a cartesian functor over \(u\))
if the induced functor \(C\to S\times_TD\) is a cocartesian functor over \(S\)
(a cartesian functor over \(S\), respectively).