I am trying to prove some functional inequalities. In this context, I stumbled upon the following interrogation.
Let $f \in C^\infty([0,1];\mathbb{R})$. Is is true that $$\mu \Big(\left\{ f \neq 0 \right\}\Big) = \mu \Big(\overline{\left\{ f \neq 0\right\}} \Big)$$ where $\mu$ denotes the Lebesgue measure?
I know that there are open sets $E$ such that $\mu(E) \neq \mu(\overline{E})$ but I was wondering if the added structure of the set-theoretic support for a smooth function prevented the usual counter-examples based on Cantor sets.