Let $X\subset Y$ be CW-complexes. Denote $i\colon X\to Y$ be an inclusion map.
Is it true that $i$ is deformation retract if and only if $i$ is homotopy equivalence?
When I saw some papers about h-cobordism theorem, authors usually checks inclusion map is a homotopy equivalence to prove that inclusion map is deformation retract.