Lean library · module TopologyByExample.Theorems.Separation

Implications between separation axioms

Source file

This file collects implications between the separation axioms T₀, R₀, T₁, T₂½ (Urysohn), regularity, complete regularity, normality, complete normality and perfect normality, all in Mathlib's unbundled form, together with some general facts about them.

The implications

Mathlib proves the implications between these properties as instances, some of them only through chains of instances or through bundled classes (T3Space is T₀ and regular). This file states the ones that have no name of their own in unbundled form:

General facts

Tags

separation axiom, R₀, regular, completely regular, normal, completely normal, perfectly normal, first countable, Jones lemma

This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

Imports

theorem Continuous.normalSpace_of_disjoint_closure_image

A space X is normal if it maps continuously into a normal space Y so that the images of any two disjoint closed subsets of X have disjoint closures in Y: disjoint neighbourhoods of the two closures pull back to disjoint neighbourhoods of the two sets.

theorem Continuous.normalSpace_of_disjoint_closure_image {X Y : Type*} [TopologicalSpace X]
    [TopologicalSpace Y] [NormalSpace Y] {f : X → Y} (hf : Continuous f)
    (h : ∀ s t : Set X, IsClosed s → IsClosed t → Disjoint s t →
      Disjoint (closure (f '' s)) (closure (f '' t))) : NormalSpace X
Proof
where
  normal s t hs ht hst := by
    obtain ⟨U, V, hU, hV, hsU, htV, hUV⟩ :=
      normal_separation isClosed_closure isClosed_closure (h s t hs ht hst)
    exact ⟨f ⁻¹' U, f ⁻¹' V, hU.preimage hf, hV.preimage hf,
      fun x hx ↦ hsU (subset_closure (mem_image_of_mem f hx)),
      fun x hx ↦ htV (subset_closure (mem_image_of_mem f hx)), hUV.preimage f⟩

On this site: Theorem: A space mapping continuously into a normal space so that disjoint closed sets have images with disjoint closures is normal

variable {X : Type*} [TopologicalSpace X]

Implications

theorem r0Space_of_t1Space

TopologyByExample.r0Space_of_t1Space

A T₁ space is R₀.

theorem r0Space_of_t1Space [T1Space X] : R0Space X
Proof
:= inferInstance

On this site: Theorem: T₁ spaces are R₀

theorem r0Space_of_regularSpace

TopologyByExample.r0Space_of_regularSpace

A regular space is R₀.

theorem r0Space_of_regularSpace [RegularSpace X] : R0Space X
Proof
:= inferInstance

On this site: Theorem: Regular spaces are R₀

theorem r0Space_of_perfectlyNormalSpace

TopologyByExample.r0Space_of_perfectlyNormalSpace

A perfectly normal space is R₀.

theorem r0Space_of_perfectlyNormalSpace [PerfectlyNormalSpace X] : R0Space X
Proof
:= inferInstance

On this site: Theorem: Perfectly normal spaces are R₀

theorem t25Space_of_exists_nhds_disjoint_closure

TopologyByExample.t25Space_of_exists_nhds_disjoint_closure

A space is T₂½ if any two distinct points have neighbourhoods with disjoint closures.

theorem t25Space_of_exists_nhds_disjoint_closure {Z : Type*} [TopologicalSpace Z]
    (h : ∀ ⦃x y : Z⦄, x ≠ y → ∃ s ∈ 𝓝 x, ∃ t ∈ 𝓝 y, Disjoint (closure s) (closure t)) :
    T25Space Z
Proof
where
  t2_5 _ _ hxy := by
    obtain ⟨s, hs, t, ht, hst⟩ := h hxy
    exact disjoint_of_disjoint_of_mem hst (mem_lift' hs) (mem_lift' ht)

instance t25Space

TopologyByExample.TotallySeparatedSpace.t25Space

A totally separated space is T₂½ (Urysohn): two distinct points lie in complementary clopen sets, which are neighbourhoods of the points with disjoint closures.

