nLab
enriched category

Contents

Idea

The idea of an enriched category is that we take the definition of locally small category and replace the hom-sets by objects in some monoidal category K. So, a category enriched over K (also called a category enriched in K, or simply a K-category), say C, has a collection ob(C) of objects and for each pair x,yob(C), a ‘hom-object

hom(x,y)K.hom(x,y) \in K .

We then mimic the usual definition of category. In particular, composition is a morphism in K:

:hom(y,z)hom(x,y)hom(x,z)\circ : hom(y,z) \otimes hom(x,y) \to hom(x,z)

where is the tensor product in K.

We may similarly define a functor enriched over K and a natural transformation enriched over K, obtaining a strict 2-category of K-enriched categories. By general 2-category theory, we thereby obtain notions of K-enriched adjunction, K-enriched equivalence, and so on.

There is also an enriched notion of limit called a weighted limit, but it is somewhat more subtle (and in particular, it is difficult to construct purely on the basis of the 2-category K-Cat).

More generally, we may allow K to be a multicategory, a bicategory, a double category, or an fc-multicategory.

See also enriched category theory.

Definition

Let V be a monoidal category with

  • tensor product :C×CC;

  • tensor unit IObj(V);

  • associator α a,b,c:(ab)ca(bc);

  • left unitor l a:Iaa;

  • right unitor r a:aIa.

A (small) V-category C (or V-enriched category or category enriched over/in V) is

  • a set Obj(C) – called the set of objects;

  • for each ordered pair (a,b)Obj(C)×Obj(C) of objects in C an object C(a,b)Obj(V) – called the hom-object or object of morphisms from a to b;

  • for each ordered triple (a,b,c) of objects of V a morphism a,b,c:C(b,c)C(a,b)C(a,c) in V – called the composition morphism;

  • for each object aObj(V) a morphism j a:IC(a,a) – called the identity element

  • such the following diagrams commute:

for all a,b,c,dObj(V):

(C(c,d)C(b,c))C(a,b) α C(c,d)(C(b,c)C(a,b)) b,c,dId C(a,b) Id C(c,d) a,b,c C(b,d)C(a,b) a,b,c C(a,d) a,c,d C(c,d)C(a,c)\array{ (C(c,d)\otimes C(b,c)) \otimes C(a,b) &&\stackrel{\alpha}{\to}&& C(c,d) \otimes (C(b,c) \otimes C(a,b)) \\ \downarrow^{\circ_{b,c,d}\otimes Id_{C(a,b)}} &&&& \downarrow^{Id_{C(c,d)\otimes \circ_{a,b,c}}} \\ C(b,d)\otimes C(a,b) &\stackrel{\circ_{a,b,c}}{\to}& C(a,d) &\stackrel{\circ_{a,c,d}}{\leftarrow}& C(c,d) \otimes C(a,c) }

this says that composition in C is associative;

and

C(b,b)C(a,b) a,b,b C(a,b) a,a,b C(a,b)C(a,a) j bId C(a,b) l r Id C(a,b)j a IC(a,b) C(a,b)I\array{ C(b,b)\otimes C(a,b) &\stackrel{\circ_{a,b,b}}{\to}& C(a,b) &\stackrel{\circ_{a,a,b}}{\leftarrow}& C(a,b) \otimes C(a,a) \\ \uparrow^{j_b \otimes Id_{C(a,b)}} & \nearrow_{l}&& {}_r\nwarrow& \uparrow^{Id_{C(a,b)}\otimes j_a} \\ I \otimes C(a,b) &&&& C(a,b) \otimes I }

this says that composition is unital.

Passage between ordinary categories and enriched categories

Every K-enriched category C has an underlying ordinary category, usually denoted C 0, defined by C 0(x,y)=K(I,hom(x,y)) where I is the unit object of K.

If K(I,):KSet has a left adjoint I:SetK (taking a set S to the tensor or copower SI, viz. the coproduct of an S-indexed set of copies of I), then any ordinary category C can be regarded as enriched in K by forming the composite

Ob(C)×Ob(C)homSetIKOb(C) \times Ob(C) \stackrel{\hom}{\to} Set \stackrel{-\cdot I}{\to} K

More generally, a (lax) monoidal functor F:KL between monoidal categories can be regarded as a “change of base”, so that by applying F, any category enriched over K can be seen as enriched over L.

Internalization versus Enrichment

The idea of enriched categories is not unrelated to that of internal categories, but is different. One difference is that in a K-enriched category, the objects still form a set (or a proper class) while the arrows are replaced by objects of K, while in a category internal to K, both the set of objects and the set of arrows are replaced by objects of K.

Another difference is that for K-enriched categories, K can be any monoidal category, while for K-internal categories, it must have pullbacks, which can be thought of as a generalization of cartesian monoidal structure. In particular, a K-internal category with one object (that is, whose object-of-objects is a terminal object) is a monoid in K with respect to the cartesian product, whereas a one-object K-enriched category is a monoid in K with respect to whatever monoidal structure we use to define enriched categories.

Nevertheless, internalization and enrichment are related in several ways. On the one hand, internal categories and enriched categories are both instances of monads in bicategories (the bicategory of spans and the bicategory of matrices, respectively). On the other hand, when K is an -extensive category, such as Set or simplicial sets (or more generally any Grothendieck topos), (small) K-enriched categories can be identified with K-internal categories whose object-of-objects is discrete (that is, a coproduct of copies of the terminal object).

Examples

(In all these cases the standard monoidal structure on the monoidal categories is understood.)

  • A (Lawvere) metric space is a category enriched over the poset ([0,],) of extended positive real numbers, where is +.

  • An ultrametric space is a category enriched over the poset ([0,],) of extended positive real numbers, where is max.

  • A poset is a category enriched over the category of truth values, where is conjunction?.

  • An apartness space is a groupoid enriched over the opposite of the category of truth values, where is disjunction?.

  • A group torsor (over a group G) can be modeled by a category enriched over the discrete category on the set G, where is the group operation. Not every such category determines a torsor, however; it must be nonempty as well as Cauchy complete.

References

The standard reference on enriched categories is

  • G. M. Kelly, Basic concepts of enriched category theory (tac ,pdf)

Blog entries