Lemma 4.2.2. A functor \(f\colon A \to B\) is a left fibration if and only if the commutative square
is a pullback. A dual characterization for right fibrations is obtained by replacing \(\vec{\ev}^f_0\) by \(\vec{\ev}^f_1\) and \(\ev_0\) by \(\ev_1\).
Proof
This is immediate from the fact that the directed evaluation map \(\vec{\ev}^f_0\) is defined as the unique dashed map filling the following diagram:
The proof for right fibrations is dual.