Lean library · module TopologyByExample.Spaces.HewittBands

The closed plank bands of Hewitt's condensed corkscrew

Source file

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

theorem countablyMetacompactSpace_sigma

TopologyByExample.countablyMetacompactSpace_sigma

The topological disjoint sum of countably metacompact spaces is countably metacompact.

theorem countablyMetacompactSpace_sigma {ι : Type*} {Y : ι → Type*}
    [∀ i, TopologicalSpace (Y i)] (h : ∀ i, CountablyMetacompactSpace (Y i)) :
    CountablyMetacompactSpace (Σ i, Y i)
Proof
:= by
  classical
  refine ⟨fun U hUc hUo hU ↦ ?_⟩
  have hcover (i : ι) : ⋃₀ ((preimage (Sigma.mk i)) '' U) = univ := by
    refine eq_univ_of_forall fun x ↦ ?_
    obtain ⟨u, hu, hxu⟩ := mem_sUnion.mp (hU ▸ mem_univ (Sigma.mk i x) : Sigma.mk i x ∈ ⋃₀ U)
    exact mem_sUnion_of_mem hxu (mem_image_of_mem (preimage (Sigma.mk i)) hu)
  choose V ho hVc hf hr using fun i ↦ (h i).pointFinite_refinement
    (preimage (Sigma.mk i) '' U) (hUc.image _) (by
      rintro _ ⟨u, hu, rfl⟩; exact (hUo _ hu).preimage continuous_sigmaMk) (hcover i)
  let W (v : Σ i, V i) : Set (Σ i, Y i) := Sigma.mk v.1 '' v.2.val
  refine ⟨range W, forall_mem_range.mpr (fun ⟨i,v⟩ ↦ isOpenMap_sigmaMk _ (ho i v v.property)),
    ?_, ?_, ?_⟩
  · apply eq_univ_of_forall
    rintro ⟨i, x⟩
    obtain ⟨v, hv, hx⟩ := mem_sUnion.mp (hVc i ▸ mem_univ x : x ∈ ⋃₀ V i)
    exact mem_sUnion_of_mem (mem_image_of_mem (Sigma.mk i) hx)
      (mem_range_self (f := W) ⟨i, v, hv⟩)
  · rintro ⟨i,x⟩
    apply Set.Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
    apply ((hf i x).image (fun v ↦ W ⟨i,v⟩)).subset
    rintro _ ⟨⟨_, ⟨k, v⟩, rfl⟩, ⟨w, hw, he⟩, rfl⟩
    cases he
    exact ⟨v, hw, rfl⟩
  · rintro _ ⟨⟨i, v⟩, rfl⟩
    obtain ⟨_, ⟨u, hu, rfl⟩, hsub⟩ := hr i v v.property
    exact ⟨u, hu, image_subset_iff.mpr hsub⟩

On this site: Theorem: Disjoint sums of countably metacompact spaces

definition bandMap

TopologyByExample.HewittCondensedCorkscrew.bandMap

The disjoint union of one fixed quadrant from each original corkscrew.

noncomputable def bandMap (n : ℤ) (x : Σ _ : OmegaOne, DeletedTychonoffPlank) : Space
:=
  copy x.1 (gluing.chart n x.2)

theorem closedEmbedding_bandMap

TopologyByExample.HewittCondensedCorkscrew.closedEmbedding_bandMap

Each band has exactly the topology of the disjoint sum of its quadrants.

