Functor

From Cattheory
Revision as of 23:18, 9 December 2008 by Vipul (talk | contribs)

Definition

Suppose C,D are categories. A functor (also called covariant functor) F from C to D comprises the following data:

  • A mapping F:ObC→ObD.
  • For any A,B∈C, a mapping F:C(A,B)→D(FA,FB).

satisfying the following condition:

  • For any A∈C, F(idA)=idF(A).
  • For any A,B,C∈C, and f∈C(A,B),g∈C(B,C), we have F(g∘f)=Fg∘Ff.

There is a related notion of contravariant functor. Note that a contravariant functor between two categories is not a functor between the categories. To emphasize that a functor is a functor and not a contravariant functor, we use the term covariant functor.