Category
A structure of objects and morphisms with associative composition and identity morphisms.
Category
Definition
A category consists of:
- A collection of objects .
- For each pair , a collection of morphisms .
- For each triple , a composition operation
- For each object , an identity morphism .
These data satisfy the category axioms (associativity and identity/unit laws); see category axioms .
This abstracts the behavior of functions and their composition .
Examples
- : objects are sets , morphisms are functions , composition is ordinary function composition, and is the identity function on .
- : objects are groups, morphisms are group homomorphisms, with composition given by composing homomorphisms.
- : objects are topological spaces, morphisms are continuous maps, with composition the usual composition of continuous maps.