Lean library · module TopologyByExample.Spaces.BingExtremal

Two open colours accumulating at the principal points

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 finitePoint_injective

TopologyByExample.BingExampleG.finitePoint_injective

Finite supports are determined by their points.

theorem finitePoint_injective : Function.Injective finitePoint
Proof
:= by
  intro f g h
  exact Finset.coe_injective (congrArg (fun x : Michael ↦ x.val.support) h)

theorem exists_finitePoint_parity

TopologyByExample.BingExampleG.exists_finitePoint_parity

Every finite coordinate specification extends to a finite support of either parity.

theorem exists_finitePoint_parity (x : Space) (f : Finset Coord) (b : ℕ) (hb : b < 2) :
    ∃ g : Finset Coord, (finitePoint g).val ∈ cyl x f ∧ g.card % 2 = b
Proof
:= by
  classical
  let a := f.filter (· ∈ x.support)
  have ha : (finitePoint a).val ∈ cyl x f := by
    intro q hq
    simp [finitePoint, a, hq]
  obtain ⟨q, hq⟩ := Infinite.exists_notMem_finset f
  have hqa : q ∉ a := fun h ↦ hq (Finset.mem_filter.1 h).1
  have hai : (finitePoint (insert q a)).val ∈ cyl x f := by
    intro p hp
    have hpq : p ≠ q := fun h ↦ hq (h ▸ hp)
    simpa [finitePoint, hpq] using ha p hp
  by_cases h : a.card % 2 = b
  · exact ⟨a, ha, h⟩
  · refine ⟨insert q a, hai, ?_⟩
    rw [Finset.card_insert_of_notMem hqa]
    omega

definition colour

TopologyByExample.BingExampleG.colour

Finite-support vectors coloured by the parity of their support size.

def colour (b : ℕ) : Set Space
:=
  {x | ∃ f : Finset Coord, f.card % 2 = b ∧ (finitePoint f).val = x}

theorem isOpen_colour

TopologyByExample.BingExampleG.isOpen_colour

Each colour is open, since it consists of isolated points.

theorem isOpen_colour (b : ℕ) : IsOpen (colour b)
Proof
:= by
  apply isOpen_iff_forall_mem_open.2
  rintro x ⟨f, hf, rfl⟩
  exact ⟨_, singleton_subset_iff.2 ⟨f, hf, rfl⟩, isOpen_singleton_finite f, rfl⟩

theorem disjoint_colours

TopologyByExample.BingExampleG.disjoint_colours

The two colours are disjoint.

theorem disjoint_colours : Disjoint (colour 0) (colour 1)
Proof
:= by
  apply Set.disjoint_left.2
  rintro x ⟨f, hf, hfx⟩ ⟨g, hg, hgx⟩
  have he := finitePoint_injective (Subtype.ext (hfx.trans hgx.symm))
  subst g
  omega

theorem point_mem_closure_colour

TopologyByExample.BingExampleG.point_mem_closure_colour

Both colours accumulate at each principal point of the full space.

theorem point_mem_closure_colour (r : ℝ) (b : ℕ) (hb : b < 2) :
    point r ∈ closure (colour b)
Proof
:= by
  apply (mem_closure_iff_nhds_basis (nhds_point r)).2
  intro f _
  obtain ⟨g, hg, hgb⟩ := exists_finitePoint_parity (point r) f b hb
  exact ⟨(finitePoint g).val, ⟨g, hgb, rfl⟩, hg⟩

theorem mPoint_mem_closure_colour

TopologyByExample.BingExampleG.mPoint_mem_closure_colour

Both colours also accumulate at each principal point inside Michael's subspace.

theorem mPoint_mem_closure_colour (r : ℝ) (b : ℕ) (hb : b < 2) :
    mPoint r ∈ closure (Subtype.val ⁻¹' colour b : Set Michael)
Proof
:= by
  apply (mem_closure_iff_nhds_basis (nhds_mPoint r)).2
  intro f _
  obtain ⟨g, hg, hgb⟩ := exists_finitePoint_parity (point r) f b hb
  exact ⟨finitePoint g, ⟨g, hgb, rfl⟩, hg⟩

theorem not_extremallyDisconnected

TopologyByExample.BingExampleG.not_extremallyDisconnected

Bing's full space is not extremally disconnected.

theorem not_extremallyDisconnected : ¬ ExtremallyDisconnected Space
Proof
:= by
  intro h
  let := h
  exact Set.disjoint_left.1
    (ExtremallyDisconnected.disjoint_closure_of_disjoint_isOpen disjoint_colours
      (isOpen_colour 0) (isOpen_colour 1))
    (point_mem_closure_colour 0 0 (by decide)) (point_mem_closure_colour 0 1 (by decide))

On this site: Bing's Example G is not extremally disconnected

theorem michael_not_extremallyDisconnected

TopologyByExample.BingExampleG.michael_not_extremallyDisconnected

Michael's subspace is not extremally disconnected.

theorem michael_not_extremallyDisconnected : ¬ ExtremallyDisconnected Michael
Proof
:= by
  intro h
  let := h
  exact Set.disjoint_left.1
    (ExtremallyDisconnected.disjoint_closure_of_disjoint_isOpen
      (disjoint_colours.preimage Subtype.val)
      ((isOpen_colour 0).preimage continuous_subtypeVal)
      ((isOpen_colour 1).preimage continuous_subtypeVal))
    (mPoint_mem_closure_colour 0 0 (by decide)) (mPoint_mem_closure_colour 0 1 (by decide))

On this site: Michael's subspace of Bing's Example G is not extremally disconnected