instance (priority := 100) TotallySeparatedSpace.t25Space [TotallySeparatedSpace X] :
    T25Space X
Proof
:=
  t25Space_of_exists_nhds_disjoint_closure fun _ _ hxy ↦ by
    obtain ⟨U, hU, hxU, hyU⟩ := exists_isClopen_of_totally_separated hxy
    refine ⟨U, hU.isOpen.mem_nhds hxU, Uᶜ, hU.compl.isOpen.mem_nhds hyU, ?_⟩
    rw [hU.isClosed.closure_eq, hU.compl.isClosed.closure_eq]
    exact disjoint_compl_right

theorem t25Space_of_t0Space_of_regularSpace

TopologyByExample.t25Space_of_t0Space_of_regularSpace

A regular T₀ space is T₂½ (Urysohn).

theorem t25Space_of_t0Space_of_regularSpace [T0Space X] [RegularSpace X] : T25Space X
Proof
:=
  inferInstance

On this site: Theorem: Regular T₀ spaces are Urysohn

theorem t1Space_of_t0Space_of_regularSpace

TopologyByExample.t1Space_of_t0Space_of_regularSpace

A regular T₀ space is T₁.

theorem t1Space_of_t0Space_of_regularSpace [T0Space X] [RegularSpace X] : T1Space X
Proof
:=
  inferInstance

theorem t1Space_of_t0Space_of_perfectlyNormalSpace

TopologyByExample.t1Space_of_t0Space_of_perfectlyNormalSpace

A perfectly normal T₀ space is T₁.

theorem t1Space_of_t0Space_of_perfectlyNormalSpace [T0Space X] [PerfectlyNormalSpace X] :
    T1Space X
Proof
:=
  inferInstance

theorem completelyRegularSpace_of_regularSpace_of_normalSpace

TopologyByExample.completelyRegularSpace_of_regularSpace_of_normalSpace

A regular normal space is completely regular.

theorem completelyRegularSpace_of_regularSpace_of_normalSpace [RegularSpace X] [NormalSpace X] :
    CompletelyRegularSpace X
Proof
:=
  inferInstance

theorem completelyRegularSpace_of_t1Space_of_normalSpace

TopologyByExample.completelyRegularSpace_of_t1Space_of_normalSpace

A normal T₁ space is completely regular.

theorem completelyRegularSpace_of_t1Space_of_normalSpace [T1Space X] [NormalSpace X] :
    CompletelyRegularSpace X
Proof
:=
  inferInstance

theorem regularSpace_of_t1Space_of_normalSpace

TopologyByExample.regularSpace_of_t1Space_of_normalSpace

A normal T₁ space is regular.

theorem regularSpace_of_t1Space_of_normalSpace [T1Space X] [NormalSpace X] : RegularSpace X
Proof
:=
  inferInstance

theorem completelyRegularSpace_of_perfectlyNormalSpace

TopologyByExample.completelyRegularSpace_of_perfectlyNormalSpace

A perfectly normal space is completely regular.

theorem completelyRegularSpace_of_perfectlyNormalSpace [PerfectlyNormalSpace X] :
    CompletelyRegularSpace X
Proof
:=
  inferInstance

theorem completelyRegularSpace_of_regularSpace_of_weaklyLocallyCompactSpace

TopologyByExample.completelyRegularSpace_of_regularSpace_of_weaklyLocallyCompactSpace

A regular weakly locally compact space is completely regular: a point can be separated from a closed set not containing it by Urysohn's lemma for compact sets.

theorem completelyRegularSpace_of_regularSpace_of_weaklyLocallyCompactSpace [RegularSpace X]
    [WeaklyLocallyCompactSpace X] : CompletelyRegularSpace X
Proof
where
  completely_regular x K hK hxK := by
    obtain ⟨f, hf0, hf1, hf⟩ := exists_continuous_zero_one_of_isCompact isCompact_singleton hK
      (disjoint_singleton_left.2 hxK)
    refine ⟨fun y ↦ ⟨f y, hf y⟩, f.continuous.subtype_mk _, Subtype.ext (hf0 rfl),
      fun y hy ↦ Subtype.ext (hf1 hy)⟩

