Contravariant functor
A functor that reverses the direction of morphisms; equivalently a functor C^op → D.
Let be categories.
A contravariant functor consists of:
such that:
- (Identities) for every (see identity morphism),
- (Reversed composition) for composable , (see composition).
Equivalent characterizations
Equivalently, a contravariant functor is the same thing as an ordinary (covariant) functor
where is the opposite category of .
Examples
- (the set of subsets of ),
- for , , the preimage map. Then and , so this is contravariant.
- Representable hom-functor . Fix an object . The assignment extends to a contravariant functor (equivalently ) by sending to precomposition:This is a basic instance of a representable functor.
- Linear dual (Vect or -Mod). In the category of vector spaces over a field (or modules over a ring), define A linear map induces by . The direction reverses, and , so is contravariant.