Subspaces of metrizable spaces are metrizable

See it in Lean

Axioms
ZFC only
Concerns
Metrizable

Statement

Let \(f : Y \to X\) be an embedding: an injective map such that the open sets of \(Y\) are exactly the preimages \(f^{-1}(U)\) of the open sets \(U\) of \(X\) (equivalently, a homeomorphism of \(Y\) onto the subspace \(f(Y)\)). In particular the inclusion of a subspace is an embedding. If \(X\) is metrizable, then so is \(Y\).

Proof

Let \(d\) be a metric inducing the topology of \(X\), and put \(\rho(y, y') = d(f(y), f(y'))\). Then \(\rho\) is a metric on \(Y\): it is symmetric, it vanishes exactly when \(f(y) = f(y')\), that is when \(y = y'\) since \(f\) is injective, and its triangle inequality is that of \(d\). Its balls are \(B_\rho(y, r) = f^{-1}(B_d(f(y), r))\), which are open in \(Y\). Conversely, an open set \(W\) of \(Y\) is \(f^{-1}(U)\) with \(U\) open in \(X\); for \(y \in W\) some ball \(B_d(f(y), r)\) lies in \(U\), and then \(B_\rho(y, r) \subseteq W\). So \(\rho\) induces the topology of \(Y\). \(\blacksquare\)

Where it is used

Cited on space pages

Cited in proofs of other theorems