Lean library · module TopologyByExample.Spaces.HewittCondensedCorkscrew

Hewitt's condensed corkscrew

Source file

A separate Tychonoff corkscrew has its two ideal points attached to each ordered pair of points. The induced topology on the ordinary points is the final topology for the resulting corkscrew maps.

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

structure Space

TopologyByExample.HewittCondensedCorkscrew.Space

Ordinary points in the ordinal-indexed family of corkscrews.

@[ext] structure Space where
  /-- Index of the corkscrew containing the point before attachment. -/
  index : OmegaOne
  /-- Normalized level in the corkscrew. -/
  level : ℤ
  /-- Plank coordinate at this level. -/
  coord : DeletedTychonoffPlank

On this site: Space: Hewitt's condensed corkscrew

theorem cardinality

TopologyByExample.HewittCondensedCorkscrew.cardinality

The underlying set has cardinality aleph one.

theorem cardinality : #Space = aleph 1
Proof
:= by
  let e : Space ≃ OmegaOne × ℤ × DeletedTychonoffPlank :=
    ⟨fun x ↦ (x.index, x.level, x.coord), fun x ↦ ⟨x.1, x.2.1, x.2.2⟩,
      fun _ ↦ rfl, fun _ ↦ rfl⟩
  rw [mk_congr e, mk_prod, mk_prod, mk_int, OrdinalCardinalities.omegaOne,
    OrdinalCardinalities.deletedTychonoff]
  simp only [lift_uzero]
  rw [mul_eq_right (aleph0_le_aleph _) (aleph0_le_aleph _) aleph0_ne_zero,
    mul_eq_self (aleph0_le_aleph _)]

On this site: Hewitt's condensed corkscrew: Cardinality

definition pairs

TopologyByExample.HewittCondensedCorkscrew.pairs

A fixed bijection enumerating ordered pairs of ordinary points by countable ordinals.

noncomputable def pairs : OmegaOne ≃ Space × Space
:= Classical.choice (Cardinal.eq.mp (by
  rw [mk_prod, lift_uzero, cardinality, OrdinalCardinalities.omegaOne,
    mul_eq_self (aleph0_le_aleph _)]))

definition ordinary

TopologyByExample.HewittCondensedCorkscrew.ordinary

The ordinary representative in its own corkscrew.

def ordinary (x : Space) : TychonoffCorkscrew.Space
:= .point x.level x.coord

definition copy

TopologyByExample.HewittCondensedCorkscrew.copy

The map from a corkscrew attaches its two ends to its assigned ordered pair.

noncomputable def copy (i : OmegaOne) : TychonoffCorkscrew.Space → Space
  | .neg => (pairs i).2
  | .pos => (pairs i).1
  | .point k y => ⟨i, k, y⟩

theorem copy_ordinary

TopologyByExample.HewittCondensedCorkscrew.copy_ordinary

@[simp] theorem copy_ordinary (x : Space) : copy x.index (ordinary x) = x
Proof
:= rfl

instance

