Category (mathematics)

https://arbital.com/p/category_mathematics

by Mark Chimes Jun 15 2016 updated Jun 18 2016

A description of how a collection of mathematical objects are related to one another.


A category consists of a collection of objects with morphisms between them. A morphism f goes from one object, say X, to another, say Y, and is drawn as an arrow from X to Y. Note that X may equal Y (in which case f is referred to as an [-endomorphism]). The object X is called the source or domain of f and Y is called the target or codomain of f, though note that f itself need not be a Function and X and Y need not be sets. This is written as f:XY.

These morphisms must satisfy three conditions:

  1. [Composition_of_functions Composition]: For any two morphisms f:XY and g:YZ, there exists a morphism XZ, written as gf or simply gf.
  2. Associativity: For any morphisms f:XY, g:YZ and h:ZW composition is associative, i.e., h(gf)=(hg)f.
  3. [identity_map Identity]: For any object X, there is a (unique) morphism, 1X:XX which, when composed with another morphism, leaves it unchanged. I.e., given f:WX and g:XY it holds that: 1Xf=f and g1X=g.