I'm trying to prove this approximation. Could you verify if my attempt is fine?
Let $(X, d)$ be a metric space, $\operatorname{Lip}_{b}(X)$ the space of Lipschitz continuous bounded real-valued maps on $X$, and $\mu$ a finite Borel measure on $X$. Let $U$ be open in $X$.
- For every $U \subset X$ open and every $\varepsilon>0$ there exists an $f \in \operatorname{Lip}_{b}(X)$ with $0 \leq f \leq \mathbb{1}_{U}$ and $\int ( 1_U - f ) \mathrm d \mu<\varepsilon$.
- For every $A \in \mathcal{B}(X)$ and every $\varepsilon>0$ there exists an $f \in \operatorname{Lip}_{b}(X)$ with $\int |f-\mathbb{1}_{A} | \mathrm d \mu<\varepsilon$.
I post my proof separately as below answer. This allows me to subsequently remove this question from unanswered list.