I just read the following property and proof:
Let $I = [a_1, b_1] \times ... \times [a_n, b_n]\subset \mathbb{R}^n$ and $f,g : I \rightarrow \mathbb{R}$ integrable functions such that $f \leq g$. Then $\int_I f \leq \int_I g$.
Proof: It is a consequence of the property $U(f,P) \leq U(g,P)$.
I don' t really understand it.
Because $f,g$ are integrable, then its upper Riemann integrals coincide with its integrals, so $\int_I f \leq \int_I g \iff \inf \{U(f,P): \text {$P$ partition of $I$} \} \leq \inf \{U(g,P): \text {$P$ partition of $I$} \}$.
But in the proof it is assumed that the partition $P$ that makes $U(f, P)$ the smallest is the same that the one that makes $U(g,P)$ the smallest. Why is this true? Or does it mean that $U(f,P') \leq U(g,P'')$ for any $P', P''$ partitions of $I$ ?