Functor
Let
A (covariant) functor
- A mapping on objects
- A mapping on morphisms
for every pair of objects .
These assignments satisfy:
- Identity preservation
- Composition preservation
For all morphismsand ,
Thus, functors preserve identities and composition.
The category of (small) categories.
Categories themselves form a category, commonly denoted
- Objects: small categories.
- Morphisms: functors between them.
- Composition: composition of functors.
- Identities: identity functors.
This yields a well-defined category once size issues (small vs. large categories) are handled. For large categories what we have is a 2-category.
An important relationship between functors is adjunction.
Related: natural transformation.