profile pic
⌘ '
raccourcis clavier

depends on two sorts of objects:

  • objects of the theory
  • morphism of the category
    • tl/dr: think of arrow to connect relations between two mathematical objects

definition

a category C\mathcal{C} consists of the following entities:

  • a class ob(C)\text{ob}(\mathcal{C}) whose elements are called objects

  • a class hom(C)\text{hom}(\mathcal{C})

    • a morphism f:abf : a \mapsto b
    • hom(a,b)\text{hom}(a,b), or homC(a,b),mor(a,b),C(a,b)\text{hom}_{\mathcal{C}}(a,b), \text{mor}(a,b), \mathcal{C}(a,b) denotes hom-class of all morphism from aa to bb
  • a binary operator \circ, or composition of morphisms such that we have:

    :hom(b,c)×hom(a,b)hom(a,c)\circ : \text{hom}(b,c) \times \text{hom}(a,b) \mapsto \text{hom}(a,c)
    • associativity: if f:ab,g:bcf: a \to b, g: b \to c and h:cdh: c \to d then we have

      h(gf)=(hg)fh \circ (g \circ f) = (h \circ g) \circ f
    • identity: For every object xx there exists a identity morphism 1x:xx1_{x}: x \to x for x such that for every f:abf: a \to b we have

      1bf=f=f1a1_b \circ f = f = f \circ 1_a

functors

structure preserving maps between categories

  • covariant functor F:CDF: C \to D (functor FF from category CC to DD) 1 such that the following holds:
    • For every object x in CC then F(1x)=1F(x)F(1_x) = 1_{F(x)}
    • for all morphism f:xyf: x\to y and g:yzg: y \to z F(gf)=F(g)F(f)F(g \circ f) = F(g) \circ F(f)
  • contravariant functor acts as covariant functors from opposite category CopC^{\text{op}} to DD

Remarque

    • xC  ob(F(x))F(x)D\forall x \in C \space \exists \space \text{ob}(F(x)) \mid F(x) \in D
    • f:xy,fC  mor(F(f)):F(x)F(y)F(f)D\forall f: x \to y, f \in C \space \exists \space \text{mor}(F(f)): F(x) \to F(y) \mid F(f) \in D