Let $E$ be a metric space and $\mu$ be a finite signed measure on $\mathcal B(E)$.
I would like to show that$^1$ $$|\mu|(C)=\sup_{\substack{f\in C_b(E)\\|f|\le1\\\left.f\right|_{E\setminus C}=0}}\mu f\;\;\;\text{for all open }C\subseteq E\tag1.$$ Moreover, I would like to know whether there is a similar identity for $|\mu|(A)$ and closed $A\subseteq E$.
Note that "$\le$" in $(1)$ is clearly trivial. The other inequality should follow from the following two results:
Lemma 1: If $\nu$ is a finite signed measure on $\mathcal B(E)$, $B\in\mathcal B(E)$ and $\varepsilon>0$, then $$|\nu|(C\setminus A)<\varepsilon\tag2$$ for some closed $A\subseteq E$ and open $C\subseteq E$ with $A\subseteq B\subseteq C$.
Lemma 2: If $\emptyset\subset A\subseteq E$ and $C\subset E$ with $\overline A\subseteq C^\circ$, then there is a $f\in C_b(E)$ with $0\le1 f\le 1$ and \begin{align}\left.f\right|_A&=1\tag{3a}\\\left.f\right|_{E\setminus C}&=0.\tag{3b}\end{align}
Now let $C\subseteq E$ be open and $\varepsilon>0$. Let $E^{\pm}$ be a Hahn decomposition of $E$ wrt $\mu$ and $C^\pm:=C\cap E^\pm$. By Lemma 1, applied to both measures in the Jordan decomposition $\mu^\pm$ of $\mu$ individually, $$\pm\mu(C^\pm\setminus A^\pm)=\mu^\pm(C\setminus A)<\varepsilon\tag4$$ for some closed $A^\pm\subseteq E$ with $A^\pm\subseteq C^\pm\subseteq C$. (We may need to exclude the cases $A^\pm=\emptyset$ and $C^\pm=E$.)
Now, by Lemma 2, there is a $f^\pm\in C_b(E)$ with $0\le f^\pm\le 1$ and \begin{align}\left.f^\pm\right|_{A^\pm}&=1\tag{5a}\\\left.f^\pm\right|_{E\setminus C^\pm}&=0.\tag{5b}\end{align} Let $$g:=f^+-f^-.$$ Note that $g\in C_b(E)$ with $|g|\le1$ and \begin{align}\left.g\right|_{A^\pm}&=\pm1\tag{6a}\\\left.g\right|_{E\setminus C}&=0.\tag{6b}\end{align}
Question 1: We are done if we can show that $\mu g>|\mu|(C)-2\varepsilon$. However, for some reason, I'm not able to obtain this inequality. How do we need to split the integral $$\mu g=\int_Cg\:{\rm d}\mu\tag7$$ in order to obtain this result?
Question 2: Can we find a similar identity for $|\mu|(A)$ and closed $A\subseteq E$?
$^1$ $C_b(E)$ denotes the space of bounded continuous functions and $\mu f:=\int f\:{\rm d}\mu$.