Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2002/iii/paper-20/1/ii/solution

Define the Yoneda embedding by and . For , define . Associativity proves naturality in , and preservation of identity morphisms and composition in a category proves that is a functor.
Apply the Yoneda lemma to . It gives
The natural transformation corresponding to has component , exactly . Therefore the induced map on every hom-set is a bijection: the Yoneda embedding is full and faithful.

New to topics? Read the docs here!