Homeomorphisms and isometries

Definition (homeomorphism) open_in_new

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.

Definition (isometry) open_in_new

Let $(X,d)$ and $(Y,d')$ be metric spaces.

A function $f: (X,d) \to (Y,d')$ is said to be an isometry if it is bijective and $$ \begin{align*} d'(f(x), f(y)) = d(x,y) \qquad \text{for all }x,y\in X. \end{align*} $$ We say $(X,d)$ and $(Y,d')$ are isometric if such a function exists.

Isometries are homeomoprhisms. (Derivation)