Next: Heyting algebra Up: Appendix Previous: Sets
Functors
I will now briefly explain the concept of a functor.
Generally speaking a functor is a transformation from one category
There are two types of functors:
- Covariant Functor
- Contravariant Functor
- Definition 3.3 : A covariant functor from a categoryIt is clear from the above that a covariant functor is a transformation that preserves both:
to a category
is a map
that assigns to each
-object a
-object F(a) and to each
-arrow
a
-arrow
such that the following are satisfied:
-
-
for any
- the domain's and the codomain's identities
- the composites of functions i.e. it preserves the direction of the arrows
-
- Definition 3.4A diagrammatic representation of a contravariant functor is the following:
A contravariant functor from a category
to a category
is a
map
that assigns to each
-object a a
-object X(a) and to each
-arrow
a
-arrow
such that the following conditions are satisfied
-
-
for any
As we can see from the above diagram, a contravariant functor in mapping arrows from one category to the next reverses the directions of the arrows, by mapping domains to codomains and vice versa. -
Next: Heyting algebra Up: Appendix Previous: Sets Cecilia Flori 2007-01-02