[step:Prove measurability of $\max(f,g)$, $\min(f,g)$, $f^+$, and $f^-$]
**(Parts (v) and (vi).)** For $\max(f, g)$: for any $a \in \mathbb{R}$,
\begin{align*}
\{x \in X : \max(f(x), g(x)) > a\} = \{x \in X : f(x) > a\} \cup \{x \in X : g(x) > a\} \in \mathcal{F},
\end{align*}
since $\max(f(x), g(x)) > a$ if and only if at least one of $f(x), g(x)$ exceeds $a$. By the generator criterion, $\max(f, g)$ is $\mathcal{F}$-measurable.
For $\min(f, g)$: $\min(f(x), g(x)) > a$ if and only if both $f(x) > a$ and $g(x) > a$, so
\begin{align*}
\{x \in X : \min(f(x), g(x)) > a\} = \{x \in X : f(x) > a\} \cap \{x \in X : g(x) > a\} \in \mathcal{F}.
\end{align*}
For $f^+ = \max(f, 0)$: the constant function $0$ is measurable, so $\max(f, 0)$ is measurable by the case just proved. Similarly, $f^- = \max(-f, 0)$ is measurable since $-f$ is measurable by the scalar multiple case and $\max(-f, 0)$ is measurable by the same argument.
[/step]