theorem closedEmbedding_bandMap (n : ℤ) : IsClosedEmbedding (bandMap n)
Proof
:= by
  apply IsClosedEmbedding.of_continuous_injective_isClosedMap
    (continuous_sigma fun i ↦ (closedEmbedding_chart i n).continuous)
  · rintro ⟨i, y⟩ ⟨j, z⟩ h
    exact Sigma.ext (congrArg Space.index h) (heq_of_eq (congrArg Space.coord h))
  · intro C hC
    apply isClosed_iff.mpr
    intro i
    let B := gluing.chart n '' ((@Sigma.mk OmegaOne (fun _ ↦ DeletedTychonoffPlank) i) ⁻¹' C)
    let F := copy i ⁻¹' (bandMap n '' C)
    have hb : IsClosed B := (gluing.closedEmbedding_chart n).isClosedMap _
      (hC.preimage continuous_sigmaMk)
    have hbf : B ⊆ F := by
      rintro _ ⟨y, hy, rfl⟩
      exact ⟨⟨i,y⟩, hy, rfl⟩
    have hf : (F \ B).Finite := by
      apply (show ({DoubleJones.Space.neg, .pos} : Set TychonoffCorkscrew.Space).Finite by
        simp).subset
      rintro (_ | _ | ⟨k, y⟩) hx
      · simp
      · simp
      · obtain ⟨⟨j,z⟩, hz, he⟩ := hx.1
        change Space.mk j (gluing.slot n z) z = Space.mk i k y at he
        cases he
        exact (hx.2 ⟨_, hz, rfl⟩).elim
    change IsClosed F
    simpa only [union_sdiff_cancel hbf] using hb.union hf.isClosed

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

theorem iUnion_band

TopologyByExample.HewittCondensedCorkscrew.iUnion_band

The integer bands cover all ordinary points.

theorem iUnion_band : ⋃ n, range (bandMap n) = univ
Proof
:= by
  apply eq_univ_of_forall
  intro x
  obtain ⟨t, ht⟩ := gluing.surjective_quotient (ordinary x)
  cases t with
  | neg => contradiction
  | pos => contradiction
  | layer n y => exact mem_iUnion.mpr ⟨n, ⟨x.index,y⟩, congrArg (copy x.index) ht⟩

theorem nowhereDense_band

TopologyByExample.HewittCondensedCorkscrew.nowhereDense_band

Each band misses an entire further quadrant in any nonempty open set.

theorem nowhereDense_band (n : ℤ) : IsNowhereDense (range (bandMap n))
Proof
:= by
  rw [IsNowhereDense, (closedEmbedding_bandMap n).isClosed_range.closure_eq]
  apply eq_empty_iff_forall_notMem.mpr
  intro x hx
  let i := pairs.symm (x,x)
  have hpos : copy i .pos ∈ interior (range (bandMap n)) := by simpa [i, copy] using hx
  obtain ⟨N, hN⟩ := (gluing.isOpen_iff.mp (isOpen_interior.preimage (continuous_copy i))).2.2 hpos
  let m := max N (n+2)
  let y := DeletedTychonoffPlank.mkCoe ⊥ (0 : ℕ)
  obtain ⟨⟨j,z⟩, he⟩ := interior_subset (hN m (le_max_left ..) y)
  have hcoord := congrArg Space.coord he
  change z = y at hcoord
  subst z
  have hs := gluing.nearby (congrArg Space.level he)
  have := le_max_right N (n+2)
  omega

theorem isMeagre_univ

TopologyByExample.HewittCondensedCorkscrew.isMeagre_univ

The condensed corkscrew is a countable union of nowhere dense sets.

theorem isMeagre_univ : IsMeagre (univ : Set Space)
Proof
:= by
  rw [← iUnion_band]
  exact isMeagre_iUnion fun n ↦ (nowhereDense_band n).isMeagre

On this site: Hewitt's condensed corkscrew is not of second category

theorem countablyMetacompactSpace

TopologyByExample.HewittCondensedCorkscrew.countablyMetacompactSpace

Each band is a disjoint sum of countably metacompact planks.

theorem countablyMetacompactSpace : CountablyMetacompactSpace Space
Proof
:= by
  let e := Equiv.intEquivNat.symm
  refine countablyMetacompactSpace_of_countable_closed_cover (fun k ↦ range (bandMap (e k)))
    (fun k ↦ (closedEmbedding_bandMap _).isClosed_range) ?_ (fun k ↦ ?_)
  · exact (e.surjective.iUnion_comp (g := fun n ↦ range (bandMap n))).trans iUnion_band
  · exact (Homeomorph.countablyMetacompactSpace_iff
      (closedEmbedding_bandMap _).isEmbedding.toHomeomorph).mp
        (countablyMetacompactSpace_sigma fun _ ↦ DeletedTychonoffPlank.countablyMetacompactSpace)

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