Result
R1022: Partition of basic function into positive and negative parts provides the partitions $f = f^+ - f^-$ and $g = g^+ - g^-$. Since $f \leq g$ almost everywhere, then also $f^+ \leq g^+$ almost everywhere, whence
R1514: Isotonicity of signed basic integral implies
\begin{equation}
\int_X f^+ \, d \mu
\leq \int_X g^+ \, d \mu
\end{equation}
Similarly, we have $f^- \geq g^-$ almost everywhere and thus $\int_X f^- \, d \mu \geq \int_X g^- \, d \mu$. Negating both sides, this gives
\begin{equation}
- \int_X f^- \, d \mu \leq - \int_X g^- \, d \mu
\end{equation}
Applying results
and the above two inequalities, we may then conclude
\begin{equation}
\int_X f \, d \mu = \int_X f^+ \, d \mu - \int_X f^- \, d \mu \leq \int_X g^+ \, d \mu - \int_X g^- \, d \mu = \int_X g \, d \mu
\end{equation}
$\square$