Lean library · module TopologyByExample.Spaces.TychonoffCorkscrew

The Tychonoff corkscrew

Source file

The double Jones construction glues deleted Tychonoff planks along alternating top and right edges, and adds two ideal ends.

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 gluing

TopologyByExample.TychonoffCorkscrew.gluing

The top and right edges of a deleted plank are closed and disjoint.

def gluing : DoubleJones.Data DeletedTychonoffPlank
Definition
where
  H := {y | y.val.2 = ∞}
  K := {y | y.val.1 = ∞}
  closedH := isClosed_singleton.preimage (continuous_snd.comp continuous_subtypeVal)
  closedK := isClosed_singleton.preimage (continuous_fst.comp continuous_subtypeVal)
  disjoint := disjoint_left.mpr fun y hH hK ↦ y.property (Prod.ext hK hH)

definition Space

TopologyByExample.TychonoffCorkscrew.Space

The double-ended Tychonoff corkscrew.

abbrev Space
:= DoubleJones.Space gluing

On this site: Space: Tychonoff corkscrew

instance

instance : Nontrivial Space
Proof
:= ⟨⟨.neg, .pos, by intro h; cases h⟩⟩

theorem closedEmbedding_chart

TopologyByExample.TychonoffCorkscrew.closedEmbedding_chart

Each quadrant of one revolution is a closed deleted plank.

theorem closedEmbedding_chart (n : ℤ) : IsClosedEmbedding (gluing.chart n)
Proof
:=
  gluing.closedEmbedding_chart n

On this site: Tychonoff corkscrew: The closed plank quadrants

theorem closedEmbedding_rightEdge

TopologyByExample.TychonoffCorkscrew.closedEmbedding_rightEdge

The right edge of one quadrant is a closed copy of the discrete naturals.

theorem closedEmbedding_rightEdge : IsClosedEmbedding (fun k : ℕ ↦ gluing.chart 0 (mkNat ∞ k))
Proof
:= by
  let v (k : ℕ) := mkNat ∞ k
  have hv : IsEmbedding v := IsEmbedding.of_comp (continuous_of_discreteTopology (f := v))
    (continuous_snd.comp continuous_subtypeVal) (isOpenEmbedding_coe (X := ℕ)).isEmbedding
  have hr : range v = gluing.K := by
    ext p
    change (∃ k : ℕ, mkNat ∞ k = p) ↔ p.val.1 = ∞
    constructor
    · rintro ⟨k, rfl⟩
      rfl
    · rintro h
      obtain ⟨⟨x, y⟩, hp⟩ := p
      change x = ∞ at h
      subst x
      cases y using OnePoint.rec with
      | infty => exact (hp rfl).elim
      | coe k => exact ⟨k, rfl⟩
  have he : IsClosedEmbedding v := ⟨hv, hr ▸ gluing.closedK⟩
  exact (closedEmbedding_chart 0).comp he

On this site: Tychonoff corkscrew: A closed infinite discrete edge

theorem eq_top

TopologyByExample.TychonoffCorkscrew.eq_top

private theorem eq_top (n : ℤ) (hn : n % 2 = 0) (a : OmegaOne) :
    gluing.chart n (mkCoe a ∞) = gluing.chart (n+1) (mkCoe a ∞)
Proof
:= by
  simp only [DoubleJones.Data.chart, DoubleJones.Data.slot, gluing, mem_ofPred_eq, mkCoe,
    ↓reduceIte,
    DoubleJones.Space.point.injEq, and_true]
  omega

theorem eq_side

TopologyByExample.TychonoffCorkscrew.eq_side

private theorem eq_side (n : ℤ) (hn : n % 2 ≠ 0) (k : ℕ) :
    gluing.chart n (mkNat ∞ k) = gluing.chart (n+1) (mkNat ∞ k)
Proof
:= by
  simp only [DoubleJones.Data.chart, DoubleJones.Data.slot, gluing, mem_ofPred_eq, mkNat,
    coe_ne_infty, ↓reduceIte, DoubleJones.Space.point.injEq, and_true]
  omega

theorem ideal_values_eq

TopologyByExample.TychonoffCorkscrew.ideal_values_eq

Every continuous map from the corkscrew to a metric space takes the same value at both ends.

theorem ideal_values_eq {M : Type*} [MetricSpace M] {f : Space → M} (hf : Continuous f) :
    f .neg = f .pos
