The slice category or over category of a category over an object has
The slice category is a special case of a comma category.
There is a forgetful functor which maps an object to its domain and a morphism (from to such that ) to the morphism .
The dual notion is an under category.
If is a poset and , then the slice category is the down set of elements with .
If is a terminal object in , then is isomorphic to .
The assignment of overcategories to objects extends to a functor
Under the Grothendieck construction this functor corresponds the the codomain fibration
from the arrow category of .
Let be a category, an object of and let be the over category of over . Write for the category of presheaves on and write for the over category of presheaves on over the presheaf , where is the Yoneda embedding.
The functor takes to the presheaf which is equipped with the natural transformation with component map .
A weak inverse of is given by the functor
which sends to given by
where is the pullback
Suppose the presheaf does not actually depend on the morphsims to , i.e. suppose that it factors through the forgetful functor from the over category to :
Then and hence with respect to the closed monoidal structure on presheaves.
See also functors and comma categories.
For the analog statement in (∞,1)-category theory see
at (∞,1)-category of (∞,1)-presheaves.
The notion of over category applicable to (∞,1)-categories is discussed at over quasi-category.
Similarly, there is a notion of model structure on an over category.