On this site: Theorem: Regular weakly locally compact spaces are completely regular

Perfect normality

theorem perfectlyNormalSpace_iff

TopologyByExample.perfectlyNormalSpace_iff

A space is perfectly normal if and only if it is normal and every closed set is a Gδ set.

theorem perfectlyNormalSpace_iff :
    PerfectlyNormalSpace X ↔ NormalSpace X ∧ ∀ s : Set X, IsClosed s → IsGδ s
Proof
:=
  ⟨fun _ ↦ ⟨inferInstance, fun _ hs ↦ hs.isGδ⟩, fun ⟨_, h⟩ ↦ ⟨fun s hs ↦ h s hs⟩⟩

On this site: Theorem: A space is perfectly normal iff it is normal and its closed sets are \(G_\delta\) sets

theorem not_perfectlyNormalSpace_of_isClosed

TopologyByExample.not_perfectlyNormalSpace_of_isClosed

A space with a closed set that is not a Gδ set is not perfectly normal.

theorem not_perfectlyNormalSpace_of_isClosed {s : Set X} (hs : IsClosed s) (h : ¬IsGδ s) :
    ¬PerfectlyNormalSpace X
Proof
:= fun _ ↦ h hs.isGδ

On this site: Theorem: A space with a closed set that is not a \(G_\delta\) set is not perfectly normal

theorem perfectlyNormalSpace_of_countable

TopologyByExample.perfectlyNormalSpace_of_countable

A countable normal T₁ space is perfectly normal: every closed set is the complement of a countable set.

theorem perfectlyNormalSpace_of_countable [Countable X] [T1Space X] [NormalSpace X] :
    PerfectlyNormalSpace X
Proof
where
  closed_gdelta s _ := by
    simpa using (Set.countable_univ.mono (subset_univ sᶜ)).isGδ_compl

On this site: Theorem: Countable normal T₁ spaces are perfectly normal

theorem perfectlyNormalSpace_of_regularSpace_of_hereditarilyLindelofSpace

TopologyByExample.perfectlyNormalSpace_of_regularSpace_of_hereditarilyLindelofSpace

A regular hereditarily Lindelöf space is perfectly normal: the complement of a closed set is covered by the interiors of closed neighbourhoods inside it, countably many of which suffice.

theorem perfectlyNormalSpace_of_regularSpace_of_hereditarilyLindelofSpace [RegularSpace X]
    [HereditarilyLindelofSpace X] : PerfectlyNormalSpace X