Proof
:= by
  let F (n : ℤ) := f ∘ gluing.chart n
  have hF n : Continuous (F n) := hf.comp (gluing.continuous_chart n)
  choose a ha using fun n ↦ exists_forall_apply_eq (hF n)
  let c (n : ℤ) := F n (mkCoe (a n) ∞)
  have htop (n : ℤ) {b : OmegaOne} (hb : a n ≤ b) : F n (mkCoe b ∞) = c n := by
    apply ha
    rintro ⟨v, hv, hvb⟩
    exact (hb.trans_lt' hv).ne (coe_injective hvb)
  have hside (n : ℤ) : Tendsto (fun k : ℕ ↦ F n (mkNat ∞ k)) atTop (𝓝 (c n)) := by
    have he (k : ℕ) : F n (mkNat ∞ k) = F n (mkCoe (a n) (k : OnePoint ℕ)) :=
      ha n _ (fun ⟨v, _, hv⟩ ↦ coe_ne_infty v hv)
    simp_rw [he]
    exact (((hF n).comp (continuous_mkCoe_right (a n))).tendsto ∞).comp
        TychonoffPlank.tendsto_coe_nat_infty
  have hstep (n : ℤ) : c n = c (n+1) := by
    by_cases hn : n % 2 = 0
    · let b := max (a n) (a (n+1))
      rw [← htop n (b := b) (le_max_left ..), ← htop (n+1) (b := b) (le_max_right ..)]
      exact congrArg f (eq_top n hn b)
    · have he (k : ℕ) : F n (mkNat ∞ k) = F (n+1) (mkNat ∞ k) :=
        congrArg f (eq_side n hn k)
      exact tendsto_nhds_unique (hside n) (by simpa only [he] using hside (n+1))
  have hconst (n : ℤ) : c n = c 0 := by
    induction n using Int.induction_on with
    | zero => rfl
    | succ n ih => exact (hstep _).symm.trans ih
    | pred n ih => exact (hstep _).trans (by simpa using ih)
  have he (n : ℤ) : f (gluing.chart n (mkCoe (a n) ∞)) = c 0 := hconst n
  have hneg := (hf.tendsto _).comp (gluing.tendsto_neg (fun n ↦ mkCoe (a n) ∞))
  have hpos := (hf.tendsto _).comp (gluing.tendsto_pos (fun n ↦ mkCoe (a n) ∞))
  simp only [Function.comp_def, he] at hneg hpos
  exact (tendsto_nhds_unique hneg tendsto_const_nhds).trans
    (tendsto_nhds_unique tendsto_const_nhds hpos)

On this site: Tychonoff corkscrew: Continuous functions at the ends

theorem not_functionallyHausdorffSpace

TopologyByExample.TychonoffCorkscrew.not_functionallyHausdorffSpace

The two ends cannot be functionally separated.

theorem not_functionallyHausdorffSpace : ¬FunctionallyHausdorffSpace Space
Proof
:= by
  intro h
  obtain ⟨f, hf⟩ := functionallyHausdorffSpace_iff_real.mp h .neg .pos (by intro h; cases h)
  exact hf (ideal_values_eq f.continuous)

On this site: The Tychonoff corkscrew is not functionally Hausdorff

theorem not_countablyParacompactSpace

TopologyByExample.TychonoffCorkscrew.not_countablyParacompactSpace

The closed deleted plank obstructs countable paracompactness.

theorem not_countablyParacompactSpace : ¬CountablyParacompactSpace Space
Proof
:= fun _ ↦
  DeletedTychonoffPlank.not_countablyParacompactSpace
    ((closedEmbedding_chart 0).countablyParacompactSpace)

On this site: The Tychonoff corkscrew is not countably paracompact

theorem not_metacompactSpace

TopologyByExample.TychonoffCorkscrew.not_metacompactSpace

The closed deleted plank obstructs metacompactness.

theorem not_metacompactSpace : ¬MetacompactSpace Space
Proof
:= fun _ ↦
  DeletedTychonoffPlank.not_metacompactSpace ((closedEmbedding_chart 0).metacompactSpace)

On this site: The Tychonoff corkscrew is not metacompact

theorem not_firstCountableTopology

TopologyByExample.TychonoffCorkscrew.not_firstCountableTopology

The closed deleted plank obstructs first countability.

theorem not_firstCountableTopology : ¬FirstCountableTopology Space
Proof
:= by
  intro _
  let _ := (closedEmbedding_chart 0).isInducing.firstCountableTopology
  exact DeletedTychonoffPlank.not_sequentialSpace inferInstance

On this site: The Tychonoff corkscrew is not first countable

theorem openEmbedding_ordinals

TopologyByExample.TychonoffCorkscrew.openEmbedding_ordinals

The bottom row of one quadrant, with its right endpoint removed, is an open copy of the countable ordinals.

theorem openEmbedding_ordinals : IsOpenEmbedding (gluing.chart 0 ∘ fun a ↦ mkCoe a (0 : ℕ))
Proof
:= by
  let v (a : OmegaOne) := mkCoe a (0 : ℕ)
  have he : IsEmbedding (gluing.chart 0 ∘ v) :=
    (closedEmbedding_chart 0).isEmbedding.comp isOpenEmbedding_mkCoe_zero.isEmbedding
  refine ⟨he, ?_⟩
  rw [range_comp]
  apply gluing.isOpen_chart_image isOpenEmbedding_mkCoe_zero.isOpen_range
  · exact disjoint_left.mpr fun _ ⟨_, h⟩ ↦ h ▸ coe_ne_infty 0
  · exact disjoint_left.mpr fun _ ⟨a, h⟩ ↦ h ▸ coe_ne_infty a

theorem not_countableChainCondition

TopologyByExample.TychonoffCorkscrew.not_countableChainCondition

The corkscrew fails the countable chain condition.

theorem not_countableChainCondition :
    ¬∀ S : Set (Set Space), (∀ U ∈ S, IsOpen U ∧ U.Nonempty) →
      S.PairwiseDisjoint id → S.Countable
Proof
:=
  not_countableChainCondition_of_isOpenEmbedding openEmbedding_ordinals
    OmegaOne.not_countableChainCondition

On this site: The Tychonoff corkscrew does not satisfy the countable chain condition

theorem cardinality

TopologyByExample.TychonoffCorkscrew.cardinality

The countably many plank pieces and the two ends have cardinality aleph one.

theorem cardinality : #Space = aleph 1
Proof
:= by
  let e : Space ≃ (ℤ × DeletedTychonoffPlank) ⊕ Bool :=
    { toFun := fun x ↦ match x with
        | .neg => .inr false | .pos => .inr true | .point n y => .inl (n,y)
      invFun := fun x ↦ match x with
        | .inr false => .neg | .inr true => .pos | .inl (n,y) => .point n y
      left_inv := by rintro (_ | _ | ⟨_, _⟩) <;> rfl
      right_inv := by rintro (⟨_, _⟩ | (_ | _)) <;> rfl }
  rw [mk_congr e, mk_sum, mk_prod, mk_int, OrdinalCardinalities.deletedTychonoff, mk_bool]
  simp only [lift_uzero]
  rw [mul_eq_right (aleph0_le_aleph _) (aleph0_le_aleph _) aleph0_ne_zero,
    add_eq_left (aleph0_le_aleph _) (ofNat_le_aleph0.trans (aleph0_le_aleph _))]

On this site: Tychonoff corkscrew: Cardinality

theorem pseudocompactSpace

TopologyByExample.TychonoffCorkscrew.pseudocompactSpace

Pseudocompactness survives passage from the deleted planks to the corkscrew.

theorem pseudocompactSpace : PseudocompactSpace Space
Proof
:= by
  let _ := DeletedTychonoffPlank.pseudocompactSpace
  exact gluing.pseudocompactSpace

On this site: The Tychonoff corkscrew is pseudocompact

theorem scatteredSpace

TopologyByExample.TychonoffCorkscrew.scatteredSpace

The corkscrew is scattered.

theorem scatteredSpace : ScatteredSpace Space
Proof
:= by
  let _ := DeletedTychonoffPlank.scatteredSpace
  exact gluing.scatteredSpace

On this site: The Tychonoff corkscrew is scattered

theorem countablyMetacompactSpace

TopologyByExample.TychonoffCorkscrew.countablyMetacompactSpace

The finite-height rows form an open σ-compact subspace. Its complement consists of the top edges and the two ends and is countably compact.

theorem countablyMetacompactSpace : CountablyMetacompactSpace Space
Proof
:= by
  let rows := range (fun z : OnePoint OmegaOne × ℕ ↦ mkNat z.1 z.2)
  have hr : IsOpen rows := isOpenEmbedding_rows.isOpen_range
  have hσ : IsSigmaCompact rows := isSigmaCompact_range isOpenEmbedding_rows.continuous
  have hK : IsCountablyCompact rowsᶜ := by
    rw [show rowsᶜ = range (fun a : OmegaOne ↦ mkCoe a ∞) from compl_range_rows, ← image_univ]
    exact CountablyCompactSpace.isCountablyCompact_univ.image (continuous_mkCoe_left ∞)
  let _ := isSigmaCompact_iff_sigmaCompactSpace.mp (gluing.isSigmaCompact_levels hσ)
  exact countablyMetacompactSpace_of_open_of_countablyCompact_compl
    (gluing.isOpen_levels hr) (gluing.isCountablyCompact_compl_levels hK)

On this site: The Tychonoff corkscrew is countably metacompact