Lean library · module TopologyByExample.Theorems.DoubleJonesProperties
Properties of the double Jones construction
Closed scattered levels give a scattered double Jones space. Boundedness and countable compactness are controlled by the two tails and finitely many levels.
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
variable {Y : Type*} [TopologicalSpace Y] (d : Data Y)
definition levels
TopologyByExample.DoubleJones.Data.levels
The ordinary points whose original coordinates belong to a given subset.
noncomputable def levels (s : Set Y) : Set (Space d)
:= ⋃ n, d.chart n '' s
theorem preimage_levels
TopologyByExample.DoubleJones.Data.preimage_levels
theorem preimage_levels (n : ℤ) (s : Set Y) : d.chart n ⁻¹' d.levels s = s
Proof
:= by
ext y
constructor
· intro h
obtain ⟨m, z, hz, he⟩ := mem_iUnion.mp h
exact (Space.point.inj he).2 ▸ hz
· intro h
exact mem_iUnion.mpr ⟨n, y, h, rfl⟩
theorem neg_notMem_levels
TopologyByExample.DoubleJones.Data.neg_notMem_levels
private theorem neg_notMem_levels (s : Set Y) : Space.neg ∉ d.levels s
Proof
:= by
intro h
obtain ⟨_, _, _, he⟩ := mem_iUnion.mp h
contradiction
theorem pos_notMem_levels
TopologyByExample.DoubleJones.Data.pos_notMem_levels
private theorem pos_notMem_levels (s : Set Y) : Space.pos ∉ d.levels s
Proof
:= by
intro h
obtain ⟨_, _, _, he⟩ := mem_iUnion.mp h
contradiction
theorem isOpen_levels
TopologyByExample.DoubleJones.Data.isOpen_levels
theorem isOpen_levels {s : Set Y} (hs : IsOpen s) : IsOpen (d.levels s)
Proof
:= by
refine d.isOpen_iff.mpr ⟨fun n ↦ by rwa [d.preimage_levels], ?_, ?_⟩
· exact fun h ↦ (d.neg_notMem_levels s h).elim
· exact fun h ↦ (d.pos_notMem_levels s h).elim
theorem isSigmaCompact_levels
TopologyByExample.DoubleJones.Data.isSigmaCompact_levels
theorem isSigmaCompact_levels {s : Set Y} (hs : IsSigmaCompact s) : IsSigmaCompact (d.levels s)
Proof
:=
isSigmaCompact_iUnion _ fun n ↦ hs.image (d.continuous_chart n)
theorem isCountablyCompact_compl_levels
TopologyByExample.DoubleJones.Data.isCountablyCompact_compl_levels
The complementary ordinary levels, together with both ideal ends, are countably compact whenever the complementary part of a single level is.
theorem isCountablyCompact_compl_levels {s : Set Y} (hs : IsCountablyCompact sᶜ) :
IsCountablyCompact (d.levels s)ᶜ
Proof
:= by
classical
apply isCountablyCompact_iff_countable_open_cover.mpr
intro U hU hcover
obtain ⟨i, hi⟩ := mem_iUnion.mp (hcover (d.neg_notMem_levels s))
obtain ⟨j, hj⟩ := mem_iUnion.mp (hcover (d.pos_notMem_levels s))
obtain ⟨a, ha⟩ := (d.isOpen_iff.mp (hU i)).2.1 hi
obtain ⟨b, hb⟩ := (d.isOpen_iff.mp (hU j)).2.2 hj
let F := Finset.Icc a b
have hmid := F.isCountablyCompact_biUnion (f := fun n ↦ d.chart n '' sᶜ)
fun n _ ↦ hs.image (d.continuous_chart n)
have hsub : (⋃ n ∈ F, d.chart n '' sᶜ) ⊆ (d.levels s)ᶜ := by
rintro x hx
obtain ⟨n, _, y, hy, rfl⟩ := mem_iUnion₂.mp hx
exact fun h ↦ hy (show y ∈ s from d.preimage_levels n s ▸
(show y ∈ d.chart n ⁻¹' d.levels s from h))
obtain ⟨T, hT⟩ := hmid.elim_finite_subcover hU (hsub.trans hcover)
refine ⟨insert i (insert j T), fun x hx ↦ ?_⟩
obtain ⟨(_ | _ | ⟨n, y⟩), rfl⟩ := d.surjective_quotient x
· exact mem_iUnion₂.mpr ⟨i, by simp, hi⟩
· exact mem_iUnion₂.mpr ⟨j, by simp, hj⟩
· by_cases hna : n ≤ a
· exact mem_iUnion₂.mpr ⟨i, by simp, ha n hna y⟩
by_cases hnb : b ≤ n
· exact mem_iUnion₂.mpr ⟨j, by simp, hb n hnb y⟩
have hy : y ∈ sᶜ := fun hy ↦ hx (mem_iUnion.mpr ⟨n, y, hy, rfl⟩)
obtain ⟨k, hk, hxk⟩ := mem_iUnion₂.mp (hT (mem_iUnion₂.mpr
⟨n, Finset.mem_Icc.mpr ⟨by omega, by omega⟩, y, hy, rfl⟩))
exact mem_iUnion₂.mpr ⟨k, by simp [hk], hxk⟩
theorem pseudocompactSpace
TopologyByExample.DoubleJones.Data.pseudocompactSpace
Pseudocompactness of all levels, together with the full tails at the ends, bounds every continuous real function.
theorem pseudocompactSpace [PseudocompactSpace Y] : PseudocompactSpace (Space d)
Proof
:= by
constructor
intro f
let I (x : Space d) := Ioo (f x - 1) (f x + 1)
have hI (x : Space d) : IsOpen (f ⁻¹' I x) := isOpen_Ioo.preimage f.continuous
have hxI (x : Space d) : f x ∈ I x := ⟨by linarith, by linarith⟩
obtain ⟨a, ha⟩ := (d.isOpen_iff.mp (hI .neg)).2.1 (hxI _)
obtain ⟨b, hb⟩ := (d.isOpen_iff.mp (hI .pos)).2.2 (hxI _)
let t := ⋃ n ∈ Icc a b, range (f ∘ d.chart n)
have hbd n := PseudocompactSpace.bddAbove_and_bddBelow_range
(⟨f ∘ d.chart n, f.continuous.comp (d.continuous_chart n)⟩ : C(Y, ℝ))
have ht : BddAbove t ∧ BddBelow t :=
⟨(finite_Icc a b).bddAbove_biUnion.mpr fun n _ ↦ (hbd n).1,
(finite_Icc a b).bddBelow_biUnion.mpr fun n _ ↦ (hbd n).2⟩
have hsub : range f ⊆ I .neg ∪ I .pos ∪ t := by
rintro _ ⟨x, rfl⟩
obtain ⟨(_ | _ | ⟨n,y⟩), rfl⟩ := d.surjective_quotient x
· exact Or.inl (Or.inl (hxI _))
· exact Or.inl (Or.inr (hxI _))
· by_cases hna : n ≤ a
· exact Or.inl (Or.inl (ha n hna y))
by_cases hnb : b ≤ n
· exact Or.inl (Or.inr (hb n hnb y))
exact Or.inr (mem_iUnion₂.mpr ⟨n, ⟨by omega, by omega⟩, y, rfl⟩)
exact ⟨((bddAbove_Ioo.union bddAbove_Ioo).union ht.1).mono hsub,
((bddBelow_Ioo.union bddBelow_Ioo).union ht.2).mono hsub⟩
theorem isolate_finite_charts
TopologyByExample.DoubleJones.Data.isolate_finite_charts
private theorem isolate_finite_charts [ScatteredSpace Y] (F : Finset ℤ) {s : Set (Space d)}
(hs : s.Nonempty) (hsub : s ⊆ ⋃ n ∈ F, range (d.chart n)) :
∃ x ∈ s, ∃ U ∈ 𝓝 x, U ∩ s ⊆ {x}
Proof
:= by
classical
induction F using Finset.induction_on generalizing s with
| empty =>
exact (hs.ne_empty (by simpa using hsub)).elim
| insert n F _ ih =>
by_cases h : s ⊆ range (d.chart n)
· exact ScatteredSpace.exists_isolated_of_isEmbedding
(d.closedEmbedding_chart n).isEmbedding h hs
have hsub' : s \ range (d.chart n) ⊆ ⋃ m ∈ F, range (d.chart m) := by
intro x hx
obtain ⟨m, hm, hxm⟩ := mem_iUnion₂.mp (hsub hx.1)
rcases Finset.mem_insert.mp hm with rfl | hm
· exact (hx.2 hxm).elim
· exact mem_iUnion₂.mpr ⟨m, hm, hxm⟩
obtain ⟨x, hx, U, hUx, hUs⟩ := ih (sdiff_nonempty.mpr h) hsub'
exact ⟨x, hx.1, U ∩ (range (d.chart n))ᶜ, inter_mem hUx
((d.closedEmbedding_chart n).isClosed_range.isOpen_compl.mem_nhds hx.2),
fun _ hz ↦ hUs ⟨hz.1.1, hz.2, hz.1.2⟩⟩
theorem scatteredSpace
TopologyByExample.DoubleJones.Data.scatteredSpace
With T₁ scattered levels the entire glued space is scattered.
theorem scatteredSpace [T1Space Y] [ScatteredSpace Y] : ScatteredSpace (Space d)
Proof
:= by
classical
apply scatteredSpace_iff_exists_isolated.mpr
intro s hs
by_cases h : ∃ n y, d.chart n y ∈ s
· obtain ⟨n, y, hy⟩ := h
let F := Finset.Icc (n-1) (n+1)
let O := ⋃ m ∈ F, range (Raw.layer (Y := Y) m)
let W := kernImage d.quotient O
have hO : IsOpen O := isOpen_biUnion fun m _ ↦
(Raw.isOpenMap_layer m).isOpen_range
have hW : IsOpen W := isClosedMap_iff_kernImage.mp d.isClosedMap hO
have hw : d.chart n y ∈ W := by
rintro (_ | _ | ⟨j, z⟩) he <;> try contradiction
obtain ⟨he', he''⟩ := Space.point.inj he
subst z
exact mem_iUnion₂.mpr ⟨j, Finset.mem_Icc.mpr (d.nearby he'.symm), y, rfl⟩
have hsub : W ∩ s ⊆ ⋃ m ∈ F, range (d.chart m) := by
intro x hx
obtain ⟨z, rfl⟩ := d.surjective_quotient x
obtain ⟨m, hm, y, rfl⟩ := mem_iUnion₂.mp (show z ∈ O from hx.1 rfl)
exact mem_iUnion₂.mpr ⟨m, hm, y, rfl⟩
obtain ⟨x, hx, V, hV, hVs⟩ := d.isolate_finite_charts F (s := W ∩ s) ⟨_, hw, hy⟩ hsub
exact ⟨x, hx.2, V ∩ W, inter_mem hV (hW.mem_nhds hx.1),
fun _ hz ↦ hVs ⟨hz.1.1, hz.1.2, hz.2⟩⟩
· have hfin : s.Finite := by
apply (toFinite {Space.neg (d := d), Space.pos}).subset
intro x hx
obtain ⟨(_ | _ | ⟨n, y⟩), rfl⟩ := d.surjective_quotient x
· exact Or.inl rfl
· exact Or.inr rfl
· exact (h ⟨n,y,hx⟩).elim
obtain ⟨x, hx⟩ := hs
refine ⟨x, hx, (s \ {x})ᶜ, (hfin.sdiff.isClosed.isOpen_compl.mem_nhds (by simp)), ?_⟩
exact fun _ hz ↦ by by_contra he; exact hz.1 ⟨hz.2, he⟩