Yoneda lemma
In mathematics, specifically in category theory, the Yoneda lemma is an abstract result on functors of the type morphisms into a fixed object. It is a vast generalisation of Cayley's theorem from group theory (viewing a group as a particular kind of category with just one object). It allows the embedding of any category into a category of functors (contravariant set-valued functors) defined on that category. It also clarifies how the embedded category, of representable functors and their natural transformations, relates to the other objects in the larger functor category. It is an important tool that underlies several modern developments in algebraic geometry and representation theory. It is named after Nobuo Yoneda.
Generalities
The Yoneda lemma suggests that instead of studying the (locally small) category C, one should study the category of all functors of C into Set (the category of sets with functions as morphisms). Set is a category we think 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 a locally 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 a hom-functor. This functor is denoted:
The (covariant) hom-functor hA sends X to the set of morphisms Hom(A,X) and sends a morphism f from X to Y to the morphism (composition with f on the left) that sends a morphism g in Hom(A,X) to the morphism f o g in Hom(A,Y). That is,
- .
Let F be an arbitrary functor from C to Set. Then Yoneda's lemma says that:
For each object A of C, the natural transformations from hA to F are in one-to-one correspondence with the elements of F(A). That is,
Moreover this isomorphism is natural in A and F when both sides are regarded as functors from SetC x C to Set. (Here the notation SetC denotes the category of functors from C to Set.)
Given a natural transformation from hA to F, the corresponding element of F(A) is .[lower-alpha 1]
There is a contravariant version of Yoneda's lemma, which concerns contravariant functors 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
Naming conventions
The use of "hA" for the covariant hom-functor and "hA" for the contravariant hom-functor is not completely standard. Many texts and articles either use the opposite convention or completely unrelated symbols for these two functors. However, most modern algebraic geometry texts starting with Alexander Grothendieck's foundational EGA use the convention in this article.[lower-alpha 2]
The mnemonic "falling into something" can be helpful in remembering that "hA" is the contravariant hom-functor. When the letter "A" is falling (i.e. a subscript), hA assigns to an object X the morphisms from X into A.
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 hB. 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 hA = Hom(A,–) and each morphism f : B → A to the corresponding natural transformation Hom(f,–) determines a contravariant functor h– from C to SetC, the functor category of all (covariant) functors from C to Set. One can interpret h– as a covariant functor:
The meaning of Yoneda's lemma in this setting is that the functor h– is fully faithful, and therefore gives an embedding of Cop in the category of functors to Set. The collection of all functors {hA, A in C} is a subcategory of SetC. Therefore, Yoneda embedding implies that the category Cop is isomorphic to the category {hA, 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 form abelian groups 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 an abelian category, a much more powerful condition. In the case of a ring R, the extended category is the category of all right modules over R, and the statement of the Yoneda lemma reduces to the well-known isomorphism
- M ≅ HomR(R,M) for all right modules M over R.
History
The Yoneda lemma was introduced but not proved in a 1954 paper by Nobuo Yoneda.[1] Yoshiki Kinoshita stated in 1996 that the term "Yoneda lemma" was coined by Saunders Mac Lane following an interview he had with Yoneda.[2]
See also
Notes
- ↑ Recall that so the last expression is well-defined and sends a morphism from A to A, to an element in F(A).
- ↑ A notable exception to modern algebraic geometry texts following the conventions of this article is Commutative algebra with a view toward algebraic geometry / David Eisenbud (1995), which uses "hA" to mean the covariant hom-functor. However, the later book The geometry of schemes / David Eisenbud, Joe Harris (1998) reverses this and uses "hA" to mean the contravariant hom-functor.
References
- ↑ Nobuo, Yoneda (1954). "On the homology theory of modules". J. Fac. Sci. Univ. Tokyo. Sect. I. 7: 193–227.
- ↑ Kinoshita, Yoshiki (23 April 1996). "Prof. Nobuo Yoneda passed away". Retrieved 21 December 2013.
- Freyd, Peter (1964), Abelian categories, Harper's Series in Modern Mathematics (2003 reprint ed.), Harper and Row, Zbl 0121.02103.
- Mac Lane, Saunders (1998), Categories for the Working Mathematician, Graduate Texts in Mathematics, 5 (2nd ed.), New York, NY: Springer-Verlag, ISBN 0-387-98403-8, Zbl 0906.18001
- Yoneda lemma in nLab