I realized that, for any pair of non-homeomorphic topological spaces that I know of, those three invariants are usually sufficient to prove that the two spaces are not the same. So, for example:
- the interval $[0,1]$ and the real line $\mathbb{R}$ are both connected and their fundamental group is the trivial group, but the former is compact while the latter isn't;
- the interval $[0,1]$ and the union of intervals $[0,1]\cup[2,3]$ are both compact sets and their fundamental group is the same for each of their connected components, but the former is connected while the latter isn't;
- the circumference $S^1$ and the spherical surface $S^2$ are both connected and compact, but $\pi(S^1) = \mathbb{Z}$ while $\pi(S^2) = \{1\}$.
But I was wondering: can I find two topological spaces that are both compact (or not compact) and connected (or disconnected)—and that also have the same fundamental group—despite not being homeomorphic? If yes, what other topological invariant(s) could help us understand they're not the same space?
If your topological space is a low-dimensional manifold or a knot, then there are plenty of invariants.