Definition 22.3.5 (Relative slice category). For a functor \(F\colon C \to D\) and an object \(d\) of \(D\), we define the relative slice categories \(C_{/d}\) and \(C_{d/}\) via the following two pullback squares:

Commutative square with maps C /d to D /d, C to D labeled F, C /d to C labeled s, D /d to D labeled s.
Commutative square with maps C d/ to D d/, C to D labeled F, C d/ to C labeled t, D d/ to D labeled t.

Objects of \(C_{/d}\) consist of pairs \((y,f\colon F(y) \to d)\), and objects of \(C_{d/}\) consist of pairs \((y,f\colon d\to F(y))\).