Functor

From Cattheory
(Redirected from Covariant functor)

This article is about a basic definition in category theory. The article text may, however, contain more material. Rate its utility as a basic definition article on the talk page
VIEW: Definitions built on this | Facts about this | Survey articles about this
View a complete list of basic definitions in category theory

Definition

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

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

satisfying the following condition:

  • It preserves the identity morphism: For any A∈C, F(idA)=idF(A).
  • It preserves composition: 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.