1 Definitions and Examples

Definition 1.1 (Category). A category C consists of:

  • (a)
    a collection ob⁡C of objects A,B,C,….
  • (b)
    a collection mor⁡C of morphisms f,g,h,….
  • (c)
    two operations dom⁡, cod⁡ from mor⁡C to ob⁡C: we write f:A→B for “f is a morphism and dom⁡f=A and cod⁡f=B”.
  • (d)
    an operation from ob⁡C to mor⁡C sending A to 1A:A→A.
  • (e)
    a partial binary operation (f,g)↦fg on mor⁡C, such that fg is defined if and only if dom⁡f=cod⁡g, and in this case we have dom⁡fg=dom⁡g and cod⁡fg=cod⁡f.

These are subject to the axioms:

  • (f)
    f1A=f and 1Ag=g when the composites are defined.
  • (g)
    f(gh)=(fg)h whenever fg and gh are defined.

Remark 1.2.

Example 1.3.

Definition 1.4 (Functor). Let C and D be categories. A functor F:C→D consists of mappings F:ob⁡C→ob⁡D and F+mor⁡C→mor⁡D such that:

  • F(dom⁡f)=dom⁡Ff

  • F(cod⁡f)=cod⁡Ff

  • F(1A)=1FA

  • F(fg)=(Ff)(Fg) whenever fg is defined.

We write Cat for the category of small categories and the functors between them.

Example 1.5.

Definition 1.6 (Natural transformation). Given categories C and D, and two functors C⇉GFD, a natural transformation α:F→G assigns to each A∈ob⁡C a morphism αA:FA→GA in D, such that for any A→fB in C, the square

  FA       F B


FααGfABfGA       GB
commutes (we call this square the naturality square for α at f). Given α as above, and β:G→H, we define βα:F→H by (βα)A=βAαA. We write [C,D] for the category of functors C→D and natural transformations between them.

Example 1.7.

We have isomorphisms of categories: e.g. F:Rel→Relop defined by FA=A, FR=Ro={(b,a)|(a,b)∈R} is its own inverse.

But we have a weaker notion of equivalence of categories.

Lemma 1.8. Assuming that:

Then α is an isomorphism in [C,D] if and only if αA is an isomorphism in D for each A.

Proof.

Definition 1.9 (Equivalence of categories). Let C and D be categories. An equivalence between C and D consists of functors F:C→D and G:D→C together with natural isomorphisms α:1C→GF, β:FG→1D. We write C≡D if there exists an equivalence between C and D.

We say P is a categorical property if

(C has P and C≡D)⟹D has P.

Example 1.10.

Definition 1.11 (Faithful / full / essentially surjective). Let F:C→D be a functor.

  • (a)
    We say F is faithful if, given f and g in mor⁡C, (Ff=Fg, dom⁡f=dom⁡g, cod⁡f=cod⁡g)⟹f=g.
  • (b)
    We say F is full if, for every g:FA→FB in D, there exists f:A→B in C with Ff=g.
  • (c)
    We say F is essentially surjective if, for any B∈ob⁡D, there exists A∈ob⁡C with FA≅B.

Note that if F is full and faithful, it’s essentially injective: given FA →≅gFB in D, the unique A→fB with Ff=g is an isomorphism.

We say D⊆C is a full subcategory if the inclusion D→C is a full functor.

Lemma 1.12. Assuming that:

  • F:C→D

Then F is part of an equivalence C≡D if and only if F is full, faithful, essentially surjective.

Proof.

Definition 1.13 (Skeleton). By a skeleton of a category C, we mean a full subcategory containing just one object from each isomorphism class.

We say C is skeletal if it’s a skeleton of itself.

Example. Matk is a skeletal category; it’s isomorphic to the skeleton of fdVectk consisting of the spaces kn.

However, working with skeletal categories involves heavy use of the axiom of choice.

Definition 1.14 (Monomorphism / epimorphism). Let f:A→B be a morphism in a category C. We say f is a monomorphism (or monic) if, given C⇉hgA, fg=fh⟹g=h. We say f is an epimorphism (or epic) if it’s a monomorphism in Cop.

We write A↣fB to indicate that f is monic, and A↠fB to indicate that it’s epic.

We say C is balanced if every arrow which is monic and epic is an isomorphism.

We will call a monic morphism e split if it has a left inverse (and similarly we may define the notion of split epic).

Example 1.15.