Math 2.0

General topology Proof

Proof of Urysohn's lemma by dyadic open sets

Builds on Normal spaceClosed setClosureClosure is the smallest closed supersetTopological spaceExistence of the infimumInfimumThe reals are ArchimedeanFloor functionSubspace topologyMetric topologyOpen sets characterised by neighbourhoodsContinuous map of topological spaces

Proof

We build open sets UrU_r indexed by dyadic rationals and let f(x)f(x) be the least index of a set that contains xx. For W⊆XW \subseteq X, write W‾\overline{W} for the closure. By the closure is the smallest closed superset, W⊆W‾W \subseteq \overline{W}, W‾\overline{W} is closed, and W‾⊆F\overline{W} \subseteq F for each closed F⊇WF \supseteq W.

A shrinking lemma.

  1. Claim: if CC is closed, WW is open and C⊆WC \subseteq W, then some open VV has C⊆VC \subseteq V and V‾⊆W\overline{V} \subseteq W.
  2. The set X∖WX \setminus W is closed, since its complement WW is open. It is disjoint from CC.
  3. Since XX is normal, there are disjoint open sets V⊇CV \supseteq C and V′⊇X∖WV' \supseteq X \setminus W.
  4. Then V⊆X∖V′V \subseteq X \setminus V', and X∖V′X \setminus V' is closed. So V‾⊆X∖V′⊆W\overline{V} \subseteq X \setminus V' \subseteq W. This proves the claim.

The sets UrU_r.

  1. For n≥0n \ge 0, let Dn={k/2n:k∈ℤ, 0≤k≤2n}D_n = \set{k / 2^n : k \in \Z, \ 0 \le k \le 2^n}. Then Dn⊆Dn+1D_n \subseteq D_{n+1}. Let DD be the union of all DnD_n.
  2. Let U1=X∖BU_1 = X \setminus B. It is open, and A⊆U1A \subseteq U_1 since A∩B=∅A \cap B = \varnothing. Step 1 gives an open U0U_0 with A⊆U0A \subseteq U_0 and U0‾⊆U1\overline{U_0} \subseteq U_1.
  3. Let PnP_n say: open sets UrU_r are given for r∈Dnr \in D_n, with Ur‾⊆Us\overline{U_r} \subseteq U_s whenever r<sr < s in DnD_n. Step 6 gives P0P_0.
  4. Under PnP_n, if r≤sr \le s in DnD_n, then Ur⊆UsU_r \subseteq U_s. For r<sr < s this is Ur⊆Ur‾⊆UsU_r \subseteq \overline{U_r} \subseteq U_s.
  5. Assume PnP_n. Each r∈Dn+1∖Dnr \in D_{n+1} \setminus D_n has the form r=(2k+1)/2n+1r = (2k+1)/2^{n+1}. Let r−=k/2nr^- = k / 2^n and r+=(k+1)/2nr^+ = (k+1)/2^n, the neighbours of rr in DnD_n.
  6. By PnP_n, Ur−‾⊆Ur+\overline{U_{r^-}} \subseteq U_{r^+}. Step 1 gives an open UrU_r with Ur−‾⊆Ur\overline{U_{r^-}} \subseteq U_r and Ur‾⊆Ur+\overline{U_r} \subseteq U_{r^+}.
  7. We check Pn+1P_{n+1}. Let r<sr < s in Dn+1D_{n+1}. If r,s∈Dnr, s \in D_n, use PnP_n.
  8. If r∉Dnr \notin D_n and s∈Dns \in D_n, then s≥r+s \ge r^+, since r+r^+ is the least element of DnD_n above rr. So Ur‾⊆Ur+⊆Us\overline{U_r} \subseteq U_{r^+} \subseteq U_s by steps 10 and 8.
  9. If r∈Dnr \in D_n and s∉Dns \notin D_n, then r≤s−r \le s^-. Also Ur‾⊆Us−‾\overline{U_r} \subseteq \overline{U_{s^-}}, by PnP_n when r<s−r < s^-. So Ur‾⊆Us−‾⊆Us\overline{U_r} \subseteq \overline{U_{s^-}} \subseteq U_s.
  10. If r,s∉Dnr, s \notin D_n, then s−r≥2/2n+1s - r \ge 2 / 2^{n+1}, since both are odd multiples of 1/2n+11/2^{n+1}. So r+≤s−r^+ \le s^-, and Ur‾⊆Ur+⊆Us−⊆Us−‾⊆Us\overline{U_r} \subseteq U_{r^+} \subseteq U_{s^-} \subseteq \overline{U_{s^-}} \subseteq U_s.
  11. By induction on nn, PnP_n holds for all nn. Sets chosen at one stage are kept at later stages. So for all r<sr < s in DD we have Ur‾⊆Us\overline{U_r} \subseteq U_s, and Ur⊆UsU_r \subseteq U_s.

