Urysohn's Lemma
Statement
Let be a normal topological space (T4: disjoint closed sets can be separated by open sets). For any two disjoint closed sets , there exists a continuous function such that
Visualization
Two disjoint closed discs (left) and (right) in , with the separating function drawn as altitude:
ℝ² top view (f is height, shown as contour levels):
s t
●●●●●●● 0.25 0.5 0.75 ●●●●●●●
●●●●●●●●● ──┄┄┄───┄┄┄───┄┄┄── ●●●●●●●●●
●●●●●●●●● f=0 ↑ f=1 ●●●●●●●●●
●●●●●●● contour lines of f ●●●●●●●●
evenly spaced in the gap
f = 0 everywhere on s (left disc, solid)
f = 1 everywhere on t (right disc, solid)
f rises smoothly from 0 to 1 across the gap
f is continuous — no jumps allowed
The function acts as a "landscape" separating the two closed islands. Normality of is what guarantees the gap between and is wide enough (in the topological sense) to fill with a continuous slope.
Proof Sketch
Step 1. Since is normal and , find disjoint open sets and .
Step 2. Using normality repeatedly on dyadic rationals , construct a family of open sets with whenever .
Step 3. Define (with ). Verifying continuity uses the chain ; the boundary conditions and follow by construction.
This inductive "dyadic filling" is the core of Urysohn's construction.
Connections
- Heine–Borel TheoremHeine–Borel TheoremIn ℝⁿ, a subset is compact if and only if it is closed and boundedRead more → — compact Hausdorff spaces are normal, so Urysohn applies; in normality is automatic.
- Bolzano–Weierstrass TheoremBolzano–Weierstrass TheoremEvery bounded sequence in ℝⁿ has a convergent subsequenceRead more → — Urysohn functions give explicit test functions used to separate limit points of sequences.
- Brouwer Fixed-Point TheoremBrouwer Fixed-Point TheoremEvery continuous map from a compact convex set to itself has a fixed pointRead more → — Urysohn's lemma underlies the partition-of-unity construction, which feeds into degree theory.
- Tychonoff's TheoremTychonoff's TheoremAn arbitrary product of compact spaces is compact in the product topologyRead more → — Tychonoff spaces (completely regular) are precisely those where Urysohn-type separation by continuous functions is available; normality strengthens this to full separation.
- Hausdorff DistanceHausdorff DistanceA metric on non-empty compact sets, foundation for the IFS attractor theoremRead more → — Urysohn-type functions appear in the proof that the Hausdorff metric topology on compact subsets of a normal space behaves well.
- Iterated Function SystemsIterated Function SystemsConstructing fractals via contractive affine transformationsRead more → — Partition of unity (an extension of Urysohn) allows gluing local definitions of IFS maps into globally continuous ones.
Lean4 Proof
import Mathlib.Topology.UrysohnsLemma
open Set ContinuousMap
/-- **Urysohn's Lemma**: in a normal topological space, any two disjoint closed sets
can be separated by a continuous function with values in [0, 1].
Mathlib: `exists_continuous_zero_one_of_isClosed`. -/
theorem urysohn_separation {X : Type*} [TopologicalSpace X] [NormalSpace X]
{s t : Set X} (hs : IsClosed s) (ht : IsClosed t) (hst : Disjoint s t) :
∃ f : C(X, ℝ), EqOn f 0 s ∧ EqOn f 1 t ∧ ∀ x, f x ∈ Icc (0 : ℝ) 1 :=
exists_continuous_zero_one_of_isClosed hs ht hstReferenced by
- Compact Subset of Hausdorff is ClosedTopology
- Quotient TopologyTopology
- Hausdorff Implies T1Topology
- Brouwer Fixed-Point TheoremTopology
- Tychonoff's TheoremTopology
- Heine–Borel TheoremTopology
- Alexandrov One-Point CompactificationTopology
- Subspace TopologyTopology
- Second-Countable SpacesTopology
- Metrizable SpacesTopology
- Baire Category TheoremTopology
- Normal SpaceTopology
- Regular SpaceTopology
- Bolzano–Weierstrass TheoremTopology
- Path-Connected Implies ConnectedTopology