Yoneda lemma

From testwiki
Jump to navigation Jump to search

Template:Short description In mathematics, the Yoneda lemma is a fundamental result in category theory.[1] It 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 miniature category with just one object and only isomorphisms). It allows the embedding of any locally small 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 π’ž, one should study the category of all functors of π’ž into π’πžπ­ (the category of sets with functions as morphisms). π’πžπ­ is a category we think we understand well, and a functor of π’ž into π’πžπ­ can be seen as a "representation" of π’ž in terms of known structures. The original category π’ž is contained in this functor category, but new objects appear in the functor category, which were absent and "hidden" in π’ž. 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 π’ž, and the category of modules over the ring is a category of functors defined on π’ž.

Formal statement

Yoneda's lemma concerns functors from a fixed category π’ž to a category of sets, π’πžπ­. If π’ž is a locally small category (i.e. the hom-sets are actual sets and not proper classes), then each object A of π’ž gives rise to a functor to π’πžπ­ called a hom-functor. This functor is denoted:

hA=Hom(A,).

The (covariant) hom-functor hA sends Xπ’ž to the set of morphisms Hom(A,X) and sends a morphism f:XY (where Yπ’ž) to the morphism f (composition with f on the left) that sends a morphism g in Hom(A,X) to the morphism fg in Hom(A,Y). That is,

hA(f)=Hom(A,f), or
hA(f)(g)=fg

Yoneda's lemma says that:

Template:Math theorem

Here the notation π’πžπ­π’ž denotes the category of functors from π’ž to π’πžπ­.

Given a natural transformation Φ from hA to F, the corresponding element of F(A) is u=ΦA(idA);Template:Efn and given an element u of F(A), the corresponding natural transformation is given by ΦX(f)=F(f)(u) which assigns to a morphism f:AX a value of F(X).

Contravariant version

There is a contravariant version of Yoneda's lemma,Template:Sfnp which concerns contravariant functors from π’ž to π’πžπ­. This version involves the contravariant hom-functor

hA=Hom(,A),

which sends X to the hom-set Hom(X,A). Given an arbitrary contravariant functor G from π’ž to π’πžπ­, Yoneda's lemma asserts that

Nat(hA,G)G(A).

Naturality

The bijections provided in the (covariant) Yoneda lemma (for each A and F) are the components of a natural isomorphism between two certain functors from π’ž×π’πžπ­π’ž to π’πžπ­.[2]Template:Rp One of the two functors is the evaluation functor

():π’ž×π’πžπ­π’žπ’πžπ­
():(A,F)F(A)

that sends a pair (f,Φ) of a morphism f:AB in π’ž and a natural transformation Φ:FG to the map

ΦBF(f)=G(f)ΦA:F(A)G(B).

This is enough to determine the other functor since we know what the natural isomorphism is. Under the second functor

Nat(hom(,),):π’ž×Setπ’žSet,
Nat(hom(,),):(A,F)Nat(hom(A,),F),

the image of a pair (f,Φ) is the map

Nat(hom(f,),Φ)=Nat(hom(B,),Φ)Nat(hom(f,),F)=Nat(hom(f,),G)Nat(hom(A,),Φ)

that sends a natural transformation Ψ:hom(A,)F to the natural transformation ΦΨhom(f,):hom(B,)G, whose components are

(ΦΨhom(f,))C(g)=(ΦΨ)C(gf)(g:BC).

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.Template:Efn

The mnemonic "falling into something" can be helpful in remembering that hA is the covariant hom-functor. When the letter A is falling (i.e. a subscript), hA assigns to an object X the morphisms from A into X.

Proof

Since Φ is a natural transformation, we have the following commutative diagram:

Proof of Yoneda's lemma
Proof of Yoneda's lemma

This diagram shows that the natural transformation Φ is completely determined by ΦA(idA)=u since for each morphism f:AX one has

ΦX(f)=(Ff)u.

Moreover, any element uF(A) defines a natural transformation in this way. The proof in the contravariant case is completely analogous.[1]

The Yoneda embedding

An important special case of Yoneda's lemma is when the functor F from π’ž to π’πžπ­ is another hom-functor hB. In this case, the covariant version of Yoneda's lemma states that

Nat(hA,hB)Hom(B,A).

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:BA the associated natural transformation is denoted Hom(f,).

