2-category: Difference between revisions

From Cattheory
(Created page with '==Definition== A '''2-category''' <math>\mathcal{C}</math> is the following data: * '''Objects''': A defining ingredient::collection <math>\operatorname{Ob}\mathcal{C}</mat…')
 
No edit summary
Line 1: Line 1:
==Definition==
==Definition==
===Definition as a category enriched over categories===
A 2-category is an category [[defining ingredient::enriched category|enriched]] over the [[category of categories]] (in particular cases, it is usually enough to enrich over the [[category of locally small categories]], which presents fewer foundational hassles).
===Raw definition===


A '''2-category''' <math>\mathcal{C}</math> is the following data:
A '''2-category''' <math>\mathcal{C}</math> is the following data:

Revision as of 14:52, 29 December 2009

Definition

Definition as a category enriched over categories

A 2-category is an category enriched over the category of categories (in particular cases, it is usually enough to enrich over the category of locally small categories, which presents fewer foundational hassles).

Raw definition

A 2-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 C1(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 .
  • 2-morphisms: For any two objects A,BObC and any two morphisms f,gC1(A,B), a collection C2(f,g) of 2-morphisms from f to g. If α is such a morphism, we write α:fg. The collection of such 2-morphisms may be denoted Hom(f,g).
  • Identity 2-morphism: For any two objects A,BObC and any morphism fHom(A,B), a 2-morphism idfHom(f,f).
  • Composition of 2-morphisms: For any two objects A,B, and any three morphisms f,g,hHom(A,B), a map Hom(g,h)×Hom(f,g)Hom(f,h).
  • Horizontal composition of 2-morphisms: For any three objects A,B,C, with morphisms f1,f2:AB and morphisms g1,g2:BC, an operator Hom(f1,f2)×operatornameHom(g1,g2)Hom(f1g1,f2circg2).

satisfying the following conditions:

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

Definition in terms of category definition

A 2-category C is a category (that we'll also call C), along with, for every A,BC, a category whose collection of objects is the collection of morphisms from A to B, along with a horizontal composition...Fill this in later