Notation 7.6.2.15 (Relative Diagonals). Let $\operatorname{\mathcal{C}}$ be an $\infty $-category and let $f: Y \rightarrow X$ be a morphism in $\operatorname{\mathcal{C}}$. Suppose that there exists a pullback square
in the $\infty $-category $\operatorname{\mathcal{C}}$. Let us abuse notation by identifying $Y$ with an object of the slice $\infty $-category $\operatorname{\mathcal{C}}_{/X}$, so that $Y \times _{X} Y$ can be viewed as a product of $Y$ with itself in $\operatorname{\mathcal{C}}_{/X}$ (Proposition 7.6.2.14). Applying the construction of Notation 7.6.1.13, we obtain a morphism $\delta _{Y/X}: Y \rightarrow Y \times _{X} Y$, which we will refer to as the relative diagonal of $f$. It is characterized (up to homotopy) by the requirement that ( 7.64) can be extended to a commutative diagram
where the outer square is the commutative diagram given by the composition