Mapping each object A in π’ž to its associated hom-functor hA=Hom(A,) and each morphism f:BA to the corresponding natural transformation Hom(f,) determines a contravariant functor h from π’ž to π’πžπ­π’ž, the functor category of all (covariant) functors from π’ž to π’πžπ­. One can interpret h as a covariant functor:

h:π’žopπ’πžπ­π’ž.

The meaning of Yoneda's lemma in this setting is that the functor h is fully faithful, and therefore gives an embedding of π’žop in the category of functors to π’πžπ­. The collection of all functors {hA|AC} is a subcategory of π’πžπ­π’ž. Therefore, Yoneda embedding implies that the category π’žop is isomorphic to the category {hA|AC}.

The contravariant version of Yoneda's lemma states that

Nat(hA,hB)Hom(A,B).

Therefore, h gives rise to a covariant functor from π’ž to the category of contravariant functors to π’πžπ­:

h:π’žπ’πžπ­π’žop.

Yoneda's lemma then states that any locally small category π’ž can be embedded in the category of contravariant functors from π’ž to π’πžπ­ via h. This is called the Yoneda embedding.

The Yoneda embedding is sometimes denoted by γ‚ˆ, the hiragana Yo.[3]

Representable functor

Template:Main The Yoneda embedding essentially states that for every (locally small) category, objects in that category can be represented by presheaves, in a full and faithful manner. That is,

Nat(hA,P)P(A)

for a presheaf P. Many common categories are, in fact, categories of pre-sheaves, and on closer inspection, prove to be categories of sheaves, and as such examples are commonly topological in nature, they can be seen to be topoi in general. The Yoneda lemma provides a point of leverage by which the topological structure of a category can be studied and understood.

In terms of (co)end calculus

Template:Main

Given two categories 𝐂 and 𝐃 with two functors F,G:𝐂𝐃, natural transformations between them can be written as the following end.Template:Sfnp

Nat(F,G)=c𝐂Hom𝐃(Fc,Gc)

For any functors K:𝐂opπ’πžπ­π¬ and H:π‚π’πžπ­π¬ the following formulas are all formulations of the Yoneda lemma.Template:Sfnp

Kc𝐂Kc×Hom𝐂(,c),Kc𝐂(Kc)Hom𝐂(c,),
Hc𝐂Hc×Hom𝐂(c,),Hc𝐂(Hc)Hom𝐂(,c).

Preadditive categories, rings and modules

Template:Main

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

MHomR(R,M)   for all right modules M over R.

Relationship to Cayley's theorem

As stated above, the Yoneda lemma may be considered as a vast generalization of Cayley's theorem from group theory. To see this, let π’ž be a category with a single object * such that every morphism is an isomorphism (i.e. a groupoid with one object). Then G=Homπ’ž(*,*) forms a group under the operation of composition, and any group can be realized as a category in this way.

In this context, a covariant functor π’žπ’πžπ­ consists of a set X and a group homomorphism GPerm(X), where Perm(X) is the group of permutations of X; in other words, X is a G-set. A natural transformation between such functors is the same thing as an equivariant map between G-sets: a set function α:XY with the property that α(gx)=gα(x) for all g in G and x in X. (On the left side of this equation, the denotes the action of G on X, and on the right side the action on Y.)

Now the covariant hom-functor Homπ’ž(*,) corresponds to the action of G on itself by left-multiplication (the contravariant version corresponds to right-multiplication). The Yoneda lemma with F=Homπ’ž(*,) states that

Nat(Homπ’ž(*,),Homπ’ž(*,))Homπ’ž(*,*),

that is, the equivariant maps from this G-set to itself are in bijection with G. But it is easy to see that (1) these maps form a group under composition, which is a subgroup of Perm(G), and (2) the function which gives the bijection is a group homomorphism. (Going in the reverse direction, it associates to every g in G the equivariant map of right-multiplication by g.) Thus G is isomorphic to a subgroup of Perm(G), which is the statement of Cayley's theorem.

History

Yoshiki Kinoshita stated in 1996 that the term "Yoneda lemma" was coined by Saunders Mac Lane following an interview he had with Yoneda in the Gare du Nord station.[4][5]

See also

Notes

Template:Notelist

References

Template:Reflist

Template:Refbegin

Template:Refend

Template:Category theory