- Yoneda lemma
In
mathematics , specifically incategory theory , the Yoneda lemma is an abstract result onfunctor s of the type "morphisms into a fixed object". It is a vast generalisation ofCayley's theorem fromgroup theory (a group being a particular kind of category with just one object). It allows theembedding of any category into acategory of functors defined on that category. It also clarifies how the embedded category, ofrepresentable functor s and theirnatural transformation s, relates to the other objects in the larger functor category. It is an important tool that underlies several modern developments inalgebraic geometry andrepresentation theory . It is named afterNobuo Yoneda .Generalities
The Yoneda lemma suggests that instead of studying the (small) category "C", one should study the category of all functors of "C" into Set (the
category of sets with functions asmorphism s). Set is a category we understand well, and a functor of "C" into Set can be seen as a "representation" of "C" in terms of known structures. The original category "C" is contained in this functor category, but new objects appear in the functor category which were absent and "hidden" in "C". Treating these new objects just like the old ones often unifies and simplifies the theory.This approach is akin to (and in fact generalizes) the common method of studying a ring by investigating the modules over that ring. The ring takes the place of the category "C", and the category of modules over the ring is a category of functors defined on "C".
Formal statement
General version
Yoneda's lemma concerns functors from a fixed category "C" to the
category of sets , Set. If "C" is alocally small category (i.e. the hom-sets are actual sets and not proper classes), then each object "A" of "C" gives rise to a natural functor to Set called ahom-functor . This functor is denoted::The hom-functor "h""A" sends "X" to the set ofmorphism s Hom("A","X").Let "F" be an arbitrary functor from "C" to Set. Then Yoneda's lemma says that for each object "A" of "C" the
natural transformation s from "h""A" to "F" are in one-to-one correspondence with the elements of "F"("A"). That is,:Given a natural transformation Φ from "h""A" to "F", the corresponding element of "F"("A") is .There is a contravariant version of Yoneda's lemma which concerns
contravariant functor s from "C" to Set. This version involves the contravariant hom-functor:which sends "X" to the hom-set Hom("X","A"). Given an arbitrary contravariant functor "G" from "C" to Set, Yoneda's lemma asserts that:Proof
The proof of Yoneda's lemma is indicated by the following
commutative diagram :This diagram shows that the natural transformation Φ is completely determined by since for each morphism "f" : "A" → "X" one has:Moreover, any element "u"∈"F"("A") defines a natural transformation in this way. The proof in the contravariant case is completely analogous.
In this way, Yoneda's Lemma provides a complete classification of all natural transformations from the functor Hom(A,-) to an arbitrary functor F:C→Set.
The Yoneda embedding
An important special case of Yoneda's lemma is when the functor "F" from "C" to Set is another hom-functor "h""B". In this case, the covariant version of Yoneda's lemma states that:
That is, natural transformations between hom-functors are in one-to-one correspondence with morphisms (in the reverse direction) between the associated objects. Given a morphism "f" : "B" → "A" the associated natural transformation is denoted Hom("f",–).
Mapping each object "A" in "C" to its associated hom-functor "h""A" = Hom("A",–) and each morphism "f" : "B" → "A" to the corresponding natural transformation Hom("f",–) determines a contravariant functor "h" from "C" to Set"C", the
functor category of all (covariant) functors from "C" to Set. One can interpret "h" as acovariant functor ::The meaning of Yoneda's lemma in this setting is that the functor "h" is fully faithful, and therefore gives an embedding of "C"op in the category of functors to Set. The collection of all functors {"h"A, A in C} is a subcategory of Set"C". Therefore, Yoneda embedding implies that the category C"op" is isomorphic to the category {"h"A, A in C}.The contravariant version of Yoneda's lemma states that:Therefore, "h"′ gives rise to a covariant functor from "C" to the category of contravariant functors to Set::Yoneda's lemma then states that any locally small category "C" can be embedded in the category of contravariant functors from "C" to Set via "h"′. This is called the "Yoneda embedding".
Preadditive categories, rings and modules
A "
preadditive category " is a category where the morphism sets formabelian group s and the composition of morphisms is bilinear; examples are categories of abelian groups or modules. In a preadditive category, there is both a "multiplication" and an "addition" of morphisms, which is why preadditive categories are viewed as generalizations of rings. Rings are preadditive categories with one object.The Yoneda lemma remains true for preadditive categories if we choose as our extension the category of "additive" contravariant functors from the original category into the category of abelian groups; these are functors which are compatible with the addition of morphisms and should be thought of as forming a "
module category " over the original category. The Yoneda lemma then yields the natural procedure to enlarge a preadditive category so that the enlarged version remains preadditive — in fact, the enlarged version is anabelian category , a much more powerful condition. In the case of a ring "R", the extended category is the category of all left modules over "R", and the statement of the Yoneda lemma reduces to the well-known isomorphism:"M" ≅ Hom"R"("R","M") for all left modules "M" over "R".
Wikimedia Foundation. 2010.