I am reading Dinakar Ramakrishnan&Robert J.Valenza Fourier Analysis on Number Fields.
I want to understand following proposition.
Prop 1-7 (ii) Let $G$ be a locally compact group with nonzero Radon measure $\mu $.
The measure $\mu$ is a left Haar measure on G if and only if $$ \int_{G} L_s f d\mu = \int _G f d\mu $$ for all $f \in \mathcal{C}_c^{+}$ and $s \in G$
And following is the proof of this prop.
Conversely, from the positive linear functional $f \mapsto \int_G f d\mu$ on $\mathcal{C_c}(G)$ we can, by the Riesz representation theorem, explicitly recover the Radon measure $\mu$ of any open subset $U \subset G$ as follows: $$ \mu (U) = \sup \{\int_G f d\mu \mid f \in \mathcal{C_c}(G), \ \|f\|_u \leq 1, \text{ and supp}(f) \subset U \} $$
I am wondering why the last equality holds.
Thank you for your directions.