A G-delta subset of a completely metrizable space is completely metrizable

See it in Lean

Axioms
ZFC only
Concerns
Completely metrizable

Statement

Let \(X\) be a completely metrizable space and let \(S \subseteq X\) be a \(G_\delta\) set, that is, an intersection of countably many open subsets of \(X\). Then \(S\), with the subspace topology, is completely metrizable.

Proof

Choose a complete metric \(d\) inducing the topology of \(X\), and write \(S = \bigcap_{n \ge 1} U_n\) with each \(U_n\) open in \(X\); repeating sets if necessary, the family is indexed by all \(n \ge 1\) (if \(S = X\) take \(U_n = X\) for every \(n\)). For each \(n\) define \(\varphi_n : S \to \mathbb{R}\) as follows. If \(U_n = X\), let \(\varphi_n = 0\). Otherwise \(F_n = X \setminus U_n\) is closed and nonempty, the function \(d(x, F_n) = \inf_{z \in F_n} d(x, z)\) satisfies \(|d(x, F_n) - d(y, F_n)| \le d(x, y)\), so it is continuous, and \(d(x, F_n) > 0\) for \(x \in U_n\), since \(F_n\) is closed; let \(\varphi_n(x) = 1 / d(x, F_n)\). Each \(\varphi_n\) is continuous on \(S\). For \(x, y \in S\) let \[d'(x, y) = d(x, y) + \sum_{n \ge 1} 2^{-n} \min\bigl(1, |\varphi_n(x) - \varphi_n(y)|\bigr).\] The series converges, its terms being at most \(2^{-n}\).

\(d'\) is a metric. It is symmetric and nonnegative, and \(d'(x, y) = 0\) forces \(d(x, y) = 0\), so \(x = y\). For each \(n\) the function \((x, y) \mapsto \min(1, |\varphi_n(x) - \varphi_n(y)|)\) satisfies the triangle inequality, since \(\min(1, a + b) \le \min(1, a) + \min(1, b)\) for \(a, b \ge 0\); so does \(d\), and hence so does the sum.

\(d'\) induces the subspace topology of \(S\). Since \(d \le d'\), every \(d\)-ball of \(S\) contains the \(d'\)-ball with the same centre and radius. Conversely, let \(x \in S\) and \(\varepsilon > 0\). Choose \(N\) with \(2^{-N} < \varepsilon / 3\). By continuity of \(\varphi_1, \dots, \varphi_N\) at \(x\) there is \(\delta > 0\), which we take at most \(\varepsilon / 3\), such that \(|\varphi_n(x) - \varphi_n(y)| < \varepsilon / 3\) for \(n \le N\) whenever \(y \in S\) and \(d(x, y) < \delta\). For such \(y\), \[d'(x, y) < \frac{\varepsilon}{3} + \sum_{n \le N} 2^{-n} \frac{\varepsilon}{3} + \sum_{n > N} 2^{-n} < \frac{\varepsilon}{3} + \frac{\varepsilon}{3} + \frac{\varepsilon}{3} = \varepsilon,\] so the \(d\)-ball in \(S\) of centre \(x\) and radius \(\delta\) lies in the \(d'\)-ball of radius \(\varepsilon\).

\(d'\) is complete. Let \((x_k)\) be a \(d'\)-Cauchy sequence in \(S\). Since \(d \le d'\) it is \(d\)-Cauchy, so it converges in \(X\) to some point \(p\). Fix \(n\) with \(U_n \ne X\). For \(k, l\) large enough that \(d'(x_k, x_l) < 2^{-n}\), the \(n\)-th term gives \(\min(1, |\varphi_n(x_k) - \varphi_n(x_l)|) < 1\), hence \(|\varphi_n(x_k) - \varphi_n(x_l)| \le 2^n d'(x_k, x_l)\). So \((\varphi_n(x_k))_k\) is a Cauchy sequence of reals and is bounded, by \(M\) say. Then \(d(x_k, F_n) \ge 1 / M\) for all \(k\), and letting \(k \to \infty\), \(d(p, F_n) \ge 1 / M > 0\), so \(p \notin F_n\), that is \(p \in U_n\). This holds for every \(n\), so \(p \in S\). Finally \(x_k \to p\) for \(d'\): \(x_k \to p\) for \(d\), and \(d\) and \(d'\) induce the same topology on \(S\). \(\blacksquare\)

Where it is used

Cited on space pages

Cited in proofs of other theorems

References

  • Engelking, General Topology, Revised and completed edition (1989), Theorem 4.3.23, p. 274 (complete metrizability passes to G-delta subsets; 4.3.24 gives the converse for subspaces of metrizable spaces)