The function ff.

  1. For x∈Xx \in X, let S(x)={r∈D:x∈Ur}∪{1}S(x) = \set{r \in D : x \in U_r} \cup \set{1}. It is nonempty and contained in [0,1][0, 1]. By the existence of the infimum, let f(x)=inf⁡S(x)f(x) = \inf S(x). Then 0≤f(x)≤10 \le f(x) \le 1.
  2. Let a∈Aa \in A. Then a∈U0a \in U_0, so 0∈S(a)0 \in S(a) and f(a)=0f(a) = 0.
  3. Let b∈Bb \in B. Then b∉U1b \notin U_1, and Ur⊆U1U_r \subseteq U_1 for all r∈Dr \in D by step 15. So S(b)={1}S(b) = \set{1} and f(b)=1f(b) = 1.
  4. Fact (i): if r∈Dr \in D and x∉Urx \notin U_r, then f(x)≥rf(x) \ge r. Indeed, if s∈Ds \in D and x∈Usx \in U_s, then s>rs > r, since s≤rs \le r would give x∈Urx \in U_r. Also 1≥r1 \ge r. So rr is a lower bound of S(x)S(x), and r≤f(x)r \le f(x) by the definition of the infimum.
  5. Density: if 0≤c<e≤10 \le c < e \le 1, some s∈Ds \in D has c<s<ec < s < e. Since the reals are Archimedean, choose nn with n(e−c)>1n (e - c) > 1. Then 2n≥n2^n \ge n gives 2−n<e−c2^{-n} < e - c.
  6. Let k=⌊2nc⌋+1k = \floor{2^n c} + 1, using the floor. Then c<k/2n≤c+2−n<ec < k / 2^n \le c + 2^{-n} < e. Since 0≤c0 \le c and e≤1e \le 1, we get 0<k≤2n0 < k \le 2^n. So s=k/2n∈Dns = k / 2^n \in D_n works.
  7. Fact (ii): if r∈Dr \in D and x∈Ur‾x \in \overline{U_r}, then f(x)≤rf(x) \le r. This is clear for r=1r = 1. Let r<1r < 1 and suppose f(x)>rf(x) > r.
  8. By step 20 with c=rc = r and e=f(x)e = f(x), some s∈Ds \in D has r<s<f(x)r < s < f(x). By step 15, x∈Ur‾⊆Usx \in \overline{U_r} \subseteq U_s, so s∈S(x)s \in S(x) and f(x)≤sf(x) \le s. This is a contradiction.

Continuity of ff.

  1. Give [0,1][0, 1] the subspace topology of the metric topology of ℝ\R. Let OO be open in [0,1][0, 1], let x0∈f−1(O)x_0 \in f^{-1}(O) and let t=f(x0)t = f(x_0).
  2. Write O=[0,1]∩O′O = [0, 1] \cap O' with O′O' open in ℝ\R. There is ε>0\varepsilon > 0 with (t−ε,t+ε)⊆O′(t - \varepsilon, t + \varepsilon) \subseteq O'. So (t−ε,t+ε)∩[0,1]⊆O(t - \varepsilon, t + \varepsilon) \cap [0, 1] \subseteq O.
  3. Upper side. If t+ε>1t + \varepsilon > 1, let W1=XW_1 = X; then f(x)≤1<t+εf(x) \le 1 < t + \varepsilon on W1W_1. Otherwise step 20 gives q∈Dq \in D with t<q<t+εt < q < t + \varepsilon.
  4. In that case, f(x0)<qf(x_0) < q, so x0∈Uqx_0 \in U_q by fact (i). Let W1=UqW_1 = U_q. For x∈W1x \in W_1, x∈Uq‾x \in \overline{U_q}, so f(x)≤q<t+εf(x) \le q < t + \varepsilon by fact (ii).
  5. Lower side. If t−ε<0t - \varepsilon < 0, let W2=XW_2 = X; then f(x)≥0>t−εf(x) \ge 0 > t - \varepsilon on W2W_2. Otherwise step 20 gives p∈Dp \in D with t−ε<p<tt - \varepsilon < p < t.
  6. In that case, f(x0)>pf(x_0) > p, so x0∉Up‾x_0 \notin \overline{U_p} by fact (ii). Let W2=X∖Up‾W_2 = X \setminus \overline{U_p}, which is open. For x∈W2x \in W_2, x∉Upx \notin U_p, so f(x)≥p>t−εf(x) \ge p > t - \varepsilon by fact (i).
  7. Let W=W1∩W2W = W_1 \cap W_2. It is open by the axioms of a topology, and x0∈Wx_0 \in W. By steps 25 to 29, f(W)⊆(t−ε,t+ε)∩[0,1]⊆Of(W) \subseteq (t - \varepsilon, t + \varepsilon) \cap [0, 1] \subseteq O.
  8. So f−1(O)f^{-1}(O) is a neighbourhood of each of its points, hence open. Thus f ⁣:X→[0,1]f \colon X \to [0, 1] is continuous, with f=0f = 0 on AA and f=1f = 1 on BB by steps 17 and 18.

