Category :: Definition
A category ๐ consists of 3 components:
a set of objects
Obj(๐)a set of arrows
Arr(๐)a set of axioms
Axioms (structural conditions):
Identity
All objects must have an identity arrow.
each object A in category C must have an identity arrow, 1แด
for all objects A there exists an identity morphism 1แด such that for all morphisms f : A โ B we have f โฆ 1แด = f = 1ส โฆ f
โX. X โ Obj(๐). f โฆ 1แด = f = 1ส โฆ f
Morphisms are closed under composition: if there is a morphism
f : A โ Band a morphismg : B โ C, then there must be a morphism obtained by the composition,g โฆ f : A โ C.Composition is associative:
f โฆ (g โฆ h) = (f โฆ g) โฆ h
Common notation
generic category : ๐ ๐
concrete category : ๐ฆ๐ฒ๐ ๐๐ฟ๐ฝ ๐๐ฎ๐๐ธ
generic objects : A B C
generic arrows : f g h
generic functors : F G
an arrow from A to B:
Arr(A, B),F : A -> Bidentity arrow (object-subscripted):
idแด1แดid๊ฐโแตฆโid๊ฐแดall object in a category C:
โX. X โ Obj(C)all arrows in a category C:
โf. f โ Arr(C)Functor
F,๐,Gf โฆ 1แด = ff โฆ 1แด = f = 1ส โฆ fโฆ =
Definition 2
A category C is given by
a collection
Cโof objectsa collection
Cโof arrowswhich have the following structure:
each arrow has an object as source and target,
f: A -> Bidentity: each object has identity arrow,
1โorIโtransitivity axiom: if there is an arrow
a -> band an arrowb -> cthen there must be an arrowa -> c
Definition 3
A category C is an algebraic structure consisting of a class of objects (denoted by A, B, C, etc.), and a class of arrows (denoted by f, g, h, etc.), together with three total and one partial operation.
The first two total operations are called target and source; both assign an object to an arrow. We write f : A <- B (pronounced "f has type A from B") to indicate that the target of the arrow f is A and the source is B.
The third total operation takes an object A to an arrow idแด : A <- A, called the identity arrow on A.
The partial operation is called composition and takes two arrows to another one. The composition f โ g (read "f after g") is defined iff f : A <- B and g : B <- C for some objects A, B, C, in which case f โ g : A <- C. In other words, if the source of f is the target of g, then f โ g is an arrow whose target is the target of f and whose source is the source of g.
Composition is required to be associative and to have identity arrows as units:
โfgh. (f: A <- B) โง (g: B <- C) โง (h: C <- D) . f โ (g โ h) = (f โ g) โ h = f โ g โ h
โf. f: A <- B . idแด โ f = f = f โ idส
Definition 4
A category ๐ consists of:
objects, โA โ
Obj(๐)arrows, โf โ
Arr(๐)
An arrow f from an object A to B is denoted f : A -> B and
the source object (domain) :
dom(f) = Athe target object (codomain):
cod(f) = BFor each object ๐, an identity arrow id๐ โถ ๐ โ ๐
For each pair of arrows ๐ โถ ๐ โ ๐ and ๐ โถ ๐ โ ๐, a composite arrow ๐ โ ๐ โถ ๐ โ ๐. That is, for each pair of arrows ๐ and ๐ with cod(๐) = dom(๐), a composite arrow ๐ โ ๐ โถ dom(๐) โ cod(๐)
Last updated
Was this helpful?