Pointwise Multiplication on Real-Valued Functions is Associative

Theorem
Let $S$ be a non-empty set. Let $f, g, h: S \to \R$ be real-valued functions.

Let $f \times g: S \to \R$ denote the pointwise product of $f$ and $g$.

Then:
 * $\paren {f \times g} \times h = f \times \paren {g \times h}$

That is, pointwise multiplication on real-valued functions is associative.