Theorem (Sard)

Let $f: X\to Y$ be a smooth map between manifolds.

The set of critical values of $f$ is of measure zero as a subset of $Y$.

Therefore the set of regular values is dense in $Y$.