Lean library · module TopologyByExample.Spaces.HewittOpenSets
Disjoint open sets in Hewitt's condensed corkscrew
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.
definition site
TopologyByExample.HewittCondensedCorkscrew.site
A chosen isolated point of the original corkscrew in each integer quadrant.
noncomputable def site (n : ℤ)
:= gluing.chart n (mkCoe ⊥ (0 : ℕ))
theorem site_eq
TopologyByExample.HewittCondensedCorkscrew.site_eq
private theorem site_eq (n : ℤ) : site n = .point n (mkCoe ⊥ (0 : ℕ))
Proof
:= by
simp [site, DoubleJones.Data.chart, DoubleJones.Data.slot, TychonoffCorkscrew.gluing,
DeletedTychonoffPlank.mkCoe]
theorem isOpen_singleton_site
TopologyByExample.HewittCondensedCorkscrew.isOpen_singleton_site
theorem isOpen_singleton_site (n : ℤ) : IsOpen {site n}
Proof
:= by
have ho : IsOpen ({mkCoe ⊥ (0 : ℕ)} : Set DeletedTychonoffPlank) := by
simpa only [image_singleton] using DeletedTychonoffPlank.isOpenEmbedding_mkCoe_zero.isOpenMap _
(SuccOrder.isOpen_singleton_bot (α := OmegaOne))
rw [show {site n} = gluing.chart n '' {mkCoe ⊥ (0 : ℕ)} from by simp [site]]
exact gluing.isOpen_chart_image ho (disjoint_left.mpr fun _ h ↦ h ▸ OnePoint.coe_ne_infty 0)
(disjoint_left.mpr fun _ h ↦ h ▸ OnePoint.coe_ne_infty ⊥) n
definition seed
TopologyByExample.HewittCondensedCorkscrew.seed
private noncomputable def seed (x : Space) (i : OmegaOne) : Set TychonoffCorkscrew.Space
:= by
classical exact if i = x.index then {ordinary x} else ∅
theorem seed_iff
TopologyByExample.HewittCondensedCorkscrew.seed_iff
private theorem seed_iff {x y : Space} : ordinary y ∈ seed x y.index ↔ y = x
Proof
:= by
classical
simp only [seed]
split_ifs with h
· constructor
· intro he
exact Space.ext h (DoubleJones.Space.point.inj he).1 (DoubleJones.Space.point.inj he).2
· rintro rfl; rfl
· simp [show y ≠ x from fun e ↦ h (e ▸ rfl)]
theorem tip_not_seed
TopologyByExample.HewittCondensedCorkscrew.tip_not_seed
private theorem tip_not_seed (x : Space) (i : OmegaOne) (b : Bool) : tip b ∉ seed x i
theorem isOpen_seed
TopologyByExample.HewittCondensedCorkscrew.isOpen_seed
private theorem isOpen_seed (x : Space) (h : IsOpen {ordinary x}) (i : OmegaOne) :
IsOpen (seed x i)
Proof
:= by classical unfold seed; split <;> simp [h]
theorem isClosed_seed
TopologyByExample.HewittCondensedCorkscrew.isClosed_seed
private theorem isClosed_seed (x : Space) (i : OmegaOne) : IsClosed (seed x i)
Proof
:= by
classical unfold seed; split <;> simp
structure Tails
TopologyByExample.HewittCondensedCorkscrew.Tails
private structure Tails where
region : Bool → Set TychonoffCorkscrew.Space
open_region : ∀ b, IsOpen (region b)
tips : ∀ b c, tip c ∈ region b ↔ c = b
unique : ∀ {b c t}, t ∈ region b → t ∈ region c → b = c
avoids : ∀ b, site 0 ∉ region b
definition tails
TopologyByExample.HewittCondensedCorkscrew.tails
private noncomputable def tails : Tails
Definition
:= Classical.choice (by
classical
obtain ⟨L, R, hl, hr, hL, hR, hd⟩ := t2_separation (show tip false ≠ tip true by intro h; cases h)
let A (b : Bool) := (if b then R else L) \ {site 0}
have hm (b : Bool) : tip b ∈ A b := by
cases b
· exact ⟨hL, by simp [site_eq, tip]⟩
· exact ⟨hR, by simp [site_eq, tip]⟩
have hu {b c : Bool} {t : TychonoffCorkscrew.Space} (hb : t ∈ A b) (hc : t ∈ A c) : b = c := by
cases b <;> cases c <;> first | rfl | exact (disjoint_left.mp hd hb.1 hc.1).elim |
exact (disjoint_left.mp hd hc.1 hb.1).elim
exact ⟨⟨A, fun b ↦ by
cases b <;> simp [A, hl.sdiff isClosed_singleton, hr.sdiff isClosed_singleton],
fun b c ↦ ⟨fun h ↦ hu (hm c) h, fun h ↦ h ▸ hm b⟩, hu, fun _ h ↦ h.2 rfl⟩⟩)
definition region
TopologyByExample.HewittCondensedCorkscrew.region
private noncomputable def region (x : Space)
:= grow (seed x) (fun _ ↦ tails.region)
theorem mem_region
TopologyByExample.HewittCondensedCorkscrew.mem_region
private theorem mem_region (x : Space) : x ∈ region x
theorem open_region
TopologyByExample.HewittCondensedCorkscrew.open_region
private theorem open_region {x : Space} (h : IsOpen {ordinary x}) : IsOpen (region x)
Proof
:=
isOpen_grow (tip_not_seed x) (fun _ ↦ tails.tips) (isOpen_seed x h) (fun _ ↦ tails.open_region)
theorem distinct_roots
TopologyByExample.HewittCondensedCorkscrew.distinct_roots
private theorem distinct_roots {x y : Space} (hx : ordinary x = site 0)
(hy : ordinary y = site 0) {z : Space} (hz : z ∈ region x) (hz' : z ∈ region y) : x = y
Proof
:= by
change Reached (seed x) _ z at hz
induction hz with
| seed z h =>
have he := seed_iff.mp h
subst z
cases (show Reached (seed y) _ x from hz') with
| seed _ h => exact seed_iff.mp h
| child _ b _ ht => exact (tails.avoids b (hx ▸ ht)).elim
| child z b _ ht ih =>
cases (show Reached (seed y) _ z from hz') with
| seed _ h =>
have he := seed_iff.mp h
exact (tails.avoids b ((he ▸ hy) ▸ ht)).elim
| child _ c hc ht' =>
obtain rfl := tails.unique ht ht'
exact ih hc
theorem not_countableChainCondition
TopologyByExample.HewittCondensedCorkscrew.not_countableChainCondition
Uncountably many disjoint open regions grow from isolated ordinary seeds, one centrally located in each original corkscrew.
theorem not_countableChainCondition :
¬∀ S : Set (Set Space), (∀ U ∈ S, IsOpen U ∧ U.Nonempty) →
S.PairwiseDisjoint id → S.Countable
Proof
:= by
let root (i : OmegaOne) := copy i (site 0)
have ho i : ordinary (root i) = site 0 := rfl
let A i := region (root i)
have hD {i j : OmegaOne} (h : i ≠ j) : Disjoint (A i) (A j) :=
disjoint_left.mpr fun _ hi hj ↦ h (congrArg Space.index (distinct_roots (ho i) (ho j) hi hj))
have hinj : Function.Injective A := fun i j h ↦ by
by_contra ne
exact disjoint_left.mp (hD ne) (mem_region (root i)) (h ▸ mem_region (root i))
intro h
have hc := h (range A) (forall_mem_range.mpr fun i ↦
⟨open_region (ho i ▸ isOpen_singleton_site 0), root i, mem_region _⟩) (by
rintro _ ⟨i,rfl⟩ _ ⟨j,rfl⟩ he
exact hD (fun h ↦ he (h ▸ rfl)))
exact not_countable_univ (countable_of_injective_of_countable_image hinj.injOn
(by simpa only [image_univ] using hc))
On this site: Hewitt's condensed corkscrew does not satisfy the countable chain condition
theorem root_not_mem_other
TopologyByExample.HewittCondensedCorkscrew.root_not_mem_other
private theorem root_not_mem_other {x y : Space} (hx : ordinary x = site 0) (hne : x ≠ y) :
x ∉ region y
theorem open_region_sdiff
TopologyByExample.HewittCondensedCorkscrew.open_region_sdiff
Inside a region grown from a central seed, the complement of another single-seed region is relatively open. The two tail pieces of each copy are disjoint, leaving only the second seed to remove from an unselected piece.
private theorem open_region_sdiff (x y : Space) (hx : ordinary x = site 0) :
IsOpen (region x \ region y)
Proof
:= by
apply isOpen_iff.mpr
intro i
rw [preimage_sdiff, region, region, preimage_grow (tip_not_seed x) (fun _ ↦ tails.tips),
preimage_grow (tip_not_seed y) (fun _ ↦ tails.tips)]
apply isOpen_iff_mem_nhds.mpr
rintro t ⟨ht, hnot⟩
rcases ht with hs | ht
· have hopen := isOpen_seed x (hx ▸ isOpen_singleton_site 0) i
apply mem_of_superset (hopen.mem_nhds hs)
intro u hu
have he : seed x i ⊆ {ordinary x} := by classical unfold seed; split <;> simp
have hut : u = t := (he hu).trans (he hs).symm
exact hut ▸ ⟨Or.inl hs, hnot⟩
· obtain ⟨b, hb, ht⟩ := mem_iUnion₂.mp ht
have hn : anchor i b ∉ region y := fun h ↦ hnot (Or.inr (mem_iUnion₂.mpr ⟨b,h,ht⟩))
apply mem_of_superset (((tails.open_region b).sdiff (isClosed_seed y i)).mem_nhds
⟨ht, fun h ↦ hnot (Or.inl h)⟩)
intro u hu
refine ⟨Or.inr (mem_iUnion₂.mpr ⟨b,hb,hu.1⟩), ?_⟩
rintro (h | h)
· exact hu.2 h
· obtain ⟨c,hc,hu'⟩ := mem_iUnion₂.mp h
exact hn ((tails.unique hu.1 hu') ▸ hc)
theorem not_locallyConnectedSpace
TopologyByExample.HewittCondensedCorkscrew.not_locallyConnectedSpace
The central seed has an open neighbourhood containing no connected open neighbourhood of the seed.
theorem not_locallyConnectedSpace : ¬LocallyConnectedSpace Space
Proof
:= by
intro h
let x := copy ⊥ (site 0)
have hx : ordinary x = site 0 := rfl
obtain ⟨V, hVU, hVo, hxV, hVc⟩ := locallyConnectedSpace_iff_subsets_isOpen_isConnected.mp h
x _ ((open_region (hx ▸ isOpen_singleton_site 0)).mem_nhds (mem_region x))
let i := pairs.symm (x,x)
have hp : copy i .pos ∈ V := by simpa [i,copy] using hxV
obtain ⟨N, hN⟩ := (gluing.isOpen_iff.mp (hVo.preimage (continuous_copy i))).2.2 hp
let n := max N 1
let y := copy i (site n)
have hy : y ∈ V := hN n (le_max_left ..) _
have hne : x ≠ y := by
intro he
have hz := congrArg Space.level he
change (copy ⊥ (site 0)).level = (copy i (site n)).level at hz
rw [site_eq,site_eq] at hz
change (0 : ℤ) = n at hz
have := le_max_right N 1
omega
have hoy : IsOpen (region y) := open_region (isOpen_singleton_site n)
have hsd := open_region_sdiff x y hx
have hxy := root_not_mem_other hx hne
have hcov : V ⊆ (region x \ region y) ∪ region y := by
intro z hz
by_cases h : z ∈ region y
exacts [Or.inr h, Or.inl ⟨hVU hz,h⟩]
have hsmall := hVc.isPreconnected.subset_left_of_subset_union hsd hoy disjoint_sdiff_left
hcov ⟨x, hxV, mem_region x, hxy⟩
exact (hsmall hy).2 (mem_region y)
On this site: Hewitt's condensed corkscrew is not locally connected