Categories are constructs that contain the following data:

  1. A collection of objects, (like a set but a collection of all sets also contains the set of all sets)
  2. For any two objects , a collection of morphisms from to . This is denoted by: , , .
  3. For each object , a morphism that maps to itself.
  4. A binary operation called composition that can join morphisms together such that

The properties should be satisfied for this to be considered a category:

  1. Left Unit Law: ,
  2. Right Unit Law: ,
  3. Associative Law:

Sets Category

The category of sets, denoted by is the category such that:

  1. An object is a set
  2. Given two sets is the set of all functions from to
  3. is the identity function on the set
  4. Composition operation is just function compositions

Additonal Steps

To prove set is a category, final step is to show that the left/right unit laws and the associative law holds.