Suppose that $\Omega$ is bounded domain in $\mathbb{R}^n$ with $C^k$ boundary. Why is it that for points sufficiently close to the boundary the distance function $d = d( \cdot, \partial \Omega)$ is $C^k$? I can see it is enough to take a small ball around the boundary, and take a $C^k$ function $\psi$ defining the boundary and show that this give me a $C^k$ distance function, then use compactness. But, I don't see how to do this.
Thoughts?
Thanks