Definition
Given a category and an object in , the slice category (also called the over category) has:
- objects: pairs where is an object of and is a morphism in
- morphisms: a morphism from to is a morphism in such that the following triangle commutes:
or equivalently:
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
X \arrow[rr, "h"] \arrow[dr, "f"'] & & Y \arrow[dl, "g"] \\
& A &
\end{tikzcd}
\end{document}Composition and identities are inherited from .
Dual Notion
The coslice category (or under category) is defined dually, with objects where .
Properties
- The slice category has a forgetful functor to that sends to
- If has pullbacks, then has all limits that has
- The terminal object in is
- Slice categories play a central role in the theory of fibrations and toposes
Examples
- In , the slice category has objects that are functions , which can be viewed as -indexed families of sets
- In a poset viewed as a category, consists of all elements
- The slice category consists of functors with codomain