Theorem (degree mod 2)
Let $f: X\to Y$ be a smooth map between manifolds ($X$ cannot have boundary but $Y$ can), and $y, y'\in Y$. Suppose
-
$\dim X = \dim Y$;
-
$X$ is compact;
-
$Y$ is connected; and
-
$y$ and $y'$ are regular values of $f$.
Then $$ \begin{align*} \# f\inv(y) \equiv \# f\inv(z) \pmod 2. \end{align*} $$
This common value (mod 2) is called the degree mod 2 of $f$ (denoted $\deg_2 f$).
We showed $\deg_2 f = \deg_2 g$ if $f$ and $g$ are smoothly homotopic.
A manifold $X$ is contractible (i.e. a constant map $X\to X$ is smoothly homotopic to identity) iff $X = \set{*}$.