Yoneda Lemma
Prerequisites: Category Theory.
- Intuitive The Most Obvious Secret in Mathematics
- Concrete The Yoneda Lemma
Why is it interesting?
The Yoneda lemma is "arguably the most important result of category theory" (source).
It is important for physics, because it allows us to make the ideas of relational physics precise.
Intuitive
Informally, [the Yoneda Lemma] implies that you can gain information about an object by viewing it from *all* possible angles. That kinda makes sense, right? To put it another way: a mathematical object is totally determined by its relationships to other objects. It's sort of like the old saying, “Tell me who your friends are, and I’ll tell you who *you* are.”Math3ma
Concrete
[T]he collection of all ways to relate an object to other objects is isomorphic to the object itself.https://news.ycombinator.com/item?id=7715277
[A]n object is completely determined by its relationships to other objects. The Yoneda Lemma
One way to think of the Yoneda lemma is precisely this: that the objects of any category can be interpreted as sets with extra structure. Think about this a minute. We have an abstract category C and we wish to associate to each object of C some set equipped with extra structure. Moreover, we want to do this in a way which completely records everything there is to know about this object. How can we do it?
Well, the only interesting thing about an object in a category is its morphisms to and from other objects, and how these compose with *other* morphisms. This principle should be our guide.
So, what should we do? Simple: associate to the object c the set of all morphisms from c to other objects in C! Let's call this set hom(c,-).
Of course, this is more than a mere set: it's a set with extra structure. First of all, it's a set made of lots of little subsets for each object c' in C, we get a subset hom(c,c'), consisting of all morphisms from c to c'. Second of all, it's a set with an "action of C". In other words, given an element f in hom(c,c'), and a morphism g: c' -> c' ', we get an element fg in hom(c,c' '), just by composing f and g.
A set with all this structure has a name: it's called a "functor from C to Set".
The Yoneda lemma says that this "set with extra structure" knows everything you'd ever want to know about the object c.
Note that I got away with less than you might have thought I'd need! I only considered the morphisms *from* c, not the morphisms *to* c. In fact there is another version of the Yoneda lemma that uses the morphisms *to* c instead. I believe this is the one people usually talk about - but of course it doesn't really matter.
Great explanations can be found here:
Abstract
Let be a locally small category, an object of and a functor. The Yoneda lemma states that there is a bijection
natural in both and . The map sends a natural transformation to the element . Its inverse sends to the transformation whose component at is
The proof is a single observation: naturality forces , so is fixed by where it sends . The dual version holds for contravariant functors , with .
Yoneda embedding. Taking in the dual version gives . So the functor
is fully faithful. In particular, if as functors, then . This is the precise form of the statement that an object is determined up to isomorphism by the morphisms into it from all other objects.
Representable functors. A functor isomorphic to some is called representable, and by the lemma the representing object is unique up to unique isomorphism. Every universal construction (products, limits, free objects, tensor products) is a statement that some functor is representable, which is why objects defined by universal properties are unique up to unique isomorphism.
Example: groups. Regard a group as a category with one object . A functor to is a -set, and is acting on itself by left multiplication. The lemma says that -equivariant maps from to a -set are in bijection with , each map being determined by the image of the identity. Applied to , the equivariant maps are the right multiplications , so (with the order of multiplication reversed) is the automorphism group of its regular action. In particular embeds into the permutations of its underlying set, which is Cayley's theorem.
Functor of points. In algebraic geometry and in the theory of supermanifolds, a space is described by the functor that assigns to each test space the set of "-points" of . By the Yoneda embedding no information is lost, and the functor can be used even when it is not representable by a space in the original category.