Let $\Omega$ be a bounded domain with sufficiently smooth boundary. Let $u \in W^{1, 2}_{0}(\Omega)$ and $F \in C^{\infty}(\mathbb{R} \rightarrow \mathbb{R})$ such that $F(u(x)) = 0$ for almost every $x \in \Omega$. Must $F(0) = 0$?
My thoughts are: I think the answer is yes. Suppose $u$ instead was smooth. The $F(u(x)) = 0$ for every $x \in \Omega$. By continuity, $F(u(x)) = 0$ for every $x \in \overline{\Omega}$. Since $u = 0$ on the boundary $\partial \Omega$, then there exists an $x_{0}$ such that $u(x_{0}) = 0$. Thus $F(u(x_{0})) = 0$ and hence $F(0) = 0$. However, I am not sure how to argue if $u$ was not smooth. My first thought was to approximate $u \in W^{1, 2}_{0}$ by smooth functions, but then I'll be working with a Sobolev norm.