Idea

Normality lets us fit an open set, with its closure, strictly between a closed set and an open set around it. Repeating this at every dyadic level gives a nested family UrU_r that grows from around AA to the complement of BB. Then f(x)f(x) records the first level at which xx enters the family. The strict nesting of closures makes ff continuous.

Reading path

To understand this page from the ground up, read these 88 pages in order. The foundations come first. The path takes the proofs Proof of the approximation property of the supremum, Proof that open sets are the sets that are neighbourhoods of all their points, Proof of De Morgan's laws for sets, Proof of De Morgan's laws by truth tables, Proof that a union of open sets of a metric space is open, Proof that an intersection of closed sets of a metric space is closed, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof that the closure is the smallest closed superset, Proof of the description of the open sets of a metric space, Proof of the existence of the infimum by negation, Proof that the reals are Archimedean from the completeness axiom, Proof that the closure is closed.

  1. Construction of the reals from Cauchy sequences concept
  2. Element definition
  3. Integers object
  4. Ordered field definition
  5. Proposition concept
  6. Rational numbers object
  7. Real numbers object
  8. Set bounded above definition
  9. Set definition
  10. Ring of integers statement
  11. Archimedean ordered field definition
  12. Conjunction definition
  13. Disjunction definition
  14. Implication definition
  15. Negation definition
  16. Predicate definition
  17. The reals form a field statement
  18. Infimum definition
  19. Supremum definition
  20. Empty set object
  21. Family of sets definition
  22. Ordered pair definition
  23. Intersection definition
  24. Union definition
  25. The rationals form a field statement
  26. Biconditional definition
  27. Truth table concept
  28. Existential quantifier definition
  29. Universal quantifier definition
  30. Completeness axiom statement
  31. Cartesian product definition
  32. Subset definition
  33. Axiom of extensionality statement
  34. The rationals form an ordered field statement
  35. Intersection of a family of sets definition
  36. Union of a family of sets definition
  37. Propositional logic concept
  38. Uniqueness quantifier definition
  39. Binary relation definition
  40. Universal set definition
  41. Order on the reals definition
  42. Topological space definition
  43. Tautology definition
  44. Antisymmetric relation definition
  45. Reflexive relation definition
  46. Transitive relation definition
  47. Complement definition
  48. Subspace topology definition
  49. Function definition
  50. Logical equivalence definition
  51. Preorder definition
  52. Preimage of a set definition
  53. Metric space definition
  54. Proof of De Morgan's laws by truth tables proof
  55. Partial order definition
  56. Open ball definition
  57. De Morgan's laws statement
  58. Total order definition
  59. Metric topology definition
  60. Proof of De Morgan's laws for sets proof
  61. Open set definition
  62. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  63. De Morgan's laws for sets statement
  64. Proof of the description of the open sets of a metric space proof
  65. Continuous map of topological spaces definition
  66. Closed set definition
  67. Proof that open sets are the sets that are neighbourhoods of all their points proof
  68. The reals form an ordered field statement
  69. Open sets of a metric space statement
  70. Normal space definition
  71. Open sets characterised by neighbourhoods statement
  72. Closure definition
  73. Proof of the approximation property of the supremum proof
  74. Proof of the existence of the infimum by negation proof
  75. Proof that a union of open sets of a metric space is open proof
  76. Proof that the closure is closed proof
  77. Approximation property of the supremum statement
  78. Existence of the infimum statement
  79. Union of open sets is open statement
  80. Proof that the reals are Archimedean from the completeness axiom proof
  81. Proof that an intersection of closed sets of a metric space is closed proof
  82. The reals are Archimedean statement
  83. Floor function definition
  84. Intersection of closed sets is closed statement
  85. Closure is closed statement
  86. Proof that the closure is the smallest closed superset proof
  87. Closure is the smallest closed superset statement
  88. Proof of Urysohn's lemma by dyadic open sets proof

Where this leads

5 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Urysohn%27s_lemma, Proof sketch
About this page
Tag8PR3HCHWR7
URIm2://8PR3HCHWR7
Kindproof
WritingW0 stub
MSC54D15
ProvesUrysohn's lemma
UsesNormal space, Closed set, Closure, Closure is the smallest closed superset, Topological space, Existence of the infimum, Infimum, The reals are Archimedean, Floor function, Subspace topology, Metric topology, Open sets characterised by neighbourhoods, Continuous map of topological spaces
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.