noncomputable instance : TopologicalSpace Space
Proof
where
  IsOpen s := ∀ i, IsOpen (copy i ⁻¹' s)
  isOpen_univ _ := isOpen_univ
  isOpen_inter _ _ h k i := (h i).inter (k i)
  isOpen_sUnion S h i := by rw [preimage_sUnion]; exact isOpen_biUnion fun s hs ↦ h s hs i

instance

instance : Nontrivial Space
Proof
:=
  ⟨⟨⟨⊥, 0, DeletedTychonoffPlank.mkCoe ⊥ (0 : ℕ)⟩,
    ⟨⊥, 1, DeletedTychonoffPlank.mkCoe ⊥ (0 : ℕ)⟩,
    fun h ↦ (by norm_num : (0 : ℤ) ≠ 1) (congrArg Space.level h)⟩⟩

theorem isOpen_iff

TopologyByExample.HewittCondensedCorkscrew.isOpen_iff

Open sets are determined by their preimages on the complete corkscrews.

theorem isOpen_iff {s : Set Space} : IsOpen s ↔ ∀ i, IsOpen (copy i ⁻¹' s)
Proof
:= Iff.rfl

theorem isClosed_iff

TopologyByExample.HewittCondensedCorkscrew.isClosed_iff

Closed sets are determined by their preimages on the complete corkscrews.

theorem isClosed_iff {s : Set Space} : IsClosed s ↔ ∀ i, IsClosed (copy i ⁻¹' s)
Proof
:= by
  simp only [← isOpen_compl_iff, isOpen_iff, preimage_compl]

theorem continuous_copy

TopologyByExample.HewittCondensedCorkscrew.continuous_copy

Each complete corkscrew maps continuously into the condensed one.

theorem continuous_copy (i : OmegaOne) : Continuous (copy i)
Proof
:=
  continuous_def.mpr fun _ hs ↦ isOpen_iff.mp hs i

definition AmbientOpen

TopologyByExample.HewittCondensedCorkscrew.AmbientOpen

The ambient definition uses open traces on the original corkscrews and requires every end attached to a chosen ordinary point also to be chosen.

def AmbientOpen (U : Set (OmegaOne × TychonoffCorkscrew.Space)) : Prop
:=
  (∀ i, IsOpen (Prod.mk i ⁻¹' U)) ∧ ∀ i t, ((copy i t).index, ordinary (copy i t)) ∈ U → (i,t) ∈ U

theorem isOpen_iff_ambient_trace

TopologyByExample.HewittCondensedCorkscrew.isOpen_iff_ambient_trace

The final topology agrees with the subspace topology coming from the ambient family with its attachment condition.

theorem isOpen_iff_ambient_trace (s : Set Space) : IsOpen s ↔
    ∃ U : Set (OmegaOne × TychonoffCorkscrew.Space), AmbientOpen U ∧
      (fun x : Space ↦ (x.index, ordinary x)) ⁻¹' U = s
Proof
:= by
  constructor
  · intro hs
    exact ⟨(fun z ↦ copy z.1 z.2) ⁻¹' s, ⟨isOpen_iff.mp hs, fun _ _ h ↦ h⟩, rfl⟩
  · rintro ⟨U, ⟨hU, hA⟩, rfl⟩
    intro i
    let V := Prod.mk i ⁻¹' U
    let W := copy i ⁻¹' ((fun x : Space ↦ (x.index, ordinary x)) ⁻¹' U)
    have hWV : W ⊆ V := fun t h ↦ hA i t h
    have hf : (V \ W).Finite := by
      apply (show ({DoubleJones.Space.neg, .pos} : Set TychonoffCorkscrew.Space).Finite by
        simp).subset
      rintro (_ | _ | ⟨k,y⟩) ht
      · simp
      · simp
      · exact (ht.2 ht.1).elim
    change IsOpen W
    have he : V \ (V \ W) = W := by
      ext t
      exact ⟨fun h ↦ by_contra fun hn ↦ h.2 ⟨h.1, hn⟩,
        fun h ↦ ⟨hWV h, fun ht ↦ ht.2 h⟩⟩
    rw [← he]
    exact (hU i).sdiff hf.isClosed

On this site: Hewitt's condensed corkscrew: The ambient subspace topology

instance

A singleton has at most one ordinary point and the two ideal points as representatives in any given corkscrew.

instance : T1Space Space
Proof
:= by
  constructor
  intro x
  apply isClosed_iff.mpr
  intro i
  apply Set.Finite.isClosed
  apply (show ({ordinary x, DoubleJones.Space.neg, .pos} : Set TychonoffCorkscrew.Space).Finite by
    simp).subset
  rintro (_ | _ | ⟨k,y⟩) h
  · simp
  · simp
  · change Space.mk i k y = x at h
    exact Or.inl (congrArg ordinary h)

theorem isClosedMap_copy

TopologyByExample.HewittCondensedCorkscrew.isClosedMap_copy

Each original corkscrew maps closed sets to closed sets, even when one of its ends is attached to an ordinary point in the same corkscrew.

theorem isClosedMap_copy (i : OmegaOne) : IsClosedMap (copy i)
Proof
:= by
  classical
  intro C hC
  apply isClosed_iff.mpr
  intro j
  let E := (copy j ⁻¹' (copy i '' C))
  let B := if j = i then C else ∅
  have hBE : B ⊆ E := by
    by_cases h : j = i
    · subst j
      change (if i = i then C else ∅) ⊆ copy i ⁻¹' (copy i '' C)
      simp only [↓reduceIte]
      exact fun _ hx ↦ mem_image_of_mem (copy i) hx
    · simp [B, h]
  have hb : IsClosed B := by dsimp [B]; split <;> simp [hC]
  have hf : (E \ B).Finite := by
    apply (show ({DoubleJones.Space.neg, .pos, ordinary (copy i .neg), ordinary (copy i .pos)} :
        Set TychonoffCorkscrew.Space).Finite by simp).subset
    rintro (_ | _ | ⟨k,y⟩) hx
    · simp
    · simp
    · obtain ⟨u, hu, he⟩ := hx.1
      cases u with
      | neg => exact Or.inr (Or.inr (Or.inl (congrArg ordinary he).symm))
      | pos => exact Or.inr (Or.inr (Or.inr (congrArg ordinary he).symm))
      | point l z =>
        change Space.mk i l z = Space.mk j k y at he
        cases he
        exact (hx.2 (by simpa [B] using hu)).elim
  change IsClosed E
  simpa only [union_sdiff_cancel hBE] using hb.union hf.isClosed

theorem closedEmbedding_chart

TopologyByExample.HewittCondensedCorkscrew.closedEmbedding_chart

A quadrant remains a closed embedded deleted Tychonoff plank.

theorem closedEmbedding_chart (i : OmegaOne) (n : ℤ) :
    IsClosedEmbedding (copy i ∘ gluing.chart n)
Proof
:= by
  apply IsClosedEmbedding.of_continuous_injective_isClosedMap
    ((continuous_copy i).comp (gluing.continuous_chart n)) _
    ((isClosedMap_copy i).comp (gluing.closedEmbedding_chart n).isClosedMap)
  exact fun a b h ↦ congrArg Space.coord h

On this site: Hewitt's condensed corkscrew: Closed plank quadrants

theorem stronglyConnectedSpace

TopologyByExample.HewittCondensedCorkscrew.stronglyConnectedSpace

Each ordered pair is the image of the two ideal points of one copy, so every continuous real-valued function is constant.

theorem stronglyConnectedSpace : StronglyConnectedSpace Space
Proof
:= by
  refine ⟨fun f x y ↦ ?_⟩
  let i := pairs.symm (x,y)
  have h := TychonoffCorkscrew.ideal_values_eq (f.continuous.comp (continuous_copy i))
  simpa [i, copy, Function.comp_def] using h.symm

On this site: Hewitt's condensed corkscrew is strongly connected

theorem not_countablyParacompactSpace

TopologyByExample.HewittCondensedCorkscrew.not_countablyParacompactSpace

The closed plank obstructs countable paracompactness.

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

On this site: Hewitt's condensed corkscrew is not countably paracompact

theorem not_metacompactSpace

TopologyByExample.HewittCondensedCorkscrew.not_metacompactSpace

The closed plank obstructs metacompactness.

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

On this site: Hewitt's condensed corkscrew is not metacompact

theorem not_firstCountableTopology

TopologyByExample.HewittCondensedCorkscrew.not_firstCountableTopology

The embedded 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: Hewitt's condensed corkscrew is not first countable