Lean library · module TopologyByExample.Spaces.BoxRealPerfectNormal

Failure of perfect normality in the real box product

Source file

The strictly positive sequences are open but are not a countable union of closed sets. The finite-prefix diagonal argument follows the method of Section 2 of Eric K. van Douwen, The box product of countably many metrizable spaces need not be normal, Fundamenta Mathematicae 88 (1975), 127–132, applied directly to real coordinates.

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

Imports

definition positiveSequences

TopologyByExample.BoxRealPower.positiveSequences

The open set of strictly positive sequences.

def positiveSequences : Set Space
:= box (fun _ ↦ Ioi 0)

theorem isOpen_positiveSequences

TopologyByExample.BoxRealPower.isOpen_positiveSequences

Strict positivity in every coordinate is box-open.

theorem isOpen_positiveSequences : IsOpen positiveSequences
Proof
:=
  isOpen_box (fun _ ↦ isOpen_Ioi)

structure DiagonalState

TopologyByExample.BoxRealPower.DiagonalState

A finite-prefix point inside an open block, with zero tail beginning at n.

structure DiagonalState (n : ℕ) where
  /-- The current block. -/
  block : Block
  /-- A point with a finite initial segment of potentially nonzero coordinates. -/
  center : Space
  /-- All coordinates in the remaining tail vanish. -/
  zero_tail : ∀ i, n ≤ i → center.coord i = 0
  /-- The finite-prefix point remains inside the open block. -/
  mem_open : center ∈ block.openSet

definition initialDiagonal

TopologyByExample.BoxRealPower.initialDiagonal

The initial block contains the zero sequence.

def initialDiagonal : DiagonalState 0
Definition
where
  block := ⟨fun _ ↦ -1, fun _ ↦ 1, fun _ ↦ by norm_num⟩
  center := ⟨fun _ ↦ 0⟩
  zero_tail := fun _ _ ↦ rfl
  mem_open := fun _ ↦ by constructor <;> norm_num

theorem diagonal_step

TopologyByExample.BoxRealPower.diagonal_step

Advance one positive coordinate while avoiding a prescribed closed subset of the strictly positive sequences.

theorem diagonal_step {n : ℕ} (s : DiagonalState n) {F : Set Space}
    (hF : IsClosed F) (hFP : F ⊆ positiveSequences) :
    ∃ t : DiagonalState (n + 1), t.block.closedSet ⊆
      (s.block.openSet ∩ Fᶜ) ∩ {x : Space | 0 < x.coord n}
Proof
:= by
  have hzero : coordinateLine s.center n 0 = s.center := by
    apply Space.ext
    funext i
    by_cases hi : i = n
    · subst i
      simp [coordinateLine, s.zero_tail n le_rfl]
    · simp [coordinateLine, Function.update_of_ne hi]
  have ho := s.block.isOpen.preimage (continuous_coordinateLine s.center n)
  have hm : 0 ∈ coordinateLine s.center n ⁻¹' s.block.openSet := by
    simpa only [mem_preimage, hzero] using s.mem_open
  obtain ⟨ε, hε, hεsub⟩ := Metric.mem_nhds_iff.mp (ho.mem_nhds hm)
  let y := coordinateLine s.center n (ε / 2)
  have hy : y ∈ s.block.openSet := by
    apply hεsub
    rw [Metric.mem_ball, Real.dist_eq, sub_zero, abs_of_pos (half_pos hε)]
    linarith
  have hyzero : ∀ i, n + 1 ≤ i → y.coord i = 0 := by
    intro i hi
    have hin : i ≠ n := by omega
    simpa [y, coordinateLine, Function.update_of_ne hin] using s.zero_tail i (by omega)
  have hyF : y ∉ F := by
    intro hf
    have hp := hFP hf (n + 1)
    rw [hyzero (n + 1) le_rfl] at hp
    exact lt_irrefl _ hp
  have hypos : 0 < y.coord n := by simpa [y, coordinateLine] using half_pos hε
  have hpos : IsOpen {x : Space | 0 < x.coord n} :=
    isOpen_lt continuous_const (continuous_coord n)
  obtain ⟨b, hyb, hb⟩ := exists_block_mem
    ((s.block.isOpen.inter hF.isOpen_compl).inter hpos) ⟨⟨hy, hyF⟩, hypos⟩
  exact ⟨⟨b, y, hyzero, hyb⟩, hb⟩

