nLab
Yoneda embedding

Contents

Idea

For C a locally small category, every object X of C induces a presheaf on C: the representable presheaf h X represented by X. This assignment extends to a functor C[C op,Set] from C to its category of presheaves. The Yoneda lemma implies that this functor is full and faithful and hence realizes C as a full subcategory inside its category of presheaves.

Recall from the discussion at representable presheaf that the presheaf represented by an object X of C is the functor h X:C opSet whose assignment is illustrated by

which sends each object U to Hom C(U,X) and each morphism α:UU to the function

h Xα:Hom C(U,X)Hom C(U,X).h_X\alpha: Hom_C(U,X)\to Hom_C(U',X).

Moreover, for f:XY an morphism in C, this induces a natural transformation h f:h Xh Y, whose component on U in X is illustrated by

For this to be a natural transformation, we need to have the commuting diagram

h XU h fU h YU h Xα h Yα h XU h fU h YU\array{ h_X U & \stackrel{h_f U}{\rightarrow} & h_Y U \\ \mathllap{h_X\alpha\quad}{\downarrow} & {} & \mathrlap{\downarrow}{\quad h_Y\alpha} \\ h_X U' & \stackrel{h_f U'}{\rightarrow} & h_Y U' }

but this simply means that it doesn’t matter if we first “comb” the strands back to U and then comb the strands forward to Y, or comb the strands forward to Y first and then comb the strands back to U

which follows from associativity of composition of morphisms in C.

Definition

The Yoneda embedding for C a locally small category is the functor

Y:C[C op,Set]Y : C \to [C^{op}, Set]

from C to the category of presheaves over C which is the image of the hom-functor

Hom:C op×CSetHom : C^{op} \times C \to Set

under the Hom adjunction

Hom(C op×C,Set)Hom(C,[C op,Set])Hom(C^{op} \times C , Set) \simeq Hom(C, [C^{op}, Set])

in the closed symmetric monoidal category Cat.

Hence Y sends any object cC to the representable presheaf which assigns to any other object d of C the hom-set of morphisms from d into c:

Y(c):C opC(,c)Set.Y(c) : C^{op} \stackrel{C(-,c)}{\to} Set \,.

Properties

It follows from the Yoneda lemma that the functor Y is full and faithful. It is also limit preserving (= continuous functor), but does in general not preserve colimits.

The Yoneda embedding of a small category S into the category of presheaves on S gives a free cocompletion of S.

If the Yoneda embedding of a category has a left adjoint, then that category is called a total category .

Revised on August 8, 2012 18:17:06 by Andrew Stacey (192.76.7.219)