Homotopy equivalence
= Homotopy equivalence
{wiki}
Spaces $X$ and $Y$ are homotopy equivalent when there are continuous maps
$$
f:X\to Y,\qquad g:Y\to X
$$
such that $g\circ f$ is homotopic to $\operatorname{id}_X$ and $f\circ g$ is homotopic to $\operatorname{id}_Y$.