In the tree of ModernMath: ModernMath › 18-XX Category theory; homological algebra › 18Axx General theory of categories and functors › 18A05 Definitions and generalizations in theory of categories , the subject of its primary MSC2020 code; its secondary code 18A20 Epimorphisms, monomorphisms, special classes of morphisms, null morphisms is a cross-reference. Show it in the tree and the cross-reference graph .
A category consists of objects and of morphisms between them, with an
associative composition that has identities. Groups and homomorphisms,
topological spaces and continuous maps, modules over a ring and linear maps
form categories, and so do a single group, a partially ordered set or the
matrices over a ring, whose morphisms are not maps at all. Reversing all the
morphisms of a category gives its opposite category, so that every notion and
every theorem of category theory has a dual.
A category C \mathcal{C} C consists of a collection of objects , a
collection of morphisms , each with a specified domain and
codomain (one writes f : X → Y f\colon X\to Y f : X → Y for a morphism with domain X X X
and codomain Y Y Y ), an identity morphism 1 X : X → X 1_X\colon X\to X 1 X : X → X for each
object X X X , and for each pair of morphisms f : X → Y f\colon X\to Y f : X → Y and
g : Y → Z g\colon Y\to Z g : Y → Z a composite g f = g ∘ f : X → Z gf=g\circ f\colon X\to Z g f = g ∘ f : X → Z , such that
1 Y f = f = f 1 X 1_Yf=f=f1_X 1 Y f = f = f 1 X for every f : X → Y f\colon X\to Y f : X → Y and h ( g f ) = ( h g ) f h(gf)=(hg)f h ( g f ) = ( h g ) f whenever the
composites are defined (Definition 1.1.1 of Riehl (2016) ). The collection of
morphisms from X X X to Y Y Y is written C ( X , Y ) \mathcal{C}(X,Y) C ( X , Y ) or H o m ( X , Y ) \mathrm{Hom}(X,Y) Hom ( X , Y )
((1.1.8) of Riehl (2016) ). A category is small if its morphisms form a
set, and locally small if each C ( X , Y ) \mathcal{C}(X,Y) C ( X , Y ) is a set
(Definitions 1.1.6 and 1.1.7 of Riehl (2016) ). A subcategory
D \mathcal{D} D of C \mathcal{C} C is given by a subcollection of the objects and
of the morphisms that contains the domain, the codomain and the identities of
its objects and morphisms and is closed under composition; it is full
if D ( X , Y ) = C ( X , Y ) \mathcal{D}(X,Y)=\mathcal{C}(X,Y) D ( X , Y ) = C ( X , Y ) for all objects X , Y X,Y X , Y of D \mathcal{D} D
(p. 8 and Remark 1.5.8 of Riehl (2016) ).
The sets and the functions between them form a category
S e t \mathbf{Set} Set ; so do topological spaces and continuous maps
(T o p \mathbf{Top} Top ), groups and homomorphisms (G r p \mathbf{Grp} Grp ), unital rings
and unital homomorphisms, and the left modules over a ring R R R and their
homomorphisms (R - M o d R\text{-}\mathbf{Mod} R - Mod , written A b \mathbf{Ab} Ab when
R = Z R=\mathbb{Z} R = Z ) (Example 1.1.3 of Riehl (2016) ). None of these is small;
all are locally small (p. 7 of Riehl (2016) ).
For a unital ring R R R there is a category whose objects are the
positive integers and whose morphisms n → m n\to m n → m are the m × n m\times n m × n matrices
over R R R , composed by matrix multiplication. A monoid, in particular a
group G G G , is a category B G BG BG with one object whose morphisms are the
elements of G G G . A preordered set ( P , ≤ ) (P,\leq) ( P , ≤ ) is a category with exactly
one morphism x → y x\to y x → y when x ≤ y x\leq y x ≤ y and none otherwise
(Example 1.1.4 of Riehl (2016) ).
The small categories and the functors between them
(Definition 62.1 ) form a category C a t \mathbf{Cat} Cat
(p. 20 of Riehl (2016) ).
The objects of S e t \mathbf{Set} Set do not form a set, which is why
Definition 61.1 speaks of collections. Eilenberg and Mac Lane
regarded the concept of a category as “essentially an auxiliary one”, needed
only so that every functor has a definite class as domain and range, and left
the reader free to choose a foundation (§6, pp. 246–247 of Eilenberg & MacLane (1945) ).
A common choice is to work with Grothendieck universes, as in
(Exposé I, §§0–1 of Artin et al. (1972) ); Riehl takes the existence of a sequence of
inaccessible cardinals as one way of doing so
(Remark 1.1.5 and footnote 13 of Riehl (2016) ). In the entries on category theory, the size conditions that matter
are stated explicitly: smallness of the categories that index diagrams, and
local smallness of the categories in which representable functors are formed.
The opposite C o p \mathcal{C}^{\mathrm{op}} C op of a category C \mathcal{C} C
has the same objects and a morphism f o p : Y → X f^{\mathrm{op}}\colon Y\to X f op : Y → X for each
morphism f : X → Y f\colon X\to Y f : X → Y of C \mathcal{C} C , with g o p f o p = ( f g ) o p g^{\mathrm{op}}f^{\mathrm{op}}
=(fg)^{\mathrm{op}} g op f op = ( f g ) op (Definition 1.2.1 of Riehl (2016) ). The axioms of a
category are self-dual, so every theorem about all categories, applied to the
opposite categories, gives a dual theorem, in which the direction of
every morphism is reversed (pp. 9–10 of Riehl (2016) ). For instance, the
opposite of a group, viewed as a category B G BG BG , is the category B ( G o p ) B(G^{\mathrm{op}}) B ( G op )
of the opposite group (Example 1.2.2 of Riehl (2016) ).
A morphism f : X → Y f\colon X\to Y f : X → Y is an isomorphism if there is a morphism
g : Y → X g\colon Y\to X g : Y → X with g f = 1 X gf=1_X g f = 1 X and f g = 1 Y fg=1_Y f g = 1 Y ; then X X X and Y Y Y are
isomorphic , X ≅ Y X\cong Y X ≅ Y . An isomorphism from an object to itself is an
automorphism , and a groupoid is a category in which every
morphism is an isomorphism (Definitions 1.1.9 and 1.1.11 of Riehl (2016) ).
The morphism f f f is a monomorphism (or is monic ) if f h = f k fh=fk f h = f k
implies h = k h=k h = k for all morphisms h , k : W → X h,k\colon W\to X h , k : W → X , and an epimorphism
(or epic ) if h f = k f hf=kf h f = k f implies h = k h=k h = k for all h , k : Y → Z h,k\colon Y\to Z h , k : Y → Z ; these
notions are dual to each other (Definition 1.2.7 of Riehl (2016) ). If
r s = 1 X rs=1_X rs = 1 X for morphisms s : X → Y s\colon X\to Y s : X → Y and r : Y → X r\colon Y\to X r : Y → X , then s s s is a
split monomorphism (a section of r r r ) and r r r is a split
epimorphism (a retraction of s s s ) (Example 1.2.9 of Riehl (2016) ).
In any category:
a morphism f : X → Y f\colon X\to Y f : X → Y is an isomorphism if and only if, for every
object W W W , composition with f f f is a bijection
C ( W , X ) → C ( W , Y ) \mathcal{C}(W,X)\to\mathcal{C}(W,Y) C ( W , X ) → C ( W , Y ) , if and only if, for every object
Z Z Z , composition with f f f is a bijection C ( Y , Z ) → C ( X , Z ) \mathcal{C}(Y,Z)\to\mathcal{C}(X,Z) C ( Y , Z ) → C ( X , Z )
(Lemma 1.2.3 of Riehl (2016) );
split monomorphisms are monic and split epimorphisms are epic; in
particular every isomorphism is monic and epic
(Examples 1.2.9 and 1.2.10 of Riehl (2016) );
composites of monomorphisms are monomorphisms, and if g f gf g f is monic
then f f f is monic; dually, composites of epimorphisms are epimorphisms, and
if g f gf g f is epic then g g g is epic (Lemma 1.2.11 of Riehl (2016) ).
For (1), if f f f has an inverse g g g then composition with g g g inverts
composition with f f f . Conversely, if f ∗ : C ( Y , X ) → C ( Y , Y ) f_*\colon\mathcal{C}(Y,X)\to\mathcal{C}(Y,Y) f ∗ : C ( Y , X ) → C ( Y , Y )
is bijective there is g : Y → X g\colon Y\to X g : Y → X with f g = 1 Y fg=1_Y f g = 1 Y ; then f ( g f ) = f = f 1 X f(gf)=f=f1_X f ( g f ) = f = f 1 X , and
injectivity of f ∗ : C ( X , X ) → C ( X , Y ) f_*\colon\mathcal{C}(X,X)\to\mathcal{C}(X,Y) f ∗ : C ( X , X ) → C ( X , Y ) gives g f = 1 X gf=1_X g f = 1 X .
The second equivalence is the first one in C o p \mathcal{C}^{\mathrm{op}} C op
(proof of Lemma 1.2.3 of Riehl (2016) ). For (2), if r s = 1 X rs=1_X rs = 1 X and s h = s k sh=sk s h = s k , then
h = r s h = r s k = k h=rsh=rsk=k h = rs h = rs k = k , and dually. For (3), if f f f and g g g are monic and g f h = g f k gfh=gfk g f h = g f k ,
then f h = f k fh=fk f h = f k and h = k h=k h = k ; if g f gf g f is monic and f h = f k fh=fk f h = f k , then g f h = g f k gfh=gfk g f h = g f k and
h = k h=k h = k . The statements about epimorphisms are dual.
In S e t \mathbf{Set} Set the monomorphisms are the injections, the epimorphisms are
the surjections and the isomorphisms are the bijections
(Examples 1.1.10 and 1.2.8 of Riehl (2016) ). A morphism that is monic and epic
need not be an isomorphism: the inclusion Z → Q \mathbb{Z}\to\mathbb{Q} Z → Q is monic
and epic in the category of unital rings, but there is no ring homomorphism
Q → Z \mathbb{Q}\to\mathbb{Z} Q → Z (Example 1.2.10 of Riehl (2016) ). In the category of
topological spaces the isomorphisms are the homeomorphisms, which is more than
being a continuous bijection (Example 1.1.10 of Riehl (2016) ). A similar
example among topological groups, the inclusion of the discrete group
Q \mathbb{Q} Q in R \mathbb{R} R , is in Example 107.2 .
An object I I I is initial if for every object X X X there is exactly one
morphism I → X I\to X I → X , and terminal if for every object X X X there is
exactly one morphism X → I X\to I X → I (Definition 1.6.14 of Riehl (2016) ). A
zero object is an object that is both initial and terminal; in a
category with a zero object 0, a morphism is a zero morphism if it
factors through 0, and there is exactly one zero morphism 0 : X → Y 0\colon X\to Y 0 : X → Y
between any two objects (Definitions 1.1.1 and 1.1.2 and
Proposition 1.1.3 of Borceux (1994) ).
The empty set is initial and a one-point set is terminal in S e t \mathbf{Set} Set
and in T o p \mathbf{Top} Top ; the trivial group and the zero module are zero objects
of G r p \mathbf{Grp} Grp and of R - M o d R\text{-}\mathbf{Mod} R - Mod ; Z \mathbb{Z} Z is initial and
the zero ring is terminal among unital rings; and the category of fields has
neither an initial nor a terminal object, since there are no homomorphisms
between fields of different characteristic (Example 1.6.15 of Riehl (2016) ).
Any two initial objects, and any two terminal objects, are isomorphic by a
unique isomorphism (Corollary 65.6 ).
Source of this page: myst/18-category-theory/01-categories.md (history , edit ) and latex/entries/18-category-theory/01-categories.tex (history , edit ). To propose a change, see how to contribute .
Riehl, E. (2016). Category theory in context . Dover Publications. Eilenberg, S., & MacLane, S. (1945). General theory of natural equivalences. Transactions of the American Mathematical Society , 58 , 231–294. 10.1090/S0002-9947-1945-0013131-6 Artin, M., Grothendieck, A., & Verdier, J.-L. (Eds.). (1972). Théorie des topos et cohomologie étale des schémas. Tome 1: Théorie des topos (SGA 4) (Vol. 269). Springer-Verlag. 10.1007/BFb0081551 Borceux, F. (1994). Handbook of categorical algebra. 2: Categories and structures (Vol. 51). Cambridge University Press. 10.1017/CBO9780511525865