The diagonal of the product of sets is the natural transformation

whose component

\[ \Delta _{X}\colon X\to X\times X \]

at $X\in \text{Obj}\webleft (\mathsf{Sets}\webright )$ is given by

\[ \Delta _{X}\webleft (x\webright )\mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\webleft (x,x\webright ) \]

for each $x\in X$.

We need to show that, given a function $f\colon X\to Y$, the diagram

commutes. Indeed, this diagram acts on elements as

and hence indeed commutes, showing $\Delta $ to be natural.


Noticed something off, or have any comments? Feel free to reach out!


You can also use the contact form below: