Canonical: https://knowlpedia.com/topology/homotopy-equivalence/

# Homotopy equivalence

A pair of maps inverse to one another up to continuous deformation.

Two [topological spaces](https://knowlpedia.com/topology/topological-space/) \(X\) and \(Y\) are **homotopy equivalent** if there are [continuous maps](https://knowlpedia.com/topology/continuous-map/) \(f:X\to Y\) and \(g:Y\to X\) such that \(g\circ f\) is [homotopic](https://knowlpedia.com/topology/homotopy/) to \(\operatorname{id}_X\) and \(f\circ g\) is homotopic to \(\operatorname{id}_Y\).

## Consequences

Homotopy equivalence preserves homotopy invariants, such as homotopy groups and singular homology, but it is weaker than [homeomorphism](https://knowlpedia.com/topology/homeomorphism/). It records the large-scale deformation type rather than the exact local topology.
