Pointwise Addition on Rational-Valued Functions is Associative

Theorem
Let $S$ be a set. Let $f, g, h: S \to \Q$ be rational-valued functions.

Let $f + g: S \to \Q$ denote the pointwise sum of $f$ and $g$.

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

That is, pointwise addition on rational-valued functions is associative.