Proof
where
  closed_gdelta F hF := by
    choose C hCx hCc hCF using fun x : (Fᶜ : Set X) ↦
      exists_mem_nhds_isClosed_subset (hF.isOpen_compl.mem_nhds x.property)
    obtain ⟨T, hTc, hT⟩ := eq_open_union_countable (fun x ↦ interior (C x)) fun _ ↦ isOpen_interior
    have hF' : F = ⋂ x ∈ T, (C x)ᶜ := by
      ext y
      refine ⟨fun hy ↦ mem_iInter₂.2 fun x _ hyC ↦ hCF x hyC hy, fun hy ↦ ?_⟩
      by_contra hyF
      have : y ∈ ⋃ x, interior (C x) :=
        mem_iUnion.2 ⟨⟨y, hyF⟩, mem_interior_iff_mem_nhds.2 (hCx ⟨y, hyF⟩)⟩
      rw [← hT] at this
      obtain ⟨x, hxT, hyx⟩ := mem_iUnion₂.1 this
      exact mem_iInter₂.1 hy x hxT (interior_subset hyx)
    rw [hF']
    exact IsGδ.biInter_of_isOpen hTc fun x _ ↦ (hCc x).isOpen_compl

On this site: Theorem: Regular hereditarily Lindelöf spaces are perfectly normal

theorem hereditarilyLindelofSpace_of_lindelofSpace_of_perfectlyNormalSpace

TopologyByExample.hereditarilyLindelofSpace_of_lindelofSpace_of_perfectlyNormalSpace

A Lindelöf perfectly normal space is hereditarily Lindelöf: every open set is a countable union of closed sets, each of which is Lindelöf.

theorem hereditarilyLindelofSpace_of_lindelofSpace_of_perfectlyNormalSpace [LindelofSpace X]
    [PerfectlyNormalSpace X] : HereditarilyLindelofSpace X
Proof
:=
  .of_forall_isOpen fun U hU ↦ by
    obtain ⟨G, hGo, hG⟩ := isGδ_iff_eq_iInter_nat.1 hU.isClosed_compl.isGδ
    have : U = ⋃ n, (G n)ᶜ := by rw [← compl_iInter, ← hG, compl_compl]
    rw [this]
    exact isLindelof_iUnion fun n ↦ (hGo n).isClosed_compl.isLindelof

On this site: Theorem: Lindelöf perfectly normal spaces are hereditarily Lindelöf

theorem countableChainCondition_of_hereditarilyLindelofSpace

TopologyByExample.countableChainCondition_of_hereditarilyLindelofSpace

A hereditarily Lindelöf space satisfies the countable chain condition: every family of pairwise disjoint nonempty open sets is countable.

theorem countableChainCondition_of_hereditarilyLindelofSpace [HereditarilyLindelofSpace X] :
    ∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id → S.Countable
Proof
:= by
  intro S hS hd
  obtain ⟨T, hTc, hT⟩ :=
    eq_open_union_countable (fun s : S ↦ (s : Set X)) fun s ↦ (hS s s.property).1
  refine (hTc.image Subtype.val).mono fun s hs ↦ ?_
  obtain ⟨x, hx⟩ := (hS s hs).2
  have : x ∈ ⋃ i : S, (i : Set X) := mem_iUnion.2 ⟨⟨s, hs⟩, hx⟩
  rw [← hT] at this
  obtain ⟨t, htT, hxt⟩ := mem_iUnion₂.1 this
  exact ⟨t, htT, hd.elim t.property hs (not_disjoint_iff.2 ⟨x, hxt, hx⟩)⟩

On this site: Theorem: Hereditarily Lindelöf spaces satisfy the countable chain condition

First countability

theorem firstCountableTopology_of_regularSpace_of_isGδ_closure

TopologyByExample.firstCountableTopology_of_regularSpace_of_isGδ_closure

A regular space is first countable if the closure of each point is a Gδ set and each point has a countably compact neighbourhood.

Let closure {x} = ⋂ n, U n and choose closed neighbourhoods V n ⊆ U n of x. If O is an open neighbourhood of x containing none of the sets K ∩ V 0 ∩ ⋯ ∩ V n, a sequence of witnesses has a cluster point in K; it lies in every V n, hence in closure {x}, hence (by symmetry of specialization in a regular space) in O, which is impossible.

theorem firstCountableTopology_of_regularSpace_of_isGδ_closure [RegularSpace X]
    (hG : ∀ x : X, IsGδ (closure {x})) (hK : ∀ x : X, ∃ K ∈ 𝓝 x, IsCountablyCompact K) :
    FirstCountableTopology X
Proof
where
  nhds_generated_countable x := by
    obtain ⟨U, hUo, hU⟩ := isGδ_iff_eq_iInter_nat.1 (hG x)
    obtain ⟨K, hKx, hKc⟩ := hK x
    have hUx (n : ℕ) : U n ∈ 𝓝 x := by
      refine (hUo n).mem_nhds (mem_iInter.1 ?_ n)
      rw [← hU]
      exact subset_closure (mem_singleton x)
    choose V hVx hVc hVU using fun n ↦ exists_mem_nhds_isClosed_subset (hUx n)
    let W : ℕ → Set X := fun n ↦ K ∩ ⋂ i ∈ Iic n, V i
    have hWx (n : ℕ) : W n ∈ 𝓝 x :=
      inter_mem hKx ((biInter_mem (finite_Iic n)).2 fun i _ ↦ hVx i)
    have hW : (𝓝 x).HasBasis (fun _ : ℕ ↦ True) W := by
      refine ⟨fun t ↦ ⟨fun ht ↦ ?_, fun ⟨n, _, hn⟩ ↦ mem_of_superset (hWx n) hn⟩⟩
      obtain ⟨O, hOt, hOo, hxO⟩ := mem_nhds_iff.1 ht
      by_contra h
      have h' (n : ℕ) : ¬W n ⊆ O := fun hn ↦ h ⟨n, trivial, hn.trans hOt⟩
      choose y hyW hyO using fun n ↦ not_subset.1 (h' n)
      obtain ⟨a, -, ha⟩ := hKc.seq_clusterPt y (Eventually.of_forall fun n ↦ (hyW n).1)
      have haV (i : ℕ) : a ∈ V i := by
        by_contra hai
        obtain ⟨n, hn, hyn⟩ := ((mapClusterPt_iff_frequently.1 ha _
          ((hVc i).isOpen_compl.mem_nhds hai)).and_eventually (eventually_ge_atTop i)).exists
        exact hn (mem_iInter₂.1 (hyW n).2 i hyn)
      have hax : a ∈ closure {x} := by
        rw [hU]
        exact mem_iInter.2 fun i ↦ hVU i (haV i)
      have haO : a ∈ O := (specializes_iff_mem_closure.2 hax).symm.mem_open hOo hxO
      obtain ⟨n, hn⟩ := (mapClusterPt_iff_frequently.1 ha O (hOo.mem_nhds haO)).exists
      exact hyO n hn
    exact hW.isCountablyGenerated

On this site: Theorem: A regular space whose point closures are \(G_\delta\) sets and whose points have countably compact neighbourhoods is first countable

theorem firstCountableTopology_of_countablyCompactSpace_of_perfectlyNormalSpace

TopologyByExample.firstCountableTopology_of_countablyCompactSpace_of_perfectlyNormalSpace

A countably compact perfectly normal space is first countable. No T₁ assumption is needed.

theorem firstCountableTopology_of_countablyCompactSpace_of_perfectlyNormalSpace
    [CountablyCompactSpace X] [PerfectlyNormalSpace X] : FirstCountableTopology X
Proof
:=
  firstCountableTopology_of_regularSpace_of_isGδ_closure (fun _ ↦ isClosed_closure.isGδ)
    fun _ ↦ ⟨univ, univ_mem, CountablyCompactSpace.isCountablyCompact_univ⟩

On this site: Theorem: Countably compact perfectly normal spaces are first countable

theorem firstCountableTopology_of_weaklyLocallyCompactSpace_of_perfectlyNormalSpace

TopologyByExample.firstCountableTopology_of_weaklyLocallyCompactSpace_of_perfectlyNormalSpace

A weakly locally compact perfectly normal space is first countable. No T₁ assumption is needed.

theorem firstCountableTopology_of_weaklyLocallyCompactSpace_of_perfectlyNormalSpace
    [WeaklyLocallyCompactSpace X] [PerfectlyNormalSpace X] : FirstCountableTopology X
Proof
:=
  firstCountableTopology_of_regularSpace_of_isGδ_closure (fun _ ↦ isClosed_closure.isGδ)
    fun x ↦
      let ⟨K, hK, hKx⟩ := exists_compact_mem_nhds x
      ⟨K, hKx, hK.isCountablyCompact⟩

On this site: Theorem: Weakly locally compact perfectly normal spaces are first countable

Normality and complete normality

theorem separatedNhds_union_of_isCompact_of_isClopen

TopologyByExample.separatedNhds_union_of_isCompact_of_isClopen

In a regular space, the union of a compact set K and a clopen set N has disjoint neighbourhoods from any closed set B disjoint from both.

theorem separatedNhds_union_of_isCompact_of_isClopen {Z : Type*} [TopologicalSpace Z]
    [RegularSpace Z] {K N B : Set Z} (hK : IsCompact K) (hN : IsClopen N) (hB : IsClosed B)
    (hKB : Disjoint K B) (hNB : Disjoint N B) : SeparatedNhds (K ∪ N) B
Proof
:= by
  obtain ⟨U, V, hU, hV, hKU, hBV, hUV⟩ := SeparatedNhds.of_isCompact_isClosed hK hB hKB
  refine ⟨U ∪ N, V \ N, hU.union hN.isOpen, hV.sdiff hN.isClosed,
    union_subset_union_left N hKU, fun x hx ↦ ⟨hBV hx, fun h ↦ disjoint_left.1 hNB h hx⟩, ?_⟩
  exact disjoint_union_left.2 ⟨hUV.mono_right sdiff_subset, disjoint_sdiff_right⟩

On this site: Theorem: In a regular space, the union of a compact set and a clopen set can be separated from a disjoint closed set

theorem normalSpace_of_leftInverse

TopologyByExample.normalSpace_of_leftInverse

A retract of a normal space is normal: if g ∘ f = id for continuous maps f : X → Y and g : Y → X and Y is normal, then so is X.

theorem normalSpace_of_leftInverse {Y : Type*} [TopologicalSpace Y] [NormalSpace Y] {f : X → Y}
    {g : Y → X} (hf : Continuous f) (hg : Continuous g) (hgf : Function.LeftInverse g f) :
    NormalSpace X
Proof
:=
  hf.normalSpace_of_disjoint_closure_image fun s t hs ht hst ↦ by
    have key {u : Set X} (hu : IsClosed u) : closure (f '' u) ⊆ g ⁻¹' u :=
      closure_minimal (by rintro _ ⟨x, hx, rfl⟩; rwa [mem_preimage, hgf x]) (hu.preimage hg)
    exact (hst.preimage g).mono (key hs) (key ht)

On this site: Theorem: A retract of a normal space is normal

theorem not_completelyNormalSpace_of_isInducing

TopologyByExample.not_completelyNormalSpace_of_isInducing

A space with a subspace that is not normal is not completely normal.

theorem not_completelyNormalSpace_of_isInducing {Y : Type*} [TopologicalSpace Y] {e : Y → X}
    (he : IsInducing e) (hY : ¬NormalSpace Y) : ¬CompletelyNormalSpace X
Proof
:= fun _ ↦
  hY he.completelyNormalSpace.toNormalSpace

On this site: Theorem: A space with a subspace that is not normal is not completely normal

theorem closure_inter_subset_of_discreteTopology

TopologyByExample.closure_inter_subset_of_discreteTopology

In a discrete subspace s, a subset t of s contains every point of s in its closure.

theorem closure_inter_subset_of_discreteTopology {s t : Set X} [DiscreteTopology s]
    (hts : t ⊆ s) : closure t ∩ s ⊆ t
Proof
:= by
  rintro x ⟨hxt, hxs⟩
  obtain ⟨O, hO, hOx⟩ := IsInducing.subtypeVal.isOpen_iff.1
    (isOpen_discrete ({⟨x, hxs⟩} : Set s))
  have hxO : x ∈ O := by
    have : (⟨x, hxs⟩ : s) ∈ Subtype.val ⁻¹' O := hOx ▸ rfl
    exact this
  obtain ⟨w, hwO, hwt⟩ := mem_closure_iff.1 hxt O hO hxO
  have : (⟨w, hts hwt⟩ : s) ∈ Subtype.val ⁻¹' O := hwO
  rw [hOx, mem_singleton_iff, Subtype.mk.injEq] at this
  exact this ▸ hwt

theorem two_pow_mk_le_two_pow_mk_dense_of_completelyNormalSpace

TopologyByExample.two_pow_mk_le_two_pow_mk_dense_of_completelyNormalSpace

Jones's lemma for completely normal spaces. If s is a discrete subspace (not necessarily closed) of a completely normal space and d is dense, then 2 ^ #s ≤ 2 ^ #d.

For each t ⊆ s the sets t and s \ t are separated, so they have disjoint open neighbourhoods U t and V t, and t ↦ U t ∩ d is injective.

theorem two_pow_mk_le_two_pow_mk_dense_of_completelyNormalSpace [CompletelyNormalSpace X]
    {s d : Set X} [DiscreteTopology s] (hd : Dense d) : (2 : Cardinal) ^ #s ≤ 2 ^ #d
Proof
:= by
  have hsep (t : 𝒫 s) : SeparatedNhds t.val (s \ t.val) := by
    refine separatedNhds_iff_disjoint.2 (completely_normal ?_ ?_)
    · refine disjoint_left.2 fun x hxt hx ↦ hx.2 ?_
      exact closure_inter_subset_of_discreteTopology t.property ⟨hxt, hx.1⟩
    · refine disjoint_left.2 fun x hxt hx ↦ ?_
      exact (closure_inter_subset_of_discreteTopology sdiff_subset ⟨hx, t.property hxt⟩).2 hxt
  choose U V hU hV hUs hVs hUV using hsep
  have hUd {t₁ t₂ : 𝒫 s} (h : U t₁ ∩ d = U t₂ ∩ d) : t₁.val ⊆ t₂.val := by
    by_contra ht
    rw [← sdiff_nonempty] at ht
    have hUVd := hd.inter_open_nonempty _ ((hU t₁).inter (hV t₂)) <| ht.mono <|
      subset_inter (sdiff_subset.trans (hUs t₁))
        ((sdiff_subset_sdiff_left t₁.property).trans (hVs t₂))
    rw [inter_right_comm, h] at hUVd
    exact hUVd.not_disjoint <| disjoint_of_subset_left inter_subset_left (hUV t₂)
  have h_inj : Function.Injective (U · ∩ d) := fun _ _ h ↦
    SetCoe.ext <| (hUd h).antisymm (hUd h.symm)
  rw [← mk_powerset, ← mk_powerset, ← mk_range_eq _ h_inj]
  exact mk_le_mk_of_subset (range_subset_iff.2 fun _ ↦ inter_subset_right)

On this site: Theorem: Jones's lemma for completely normal spaces

theorem two_pow_mk_le_continuum_of_completelyNormalSpace

TopologyByExample.two_pow_mk_le_continuum_of_completelyNormalSpace

In a separable completely normal space, every discrete subspace s satisfies 2 ^ #s ≤ 𝔠.

theorem two_pow_mk_le_continuum_of_completelyNormalSpace [SeparableSpace X]
    [CompletelyNormalSpace X] {s : Set X} [DiscreteTopology s] : 2 ^ #s ≤ 𝔠
Proof
:=
  have ⟨d, hd_countable, hd_dense⟩ := exists_countable_dense X
  calc
    2 ^ #s ≤ 2 ^ #d := two_pow_mk_le_two_pow_mk_dense_of_completelyNormalSpace hd_dense
    _ ≤ 2 ^ ℵ₀ := power_le_power_left two_ne_zero hd_countable.le_aleph0
    _ = 𝔠 := two_power_aleph0

On this site: Theorem: In a separable completely normal space every discrete subspace has at most continuum many subsets

theorem not_completelyNormalSpace_of_continuum_le_mk

TopologyByExample.not_completelyNormalSpace_of_continuum_le_mk

A separable space with a discrete subspace of cardinality at least 𝔠 is not completely normal.

theorem not_completelyNormalSpace_of_continuum_le_mk [SeparableSpace X] {s : Set X}
    [DiscreteTopology s] (hmk : 𝔠 ≤ #s) : ¬CompletelyNormalSpace X
Proof
:= fun _ ↦
  ((#s).cantor.trans_le two_pow_mk_le_continuum_of_completelyNormalSpace).not_ge hmk

On this site: Theorem: A separable space with a discrete subspace of cardinality at least the continuum is not completely normal