The Lumenary · Advanced undergraduate
The Yoneda lemma
Name: ______________________
Date: ______________________
You will learn to
- State and prove the Yoneda lemma , including its naturality in and
- Deduce that the Yoneda embedding is full and faithful, and that implies
- Apply the lemma to recover Cayley's theorem, the down-set embedding of a poset and the natural operations on groups
- Prove that every presheaf on a small category is a colimit of representable presheaves
- Explain the functor-of-points idea and why an object is determined by the arrows into it, not by its elements
- 1.
In the Yoneda lemma , which element of corresponds to a natural transformation ?
- A.
- B.
- C. for some arrow chosen in advance
- D.The image of all of under
- 2.
A directed graph (allowing loops and parallel edges) has vertices and edges. View it as a functor on the category with arrows . How many graph homomorphisms are there from the walking edge — one edge from a vertex to a vertex — to ?
- 3.
On the category of abelian groups, sends to its elements of order dividing , and sends to all of its elements. How many natural transformations are there?
- 4.
Which of these rules define natural transformations , where is the forgetful functor (a rule must be defined for every group and commute with every homomorphism)? Choose all that apply.
- A.
- B.
- C. if is abelian, and otherwise
- D. for a fixed element
- 5.
In the proof that we write . Which fact justifies the second equality?
- A.Naturality of along the arrow , applied to the element
- B.Functoriality of :
- C.The identity law
- D.The Yoneda lemma itself
- 6.
Which of these conclusions are justified for objects of a locally small category? Choose all that apply.
- A.If naturally in , then .
- B.If naturally in , then .
- C.In : if , i.e. and have the same number of points, then .
- D.If , then there is exactly one isomorphism .
- 7.
Let be a group. Which permutations of the set satisfy for all ?
- A.Exactly the left multiplications
- B.Exactly the right multiplications
- C.Only the identity
- D.All permutations of
- 8.
Mathlib's
coyoneda.obj (op A)is the functor . Which Lean statement formalises "if naturally, then "?- A.
theorem iso_of_corepresentable_iso {A B : C} (e : coyoneda.obj (op A) ≅ coyoneda.obj (op B)) : Nonempty (A ≅ B) - B.
theorem t {A B : C} (e : A ≅ B) : Nonempty (coyoneda.obj (op A) ≅ coyoneda.obj (op B)) - C.
theorem t {A B : C} (h : ∀ X : C, Nonempty ((A ⟶ X) ≃ (B ⟶ X))) : Nonempty (A ≅ B) - D.
theorem t {A B : C} (α : coyoneda.obj (op A) ⟶ coyoneda.obj (op B)) : A ⟶ B
- A.
- 9.
The cyclic group acts on when its generator acts by a permutation
p(a list withp[x]the image ofx) satisfying . An equivariant map from the regular action is a functiona : Z/n → X(a list of lengthn) witha[(k + 1) % n] == p[a[k]]for allk. Writecount_equivariant(n, p)that counts such maps by brute force over all functions (useitertools.product). The Yoneda lemma predicts the answerlen(p).Computational — Practice