theorem positive_not_countable_closed_union

TopologyByExample.BoxRealPower.positive_not_countable_closed_union

The positive sequences are not the union of any sequence of closed subsets.

theorem positive_not_countable_closed_union :
    ¬∃ F : ℕ → Set Space, (∀ n, IsClosed (F n)) ∧ positiveSequences = ⋃ n, F n
Proof
:= by
  rintro ⟨F, hF, hcover⟩
  have hFP (n : ℕ) : F n ⊆ positiveSequences := by
    rw [hcover]
    exact subset_iUnion F n
  have hs : ∀ n (s : DiagonalState n), ∃ t : DiagonalState (n + 1),
      t.block.closedSet ⊆ (s.block.openSet ∩ (F n)ᶜ) ∩ {x : Space | 0 < x.coord n} :=
    fun n s ↦ diagonal_step s (hF n) (hFP n)
  choose next hnext using hs
  let seq : (n : ℕ) → DiagonalState n :=
    fun n ↦ Nat.rec initialDiagonal (fun n s ↦ next n s) n
  have hstep (n : ℕ) : (seq (n + 1)).block.closedSet ⊆
      ((seq n).block.openSet ∩ (F n)ᶜ) ∩ {x : Space | 0 < x.coord n} := hnext n (seq n)
  have hdesc : ∀ n, (seq (n + 1)).block.productSet ⊆ (seq n).block.productSet := by
    intro n x hx
    exact (seq n).block.open_subset_closed (hstep n hx).1.1
  obtain ⟨x, hx⟩ := IsCompact.nonempty_iInter_of_sequence_nonempty_isCompact_isClosed
    (fun n ↦ (seq n).block.productSet) hdesc (fun n ↦ (seq n).block.product_nonempty)
    (seq 0).block.compact (fun n ↦ (seq n).block.compact.isClosed)
  have hpos : (⟨x⟩ : Space) ∈ positiveSequences :=
    fun n ↦ (hstep n (mem_iInter.mp hx (n + 1))).2
  have hout : ∀ n, (⟨x⟩ : Space) ∉ F n :=
    fun n ↦ (hstep n (mem_iInter.mp hx (n + 1))).1.2
  rw [hcover] at hpos
  obtain ⟨n, hn⟩ := mem_iUnion.mp hpos
  exact hout n hn

On this site: Countable box product of the reals: Positive sequences are not a countable union of closed sets

theorem not_perfectlyNormal

TopologyByExample.BoxRealPower.not_perfectlyNormal

The real box product is not perfectly normal.

theorem not_perfectlyNormal : ¬PerfectlyNormalSpace Space
Proof
:= by
  intro h
  obtain ⟨U, hU, he⟩ := isOpen_positiveSequences.isClosed_compl.isGδ.eq_iInter_nat
  apply positive_not_countable_closed_union
  refine ⟨fun n ↦ (U n)ᶜ, fun n ↦ (hU n).isClosed_compl, ?_⟩
  have hc := congrArg compl he
  simpa only [compl_compl, compl_iInter] using hc

theorem not_completelyNormal

TopologyByExample.BoxRealPower.not_completelyNormal

Splitting off a real factor and applying Katětov's theorem rules out complete normality.

theorem not_completelyNormal : ¬CompletelyNormalSpace Space
Proof
:= by
  intro h
  let e : Space ≃ₜ Space × ℝ := headTailHomeomorph.trans (Homeomorph.prodComm ℝ Space)
  have hp : CompletelyNormalSpace (Space × ℝ) := e.symm.isInducing.completelyNormalSpace
  have ht : Tendsto (fun n : ℕ ↦ (1 : ℝ) / (n + 1)) atTop (𝓝 0) :=
    tendsto_one_div_add_atTop_nhds_zero_nat
  exact not_completelyNormalSpace_prod not_perfectlyNormal ht
    (fun n ↦ ne_of_gt (by positivity)) hp

On this site: The countable box product of the reals is not completely normal