Naturality in the Yoneda lemma for groups
Posted by Martin Orr on Saturday, 16 May 2009 at 19:54
In my last post on the Yoneda lemma for groups, I ignored the naturality part of the lemma. I want to work in detail what this means once - it is a lot of fiddly composing of morphisms and I probably won't do it again (at least in public). If you're not in the mood for following such details, then there is little point in reading this, although you could skip to the last paragraph.
First consider "natural in x". To explain what it means for the Yoneda map to be natural, we have to view both sides of the map themselves as functors C -> Set. For each object x the Yoneda lemma gives a function . This family of functions is natural in x iff these 
are the components of a natural transformation between the two functors.
When interpreting each side of the Yoneda map as a functor, the expression which appears in the definition of tells us what the functor does to objects but we still have to specify what it does to morphisms in C. For the RHS, this is clear: the object map is 
, so the morphism map should be 
.
For the LHS, it is more complicated (but there is only one thing to do). The object map takes . For a morphism 
, first we form
"precompose with f" for each z in C
then
"precompose each component with".
(Note that we reversed direction, then back again.)
Let's get concrete and apply this to groups. Let T be a functor corresponding to G-set X. A morphism 
is just an element g of G, and then Tg is the function 
induced by g.
Recall that is the set of G-homomorphisms 
, which we shall write 
. Now for g in G, 
is "multiply on the right by g" and 
sends 
to the map 
. Letting g act by 
makes 
itself into a G-set. (Which we should expect, since we are interpreting 
as a functor 
.)
The naturality says that the following diagram commutes:

which is true since .
To interpret the phrase "natural in T" in the Yoneda lemma, we have to fix x and consider both sides as functors of T. The domain category is now D = { functors }; morphisms in this category are natural transformations. The LHS of the Yoneda map is now a covariant Hom-functor from this category D, and the RHS is the functor "evaluate at x".
In the case where C is a group category, D is just the category of G-sets and G-homomorphisms. The LHS is the functor and the RHS is the forgetful functor 
"take the underlying set". Naturality here says that the following diagram commutes for each G-homomorphism 
:

In other words, the function "postcomposition with u" corresponds under the Yoneda bijection with the function u itself on the underlying set. To check this: for any v in 
,

.
To summarise, the "natural in x" tells us that, for a fixed G-set X, the Yoneda map is itself a G-homomorphism . And "natural in T" says that the Yoneda map behaves with respect to G-homomorphisms between G-sets. (The latter is probably what you would have expected "the Yoneda map for groups is natural" to mean.)


