Proof (integral of sum of functions is sum of integrals)

To show that $\sup_I(f+g) \leq \sup_I f + \sup_I g$ for some interval $I$, note that $$ \begin{align*} & f(x) \leq \sup_I f, \quad g(x) \leq \sup_I g\\ \implies & f(x) + g(x) \leq \sup_I f + \sup_I g \\ \implies & \sup_I (f+g) \leq \sup_I f + \sup_I g. \end{align*} $$ Similarly $\inf_I (f+g) \geq \inf_I f + \inf_I g$.

Therefore $U(f+g, \mathcal{D}) \leq U(f,\mathcal{D}) + U(g,\mathcal{D})$ and $L(f+g, \mathcal{D}) \geq L(f,\mathcal{D}) + L(g,\mathcal{D})$.

Since $f,g$ integrable, there exists dissections $\mathcal{D}_1, \mathcal{D}_2$ such that $$ \begin{align*} \int_{a}^{b} f - \epsilon \leq L(f,\mathcal{D}_1) \leq U(f,\mathcal{D}_1) \leq \int_{a}^{b} f + \epsilon, \\ \int_{a}^{b} g - \epsilon \leq L(g,\mathcal{D}_2) \leq U(g,\mathcal{D}_2) \leq \int_{a}^{b} g + \epsilon. \\ \end{align*} $$ Consider the common refinement $\mathcal{D}=\mathcal{D}_1 \cup \mathcal{D}_2$. Then $$ \begin{align*} \int_{a}^{b} f + \int_{a}^{b} g - 2\epsilon &\leq L(f,\mathcal{D}_1) + L(g,\mathcal{D}_2) \\ &\leq L(f,\mathcal{D}) + L(g,\mathcal{D}) \\ &\leq L(f+g,\mathcal{D}) \\ &\leq I_\star(f+g) \\ &\leq I^\star(f+g) \\ &\leq U(f+g,\mathcal{D}) \\ &\leq U(f,\mathcal{D}) + U(g,\mathcal{D}) \\ &\leq U(f,\mathcal{D}_1) + U(g, \mathcal{D}_2) \\ &\leq \int_{a}^{b} f + \int_{a}^{b} g + 2\epsilon. \end{align*} $$ But $\epsilon$ is arbitrary so $$ \begin{align*} \int_{a}^{b} f+g = \int_{a}^{b} f + \int_{a}^{b} g. \end{align*} $$