Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2015/iii/paper-22/1/a/solution

For a locally small category , an object , and a categorical presheaf , the Yoneda lemma gives the natural bijection
Its two maps are explicitly
For , the equation proves naturality of . Evaluating it at the identity morphism gives . Conversely, naturality of at gives
so . Evaluation at the identity and transport of an element along a morphism are mutually inverse.
The bijection is natural in both variables: a natural transformation sends to , matching ; and gives
For completeness, the covariant Yoneda lemma for is , with and inverse .

New to topics? Read the docs here!