\ie\cf
\newcommand{\eqdef}{\mathbin{\stackrel{\rm def}{=}}}  \newcommand{\R} % real numbers  \newcommand{\N}} % natural numbers  \newcommand{\Z} % integers  \newcommand{\F} % a field  \newcommand{\Q} % the rationals  \newcommand{\C}{\mathbb{C}} % the complexes  \newcommand{\poly}}  \newcommand{\polylog}}  \newcommand{\loglog}}}  \newcommand{\zo}{\{0,1\}}  \newcommand{\suchthat}  \newcommand{\pr}[1]{\Pr\left[#1\right]}  \newcommand{\deffont}{\em}  \newcommand{\getsr}{\mathbin{\stackrel{\mbox{\tiny R}}{\gets}}}  \newcommand{\Exp}{\mathop{\mathrm E}\displaylimits} % expectation  \newcommand{\Var}{\mathop{\mathrm Var}\displaylimits} % variance  \newcommand{\xor}{\oplus}  \newcommand{\GF}{\mathrm{GF}}  \newcommand{\eps}{\varepsilon}  \notag
\no
Next |
| Previous

Examples of Basic Categories and Tools

100%

Examples of Categories

Important Categorical Tools

A covariant functor from \(\mathfrak A\to\mathfrak B\) is a map \(F:\obj(\mathfrak A)\to\obj(\mathfrak B)\) such that for any \(m\in\Mor(X,Y)\) (\(X,Y\in\mathfrak A\)), \(F(m)\in\Mor(F(X),F(Y))\) is defined. Moreover, \(F(\id_A)=\id_{F(A)}\) for all \(A\in\mathfrak A\), and for any \(h=f\circ g\), \(F(h)=F(f)\circ F(g)\).

A contravariant functor is identical to a covariant functor, but \(F(m)\in\Mor(F(Y),F(X))\), and \(F(h)=F(g)\circ F(f)\).

Vakil's book includes plenty of intuitive examples. From this point on, I'll refer to covariant functors when I say "functor", unless otherwise specified.

In some sense, functors are the "morphisms" of categories. So it's reasonable to ask, are there functors of functors? Let \(f,g:\mathfrak A\to\mathfrak B\) be covariant functors. \(H:f\to g\) is a natural transformation if it maps each \(A\in\mathfrak A\) to a morphism \(m_A:f(A)\to g(A)\), and for each \(r\in\Mor(A,B)\in\mathfrak A\), the diagram below holds.

Natural transformations can also be defined for contravariant functors, with some of the arrows flipped.

Similar to morphisms, we say that two categories \(\mathfrak A,\mathfrak B\) are isomorphic (although to distinguish this from other isomorphisms, we call these equivalent) if there exists a functor \(F:\mathfrak A\to\mathfrak B\) which is an isomorphism. More simply put, there exists \(G:\mathfrak B\to\mathfrak A\) with \(F\circ G\) and \(G\circ F\) isomorphic to the identity functors \(\id_{\mathfrak A},\id_{\mathfrak B}\).

A beautiful result is that a functor \(F:\mathfrak A\to\mathfrak B\) is an isomorphism if it is fully faithful, i.e., for all \(A,B\in\mathfrak A\), \(F:\Mor(A,B) o\Mor(F(A),F(B))\) is a bijection, and if it is essentially surjective, i.e., for all \(C\in\mathfrak B\), there exists \(A\in\mathfrak A\) and an isomorphism \(g\in\Mor(F(A),C)\).

For an example of a contravariant functor, let \(A\in\mathfrak A\) be an object of a category. Thus, there is a contravariant functor \(h_A:\mathfrak A\to\textbf{Set}\) given by \(h_A(B)=\Mor(B,A)\), and for any \(f\in\Mor(B,C)\), \(h_A(f):\Mor(C,A)\to\Mor(B,A)\) is defined as \(h_A(f)(g)=g\circ f\). This functor is called the functor of points. We often write the functor of points as \(\Mor(-,A)\) to represent the fact that we map an object \(B\to\Mor(B,A)\). Likewise, we can talk about the covariant functor \(\Mor(A,-)\) which sends \(B\) to \(\Mor(A,B)\).

Top