LESSWRONG
LW

Wikitags

Category (mathematics)

Edited by Mark Chimes, Patrick Stevens last updated 15th Jun 2016

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 ). The object X is called the source or of f and Y is called the target or of f, though note that f itself need not be a and X and Y need not be sets. This is written as f:X→Y.

These morphisms must satisfy three conditions:

  1. : For any two morphisms f:X→Y and g:Y→Z, there exists a morphism X→Z, written as g∘f or simply gf.
  2. : For any morphisms f:X→Y, g:Y→Z and h:Z→W composition is associative, i.e., h(gf)=(hg)f.
  3. : For any object X, there is a (unique) morphism, 1X:X→X which, when composed with another morphism, leaves it unchanged. I.e., given f:W→X and g:X→Y it holds that: 1Xf=f and g1X=g.
Parents:
codomain
endomorphism
1
1
domain
function
Discussion0
Discussion0
Composition
Identity
Associativity
Category theory