Proof (additivity of the integral)

Suppose $f: [a,b]\to\R$ is integrable and fix $\epsilon > 0$. By Cauchy criterion, there exists some dissection $\mathcal{D}$ of $[a,b]$ such that $$ \begin{align*} U(f,\mathcal{D}) - L(f,\mathcal{D}) < \epsilon. \end{align*} $$ By considering $\mathcal{D}\cup\set{c}$ if necessary, we can assume $\mathcal{D} = \set{x_0, x_1, \ldots, x_n}$ and $x_l = c$ for some $l$.

Let $\mathcal{D}_L = \set{x_0, \ldots, x_l}$ and $\mathcal{D}_R = \set{x_l, \ldots, x_n}$. Then $\mathcal{D}_L, \mathcal{D}_R$ are dissections of $[a,c]$ and $[c,b]$ respectively with $$ \begin{align*} \begin{cases} L(f,\mathcal{D}) &= L(f\big|_{[a,c]}, \mathcal{D}_L) + L(f\big|_{[c,b]}, \mathcal{D}_R), \\ U(f,\mathcal{D}) &= U(f\big|_{[a,c]}, \mathcal{D}_L) + U(f\big|_{[c,b]}, \mathcal{D}_R). \end{cases} \tag{*} \end{align*} $$ Subtracting them gives $$ \begin{align*} \ub{\left[U(f\big|_{[a,c]}, \mathcal{D}_L) - L(f\big|_{[a,c]}, \mathcal{D}_R)\right]}_{\geq 0} + \ub{\left[U(f|_{[a,c]}, \mathcal{D}_L) - L(f|_{[c,b]}, \mathcal{D}_L)\right]}_{\geq 0} < \epsilon \end{align*} $$ so $$ \begin{align*} \begin{cases} U(f\big|_{[a,c]}, \mathcal{D}_L) - L(f\big|_{[a,c]}, \mathcal{D}_R) &< \epsilon, \\ U(f\big|_{[c,b]}, \mathcal{D}_L) - L(f\big|_{[c,b]}, \mathcal{D}_R) &< \epsilon. \end{cases} \tag{\dagger} \end{align*} $$ Therefore $f\big|_{[a,c]}$ and $f\big|_{[c,b]}$ are integrable.

Now suppose $f\big|_{[a,c]}$ and $f\big|_{[c,b]}$ are integrable. Then by Cauchy criterion, there exist $\mathcal{D}_L, \mathcal{D}_R$ such that $(\dagger)$ is true. Let $\mathcal{D} = \mathcal{D}_L \cup \mathcal{D}_R$. Then by (*) we deduce $$ \begin{align*} U(f,\mathcal{D}) - U(f,\mathcal{D}) < 2\epsilon. \end{align*} $$ Therefore $f$ is integrable.

Finally note that (*) and $(\dagger)$ imply $$ \begin{align*} \int_{a}^{b} f \geq L(f,\mathcal{D}) = L(f\big|_{[a,c]}, \mathcal{D}_L) + L(f\big|_{[c,b]}, \mathcal{D}_R) \geq \int_{a}^{c} f - \epsilon + \int_{a}^{b} f - \epsilon, \\ \int_{a}^{b} f \leq U(f,\mathcal{D}) = U(f\big|_{[a,c]}, \mathcal{D}_L) + U(f\big|_{[c,b]}, \mathcal{D}_R) \leq \int_{a}^{c} f + \epsilon + \int_{a}^{b} f + \epsilon, \end{align*} $$ and therefore $$ \begin{align*} \left|\int_{a}^{b} f - \int_{a}^{c} f - \int_{c}^{b} f \right| \leq 2\epsilon \end{align*} $$ but $\epsilon$ is arbitrary so we are done.