Definition (homeomorphism)
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
A function $f: (X,\tau)\to(Y,\rho)$ is said to be a homeomorphism if $f$ is bijective, and $f$ and $f\inv$ are continuous.
We say $(X,\tau)$ and $(Y,\rho)$ are homeomorphic if such a function exists.