A basic problem of topology is determining whether two spaces are homeomorphic. If so, then a continuous mapping between them with continuous inverse exists. Otherwise, if one can find a topological property that holds for one but not the other, then they cannot be homeomorphic:
and are not homeomorphic because the latter is compact and the former is not. and the long line are not homeomorphic because the former has a countable basis and the latter does not. and are not homeomorphic because deleting a point from the latter leaves a connected space while doing so from the former does not.
However, distinguishing between and is more involved: deleting a point from the latter leaves a simply connected space while doing so from the former does not.
To distinguish between more spaces, a more general tool, their fundamental groups, can be used: two spaces are homeomorphic if their fundamental groups are isomorphic. For example, if a space is simply connected, then its fundamental group is trivial.
These writings build the tools necessary to talk about the fundamental group.
Claim: If ; ; ; and , then .
Proof: is a homotopy.
Claim: is a singleton.
Proof: is a homotopy.
Claim: If is path-connected, then is a singleton.
Proof: If is a path from to , then are closed subpaths of and thus homotopic to .
Claim: and are contractible.
Proof: is a homotopy, i.e., and are nulhomotopic to .
Claim: If is contractible, then is path-connected.
Proof: is a path from to , where is a homotopy between and .
Claim: If is contractible, then is a singleton.
Proof: is homotopic to since is homotopic to .
Claim: If is contractible and is path-connected, then is a singleton.
Proof: is homotopic to since is homotopic to and all constant maps are nulhomotopic since is path-connected.