If $f$ is Riemann integrable, prove Upper Riemann Integral is equal to Lower Riemann Integral, $U(f) = L(f)$, where
$$U(f) = \inf \{ U(f, P) \mid P \text{ is a partition of } [a,b] \}$$
$$L(f) = \sup \{ L(f, P) \mid P \text{ is a partition of } [a,b] \}.$$
My professor asks us to prove this in parts.
(a) If $\varepsilon \gt 0 $, show that there is a partition of $P_1$ with width $W(P_1) \lt \delta$ and sample points for $P_1$ such that Riemann Sum $S_1 \gt U(f) -\frac{\varepsilon}{2}$ . (Hint: choose the partition based on denition of greatest lower bound, add points to make the width less than $\delta$)
points to make the width less
(b) show that there is a partition of $P_2$ with width $W(P_2) \lt \delta$ and sample points for $P_2$ such that Riemann Sum $S_2 \lt L(f) +\frac{\varepsilon}{2}$.
And another two parts..
I am having problems with proving both (a) and (b).
Edit: While it seems similar to this question, I am supposed to show that $U(f) = L(f)$ and in the addressed question, I don't think $U(f) = L(f)$ was proven.