- Source: Functor category
In category theory, a branch of mathematics, a functor category
D
C
{\displaystyle D^{C}}
is a category where the objects are the functors
F
:
C
→
D
{\displaystyle F:C\to D}
and the morphisms are natural transformations
η
:
F
→
G
{\displaystyle \eta :F\to G}
between the functors (here,
G
:
C
→
D
{\displaystyle G:C\to D}
is another object in the category). Functor categories are of interest for two main reasons:
many commonly occurring categories are (disguised) functor categories, so any statement proved for general functor categories is widely applicable;
every category embeds in a functor category (via the Yoneda embedding); the functor category often has nicer properties than the original category, allowing certain operations that were not available in the original setting.
Definition
Suppose
C
{\displaystyle C}
is a small category (i.e. the objects and morphisms form a set rather than a proper class) and
D
{\displaystyle D}
is an arbitrary category.
The category of functors from
C
{\displaystyle C}
to
D
{\displaystyle D}
, written as Fun(
C
{\displaystyle C}
,
D
{\displaystyle D}
), Funct(
C
{\displaystyle C}
,
D
{\displaystyle D}
),
[
C
,
D
]
{\displaystyle [C,D]}
, or
D
C
{\displaystyle D^{C}}
, has as objects the covariant functors from
C
{\displaystyle C}
to
D
{\displaystyle D}
,
and as morphisms the natural transformations between such functors. Note that natural transformations can be composed:
if
μ
(
X
)
:
F
(
X
)
→
G
(
X
)
{\displaystyle \mu (X):F(X)\to G(X)}
is a natural transformation from the functor
F
:
C
→
D
{\displaystyle F:C\to D}
to the functor
G
:
C
→
D
{\displaystyle G:C\to D}
, and
η
(
X
)
:
G
(
X
)
→
H
(
X
)
{\displaystyle \eta (X):G(X)\to H(X)}
is a natural transformation from the functor
G
{\displaystyle G}
to the functor
H
{\displaystyle H}
, then the composition
η
(
X
)
μ
(
X
)
:
F
(
X
)
→
H
(
X
)
{\displaystyle \eta (X)\mu (X):F(X)\to H(X)}
defines a natural transformation
from
F
{\displaystyle F}
to
H
{\displaystyle H}
. With this composition of natural transformations (known as vertical composition, see natural transformation),
D
C
{\displaystyle D^{C}}
satisfies the axioms of a category.
In a completely analogous way, one can also consider the category of all contravariant functors from
C
{\displaystyle C}
to
D
{\displaystyle D}
; we write this as Funct(
C
op
,
D
{\displaystyle C^{\text{op}},D}
).
If
C
{\displaystyle C}
and
D
{\displaystyle D}
are both preadditive categories (i.e. their morphism sets are abelian groups and the composition of morphisms is bilinear),
then we can consider the category of all additive functors from
C
{\displaystyle C}
to
D
{\displaystyle D}
, denoted by Add(
C
{\displaystyle C}
,
D
{\displaystyle D}
).
Examples
If
I
{\displaystyle I}
is a small discrete category (i.e. its only morphisms are the identity morphisms), then a functor from
I
{\displaystyle I}
to
C
{\displaystyle C}
essentially consists of a family of objects of
C
{\displaystyle C}
, indexed by
I
{\displaystyle I}
; the functor category
C
I
{\displaystyle C^{I}}
can be identified with the corresponding product category: its elements are families of objects in
C
{\displaystyle C}
and its morphisms are families of morphisms in
C
{\displaystyle C}
.
An arrow category
C
→
{\displaystyle {\mathcal {C}}^{\rightarrow }}
(whose objects are the morphisms of
C
{\displaystyle {\mathcal {C}}}
, and whose morphisms are commuting squares in
C
{\displaystyle {\mathcal {C}}}
) is just
C
2
{\displaystyle {\mathcal {C}}^{\mathbf {2} }}
, where 2 is the category with two objects and their identity morphisms as well as an arrow from one object to the other (but not another arrow back the other way).
A directed graph consists of a set of arrows and a set of vertices, and two functions from the arrow set to the vertex set, specifying each arrow's start and end vertex. The category of all directed graphs is thus nothing but the functor category
Set
C
{\displaystyle {\textbf {Set}}^{C}}
, where
C
{\displaystyle C}
is the category with two objects connected by two parallel morphisms (source and target), and Set denotes the category of sets.
Any group
G
{\displaystyle G}
can be considered as a one-object category in which every morphism is invertible. The category of all
G
{\displaystyle G}
-sets is the same as the functor category Set
G
{\displaystyle G}
. Natural transformations are
G
{\displaystyle G}
-maps.
Similar to the previous example, the category of K-linear representations of the group
G
{\displaystyle G}
is the same as the functor category VectK
G
{\displaystyle G}
(where VectK denotes the category of all vector spaces over the field K).
Any ring
R
{\displaystyle R}
can be considered as a one-object preadditive category; the category of left modules over
R
{\displaystyle R}
is the same as the additive functor category Add(
R
{\displaystyle R}
,
Ab
{\displaystyle {\textbf {Ab}}}
) (where
Ab
{\displaystyle {\textbf {Ab}}}
denotes the category of abelian groups), and the category of right
R
{\displaystyle R}
-modules is Add(
R
op
{\displaystyle R^{\text{op}}}
,
Ab
{\displaystyle {\textbf {Ab}}}
). Because of this example, for any preadditive category
C
{\displaystyle C}
, the category Add(
C
{\displaystyle C}
,
Ab
{\displaystyle {\textbf {Ab}}}
) is sometimes called the "category of left modules over
C
{\displaystyle C}
" and Add(
C
op
{\displaystyle C^{\text{op}}}
,
Ab
{\displaystyle {\textbf {Ab}}}
) is the "category of right modules over
C
{\displaystyle C}
".
The category of presheaves on a topological space
X
{\displaystyle X}
is a functor category: we turn the topological space into a category
C
{\displaystyle C}
having the open sets in
X
{\displaystyle X}
as objects and a single morphism from
U
{\displaystyle U}
to
V
{\displaystyle V}
if and only if
U
{\displaystyle U}
is contained in
V
{\displaystyle V}
. The category of presheaves of sets (abelian groups, rings) on
X
{\displaystyle X}
is then the same as the category of contravariant functors from
C
{\displaystyle C}
to
Set
{\displaystyle {\textbf {Set}}}
(or
Ab
{\displaystyle {\textbf {Ab}}}
or
Ring
{\displaystyle {\textbf {Ring}}}
). Because of this example, the category Funct(
C
op
{\displaystyle C^{\text{op}}}
,
Set
{\displaystyle {\textbf {Set}}}
) is sometimes called the "category of presheaves of sets on
C
{\displaystyle C}
" even for general categories
C
{\displaystyle C}
not arising from a topological space. To define sheaves on a general category
C
{\displaystyle C}
, one needs more structure: a Grothendieck topology on
C
{\displaystyle C}
. (Some authors refer to categories that are equivalent to
Set
C
{\displaystyle {\textbf {Set}}^{C}}
as presheaf categories.)
Facts
Most constructions that can be carried out in
D
{\displaystyle D}
can also be carried out in
D
C
{\displaystyle D^{C}}
by performing them "componentwise", separately for
each object in
C
{\displaystyle C}
. For instance, if any two objects
X
{\displaystyle X}
and
Y
{\displaystyle Y}
in
D
{\displaystyle D}
have a product
X
×
Y
{\displaystyle X\times Y}
,
then any two functors
F
{\displaystyle F}
and
G
{\displaystyle G}
in
D
C
{\displaystyle D^{C}}
have a product
F
×
G
{\displaystyle F\times G}
, defined by
(
F
×
G
)
(
c
)
=
F
(
c
)
×
G
(
c
)
{\displaystyle (F\times G)(c)=F(c)\times G(c)}
for every object
c
{\displaystyle c}
in
C
{\displaystyle C}
. Similarly, if
η
c
:
F
(
c
)
→
G
(
c
)
{\displaystyle \eta _{c}:F(c)\to G(c)}
is a natural transformation and each
η
c
{\displaystyle \eta _{c}}
has a kernel
K
c
{\displaystyle K_{c}}
in the category
D
{\displaystyle D}
,
then the kernel of
η
{\displaystyle \eta }
in the functor category
D
C
{\displaystyle D^{C}}
is the functor
K
{\displaystyle K}
with
K
(
c
)
=
K
c
{\displaystyle K(c)=K_{c}}
for every object
c
{\displaystyle c}
in
C
{\displaystyle C}
.
As a consequence we have the general rule of thumb that the functor category
D
C
{\displaystyle D^{C}}
shares most of the "nice" properties of
D
{\displaystyle D}
:
if
D
{\displaystyle D}
is complete (or cocomplete), then so is
D
C
{\displaystyle D^{C}}
;
if
D
{\displaystyle D}
is an abelian category, then so is
D
C
{\displaystyle D^{C}}
;
We also have:
if
C
{\displaystyle C}
is any small category, then the category
Set
C
{\displaystyle {\textbf {Set}}^{C}}
of presheaves is a topos.
So from the above examples, we can conclude right away that the categories of directed graphs,
G
{\displaystyle G}
-sets and presheaves on a topological space are all complete and cocomplete topoi, and that the categories of representations of
G
{\displaystyle G}
, modules over the ring
R
{\displaystyle R}
,
and presheaves of abelian groups on a topological space
X
{\displaystyle X}
are all abelian, complete and cocomplete.
The embedding of the category
C
{\displaystyle C}
in a functor category that was mentioned earlier uses the Yoneda lemma as its main tool. For every object
X
{\displaystyle X}
of
C
{\displaystyle C}
,
let
Hom
(
−
,
X
)
{\displaystyle {\text{Hom}}(-,X)}
be the contravariant representable functor from
C
{\displaystyle C}
to
Set
{\displaystyle {\textbf {Set}}}
. The Yoneda lemma states that the assignment
X
↦
Hom
(
−
,
X
)
{\displaystyle X\mapsto \operatorname {Hom} (-,X)}
is a full embedding of the category
C
{\displaystyle C}
into the category Funct(
C
op
{\displaystyle C^{\text{op}}}
,
Set
{\displaystyle {\textbf {Set}}}
). So
C
{\displaystyle C}
naturally sits inside a topos.
The same can be carried out for any preadditive category
C
{\displaystyle C}
: Yoneda then yields a full embedding of
C
{\displaystyle C}
into the functor category Add(
C
op
{\displaystyle C^{\text{op}}}
,
Ab
{\displaystyle {\textbf {Ab}}}
).
So
C
{\displaystyle C}
naturally sits inside an abelian category.
The intuition mentioned above (that constructions that can be carried out in
D
{\displaystyle D}
can be "lifted" to
D
C
{\displaystyle D^{C}}
) can be made precise in several ways; the most succinct formulation uses the language of adjoint functors.
Every functor
F
:
D
→
E
{\displaystyle F:D\to E}
induces a functor
F
C
:
D
C
→
E
C
{\displaystyle F^{C}:D^{C}\to E^{C}}
(by composition with
F
{\displaystyle F}
). If
F
{\displaystyle F}
and
G
{\displaystyle G}
is a pair of adjoint functors, then
F
C
{\displaystyle F^{C}}
and
G
C
{\displaystyle G^{C}}
is also a pair of adjoint functors.
The functor category
D
C
{\displaystyle D^{C}}
has all the formal properties of an exponential object; in particular the functors from
E
×
C
→
D
{\displaystyle E\times C\to D}
stand in a natural one-to-one correspondence with the functors from
E
{\displaystyle E}
to
D
C
{\displaystyle D^{C}}
. The category
Cat
{\displaystyle {\textbf {Cat}}}
of all small categories with functors as morphisms
is therefore a cartesian closed category.
See also
Diagram (category theory)
References
Kata Kunci Pencarian:
- Fungtor
- Daftar istilah teori kategori
- Kategori gelanggang
- Kesetaraan Morita
- Produk (teori kategori)
- Sifat universal
- Functor category
- Functor
- Limit (category theory)
- Adjoint functors
- Preadditive category
- Natural transformation
- Category theory
- Hom functor
- Yoneda lemma
- Enriched category