Lemma (homotopy lemma, number of preimages)
Let $f,g: X\to Y$ be smooth maps between manifolds ($X$ cannot have boundary but $Y$ can), and $y\in Y$. Suppose
-
$f$ and $g$ are smoothly homotopic;
-
$X$ is compact;
-
$\dim X = \dim Y$; and
-
$y$ is a regular value of $f$ and $g$.
Then $$ \begin{align*} \# f\inv(y) = \# g\inv(y). \end{align*} $$