Lean library · module TopologyByExample.Spaces.BingPositiveCovers
Positive covering properties of Bing's example and Michael's subspace
A countable partition of the principal points can be expanded into disjoint clopen sets. This gives locally finite refinements of countable covers. For finite supports the singleton coordinates give a point-finite assignment even for arbitrary covers.
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 locallyFinite_partition
TopologyByExample.BingExampleG.locallyFinite_partition
private theorem locallyFinite_partition {X : Type*} [TopologicalSpace X] {V : Set (Set X)}
(ho : ∀ v ∈ V, IsOpen v) (hc : ⋃₀ V = univ)
(hp : ∀ u ∈ V, ∀ v ∈ V, (u ∩ v).Nonempty → u = v) :
LocallyFinite (fun v : V ↦ v.val)
Proof
:= by
intro x
obtain ⟨v, hv, hx⟩ := mem_sUnion.1 (hc ▸ mem_univ x)
refine ⟨v, (ho v hv).mem_nhds hx, (finite_singleton (⟨v, hv⟩ : V)).subset ?_⟩
exact fun u hu ↦ Subtype.ext (hp u u.property v hv hu)
instance
instance : CountablyParacompactSpace Space
Proof
:= by
classical
refine ⟨fun U hcnt ho hc ↦ ?_⟩
have hcover (x : Space) : ∃ u : U, x ∈ u.val := by
obtain ⟨u, hu, hx⟩ := mem_sUnion.1 (hc ▸ mem_univ x)
exact ⟨⟨u, hu⟩, hx⟩
choose a ha using fun r ↦ hcover (point r)
have := hcnt.to_subtype
obtain ⟨code, hcode⟩ := Countable.exists_injective_nat U
let C (n : ℕ) : Coord := {r | code (a r) = n}
let D (u : U) := (u.val ∩ yes (C (code u))) ∩ ⋂ j ∈ Finset.range (code u), (yes (C j))ᶜ
have hDo (u : U) : IsOpen (D u) := ((ho _ u.property).inter (isClopen_yes _).isOpen).inter
(isOpen_biInter_finset fun _ _ ↦ (isClopen_yes _).isClosed.isOpen_compl)
have hD (r : ℝ) : point r ∈ D (a r) := by
refine ⟨⟨ha r, rfl⟩, mem_iInter₂.2 fun j hj he ↦ ?_⟩
exact (Finset.mem_range.1 hj).ne (show code (a r) = j from he).symm
have hsep {u v : U} {x : Space} (hu : x ∈ D u) (hv : x ∈ D v) : u = v := by
apply hcode
rcases lt_trichotomy (code u) (code v) with h | h | h
· exact ((mem_iInter₂.1 hv.2 _ (Finset.mem_range.2 h)) hu.1.2).elim
· exact h
· exact ((mem_iInter₂.1 hu.2 _ (Finset.mem_range.2 h)) hv.1.2).elim
let Z : Set Space := (⋃ u, D u)ᶜ
let V : Set (Set Space) := range D ∪ (fun x : Space ↦ {x}) '' Z
have hVo (v : Set Space) (hv : v ∈ V) : IsOpen v := by
obtain (⟨u, rfl⟩ | ⟨x, hx, rfl⟩) := hv
· exact hDo u
· apply isOpen_singleton_of_not_principal
rintro ⟨r, rfl⟩
exact hx (mem_iUnion.2 ⟨a r, hD r⟩)
have hVc : ⋃₀ V = univ := by
apply eq_univ_of_forall
intro x
by_cases hx : x ∈ ⋃ u, D u
· obtain ⟨u, hu⟩ := mem_iUnion.1 hx
exact mem_sUnion.2 ⟨D u, Or.inl (mem_range_self u), hu⟩
· exact mem_sUnion.2 ⟨{x}, Or.inr ⟨x, hx, rfl⟩, rfl⟩
refine ⟨V, hVo, hVc, locallyFinite_partition hVo hVc ?_, ?_⟩
· rintro _ (⟨u, rfl⟩ | ⟨x, hx, rfl⟩) _ (⟨v, rfl⟩ | ⟨y, hy, rfl⟩) ⟨z, hzu, hzv⟩
· exact congrArg D (hsep hzu hzv)
· exact (hy (mem_iUnion.2 ⟨u, (show z = y from hzv) ▸ hzu⟩)).elim
· exact (hx (mem_iUnion.2 ⟨v, (show z = x from hzu) ▸ hzv⟩)).elim
· exact congrArg singleton ((show z = x from hzu).symm.trans hzv)
· rintro _ (⟨u, rfl⟩ | ⟨x, _, rfl⟩)
· exact ⟨u, u.property, fun _ h ↦ h.1.1⟩
· obtain ⟨u, hu⟩ := hcover x
exact ⟨u, u.property, singleton_subset_iff.2 hu⟩
theorem finite_true_singletons
TopologyByExample.BingExampleG.finite_true_singletons
In Michael's subspace each point belongs to the true singleton-coordinate cylinders for only finitely many real labels.
theorem finite_true_singletons (x : Michael) : {r : ℝ | ({r} : Coord) ∈ x.val.support}.Finite
Proof
:= by
rcases x.property with ⟨r, hr⟩ | h
· apply (finite_singleton r).subset
intro s hs
rw [← hr] at hs
exact (show r = s from hs).symm
· exact h.preimage (fun _ _ _ _ he ↦ singleton_injective he)
instance
instance : MetacompactSpace Michael
Proof
:= by
classical
let A (x : Michael) := if h : x.val ∈ range point then
(Subtype.val ⁻¹' yes {h.choose} : Set Michael) else {x}
apply metacompactSpace_of_closed_image_of_pointFinite_neighbourhoods
id (fun s hs ↦ by simpa using hs) Function.surjective_id A
· intro x
dsimp [A]
split_ifs with h
· exact (isClopen_yes _).isOpen.preimage continuous_subtypeVal
· have he : (Subtype.val ⁻¹' {x.val} : Set Michael) = {x} := by
ext y
simp only [mem_preimage, mem_singleton_iff, Subtype.val_inj]
rw [← he]
exact (isOpen_singleton_of_not_principal h).preimage continuous_subtypeVal
· intro x
dsimp [A]
split_ifs with h
· change ({h.choose} : Coord) ∈ x.val.support
have hp : ({h.choose} : Coord) ∈ (point h.choose).support := rfl
simpa only [h.choose_spec] using hp
· rfl
· intro x
apply ((finite_singleton x).union ((finite_true_singletons x).image mPoint)).subset
intro y hy
change x ∈ A y at hy
dsimp [A] at hy
split_ifs at hy with h
· exact Or.inr ⟨h.choose, hy, Subtype.ext h.choose_spec⟩
· exact Or.inl (show x = y from hy).symm