Source: Categories for the Working Mathematician, second edition by Saunders Mac Lane.
Proposition: If a category $C$ has a terminal object $t$ and a product diagram $a\leftarrow a\times b\rightarrow b$ for any two of its objects, then $C$ has all finite products. The product objects provide, by $\langle a, b\rangle\mapsto a\times b$, a bifunctor $C\times C\to C$. For any three objects $\mathbf{a, b}$ and $\mathbf{c}$ there is an isomorphism $\mathbf{\alpha=\alpha_{a, b, c}: a\times(b\times c)\cong(a\times b)\times c}$ natural in $\mathbf{a, b}$ and $\mathbf{c}$.
My Question: I struggle with the boldface part. Take $c$, for example. I suppose for each fixed pair $\langle a, b\rangle$ the natural transformation, called it $\tau$, is between the two functors $S=a\times(b\times-)$ and $T=(a\times b)\times-: C\to C$. The object functions for $S$ and $T$ are obvious: $c\mapsto a\times(b\times c)$ and $c\mapsto(a\times b)\times c$. But what about the arrow functions? And when it comes to $\tau$, each $c$ of $C$ is mapped to which arrow of $C$?
The book can be a bit tough to follow sometimes; but I guess that's part of the charm. Any help would be greatly appreciated.
Here’s a diagram of the relevant morphisms (produced with quiver). The solid black arrows are the projections given by the definition of the product. The dotted red arrows are compositions of those projections. The dashed blue arrows are obtained by applying the universal properties of their target products to suitable black and red arrows.
Composing the vertical blue arrows in the centre yields morphisms from the triple products to themselves. By chasing arrows, you can check that the composition of these morphisms with the projections of the triple products again yields those projections. By uniqueness of the universal property, it follows that these morphisms are the identity morphisms on the triple products, and thus the vertical blue arrows are isomorphisms between the triple products.
Here’s a diagram for how to obtain an arrow from $(a\times b)\times c$ to $(a\times b)\times c'$ given an arrow from $c$ to $c'$. The squiggly green line is the given arrow from $c$ to $c'$. As above, the black arrows are the projections of the products, the dotted red arrow is a composition, and the dashed blue arrow is obtained by applying the universal property.
And here’s the diagram for obtaining an arrow from $a\times(b\times c)$ to $a\times(b\times c')$ given an arrow from $c$ to $c'$ (same colour/texture coding as before). The coloured arrows are obtained from right to left, each using the previous one.