Suppose we are given a smooth function $f\colon \mathbb{R}^n \rightarrow \mathbb{R}$ and some number $c$. What can be said about the preimage $f^{-1}(c)$.
There's the theorem on regular preimages, asserting that if $\nabla f$ is nowhere vanishing on $M=f^{-1}(c),$ then $M$ is a smooth submanifold of dimension $n-1$.
But now lets assume that one does not have a regular preimage. Can one say anything about the preimage here (except what would already follow from continuity), or is this a hopeless case?