Category

From Cattheory
Revision as of 23:25, 9 December 2008 by Vipul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Definition

A category C is the following data:

  • Objects: A collection ObC of objects.
  • Morphisms: For any objects A,BObC, a collection C(A,B) of morphisms. Every element in C(A,B) is termed a morphism from A (i.e., with source or domain A) to B (i.e., with target or co-domain B). The morphism sets for different pairs of objects are disjoint. Note that fC(A,B) is also written as f:AB. The collection C(A,B) is sometimes also denoted HomC(A,B) or simply Hom(A,B).
  • Identity morphism: For every object AObC, a distinguished morphism idAC(A,A). This is called the identity morphism of A.
  • Composition rule: For A,B,CObC, a map, called composition of morphisms, from C(B,C)×C(A,B) to C(A,C). This map is denoted by .

satisfying the following compatibility conditions:

  • Associativity of composition: For A,B,C,DObC, with fC(A,B),gC(B,C),hC(C,D), we have h(gf)=(hg)f.
  • Identity behaves as an identity: For A,BObC, with fC(A,B), we have fidA=idBf=f.

The collections of objects and morphisms need not be sets. If the collection of objects is a set, and the collection of morphisms between any two objects is a set, the category is termed a small category. If the collection of morphisms between any two objects is a set, the category is termed a locally small category.