Lean library · module TopologyByExample.Spaces.ThomasCorkscrew
Thomas's corkscrew
The two-ended Jones construction applied to Thomas's plank alternately identifies its top and right edges.
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
definition gluing
TopologyByExample.ThomasCorkscrew.gluing
The top and right edges of Thomas's plank, as alternating gluing loci.
def gluing : DoubleJones.Data ThomasPlank
Definition
where
H := {y | y.val.2 = ∞}
K := {y | y.val.1 = ∞}
closedH := isClosed_singleton.preimage (continuous_snd.comp continuous_subtypeVal)
closedK := isClosed_singleton.preimage (continuous_fst.comp continuous_subtypeVal)
disjoint := disjoint_left.mpr fun y hh hk ↦ y.property (Prod.ext hk hh)
definition Space
TopologyByExample.ThomasCorkscrew.Space
The two-ended Thomas corkscrew.
abbrev Space
:= DoubleJones.Space gluing
On this site: Space: Thomas corkscrew
instance
instance : Nontrivial Space
Proof
:= ⟨⟨.neg, .pos, by intro h; cases h⟩⟩
theorem closedEmbedding_chart
TopologyByExample.ThomasCorkscrew.closedEmbedding_chart
Every quadrant is a closed copy of Thomas's plank.
theorem closedEmbedding_chart (n : ℤ) : IsClosedEmbedding (gluing.chart n)
Proof
:=
gluing.closedEmbedding_chart n
On this site: Thomas corkscrew: The closed Thomas plank quadrants
definition column
TopologyByExample.ThomasCorkscrew.column
private def column (r : WithDiscreteTopology ℝ) (k : OnePoint ℕ) : ThomasPlank
:=
⟨((r : OnePoint (WithDiscreteTopology ℝ)), k), by simp⟩
theorem eq_top
TopologyByExample.ThomasCorkscrew.eq_top
private theorem eq_top (n : ℤ) (hn : n % 2 = 0) (r : WithDiscreteTopology ℝ) :
gluing.chart n (column r ∞) = gluing.chart (n+1) (column r ∞)
Proof
:= by
simp only [DoubleJones.Data.chart, DoubleJones.Data.slot, gluing, mem_ofPred_eq, column,
↓reduceIte, DoubleJones.Space.point.injEq, and_true]
omega
theorem eq_right
TopologyByExample.ThomasCorkscrew.eq_right
private theorem eq_right (n : ℤ) (hn : n % 2 ≠ 0) (j : ℕ) :
gluing.chart n (mkNat ∞ j) = gluing.chart (n+1) (mkNat ∞ j)
Proof
:= by
simp only [DoubleJones.Data.chart, DoubleJones.Data.slot, gluing, mem_ofPred_eq, mkNat,
coe_ne_infty, ↓reduceIte, DoubleJones.Space.point.injEq, and_true]
omega
theorem exists_common_column
TopologyByExample.ThomasCorkscrew.exists_common_column
The countably many functions on finite-height rows have a single common ordinary coordinate at which all attain their value at the Fort point.
private theorem exists_common_column {M : Type*} [MetricSpace M] (F : ℤ → ThomasPlank → M)
(hF : ∀ n, Continuous (F n)) :
∃ r : WithDiscreteTopology ℝ, ∀ n j, F n (mkNat r j) = F n (mkNat ∞ j)
Proof
:= by
let g (x : OnePoint (WithDiscreteTopology ℝ)) (i : ℤ × ℕ) := F i.1 (mkNat x i.2)
have hg : Continuous g := continuous_pi fun i ↦ (hF i.1).comp (continuous_mkNat i.2)
have hG : IsGδ (g ⁻¹' {g ∞}) := isClosed_singleton.isGδ.preimage hg
obtain ⟨U, ho, he⟩ := hG.eq_iInter_nat
have hi : (∞ : OnePoint (WithDiscreteTopology ℝ)) ∈ ⋂ n, U n :=
he ▸ (show ∞ ∈ g ⁻¹' {g ∞} from rfl)
obtain ⟨x, hx, hall⟩ := FortSpaces.exists_ne_infty_forall_mem U
(fun j ↦ (ho j).mem_nhds (mem_iInter.mp hi j))
obtain ⟨r, rfl⟩ := OnePoint.ne_infty_iff_exists.mp hx
have hr : g r = g ∞ := (show (r : OnePoint _) ∈ g ⁻¹' {g ∞} from
he.symm ▸ mem_iInter.mpr hall)
exact ⟨r, fun n j ↦ congrFun hr (n, j)⟩
theorem ideal_values_eq
TopologyByExample.ThomasCorkscrew.ideal_values_eq
Every continuous map to a metric space agrees at the two ideal ends.
theorem ideal_values_eq {M : Type*} [MetricSpace M] {f : Space → M} (hf : Continuous f) :
f .neg = f .pos
Proof
:= by
let F n := f ∘ gluing.chart n
have hc n : Continuous (F n) := hf.comp (gluing.continuous_chart n)
obtain ⟨r, hr⟩ := exists_common_column F hc
let c n := F n (column r ∞)
have hlim n : Tendsto (fun j : ℕ ↦ F n (mkNat ∞ j)) atTop (𝓝 (c n)) := by
simp_rw [← hr n]
exact (((hc n).comp (continuous_mkCoe r)).tendsto ∞).comp
TychonoffPlank.tendsto_coe_nat_infty
have hstep (n : ℤ) : c n = c (n+1) := by
by_cases hn : n % 2 = 0
· exact congrArg f (eq_top n hn r)
· have he (j : ℕ) : F n (mkNat ∞ j) = F (n+1) (mkNat ∞ j) := congrArg f (eq_right n hn j)
exact tendsto_nhds_unique (hlim n) (by simpa only [he] using hlim (n+1))
have hconst (n : ℤ) : c n = c 0 := by
induction n using Int.induction_on with
| zero => rfl
| succ n ih => exact (hstep _).symm.trans ih
| pred n ih => exact (hstep _).trans (by simpa using ih)
have hneg := (hf.tendsto _).comp (gluing.tendsto_neg (fun _ ↦ column r ∞))
have hpos := (hf.tendsto _).comp (gluing.tendsto_pos (fun _ ↦ column r ∞))
have he (n : ℤ) : f (gluing.chart n (column r ∞)) = c 0 := hconst n
simp only [Function.comp_def, he] at hneg hpos
exact (tendsto_nhds_unique hneg tendsto_const_nhds).trans
(tendsto_nhds_unique tendsto_const_nhds hpos)
On this site: Thomas corkscrew: Continuous functions at the two ends
theorem not_functionallyHausdorffSpace
TopologyByExample.ThomasCorkscrew.not_functionallyHausdorffSpace
The two ends cannot be functionally separated.
theorem not_functionallyHausdorffSpace : ¬FunctionallyHausdorffSpace Space
Proof
:= by
intro h
obtain ⟨f, hf⟩ := functionallyHausdorffSpace_iff_real.mp h .neg .pos (by intro h; cases h)
exact hf (ideal_values_eq f.continuous)
On this site: The Thomas corkscrew is not functionally Hausdorff
theorem scatteredSpace
TopologyByExample.ThomasCorkscrew.scatteredSpace
The corkscrew is scattered.
theorem scatteredSpace : ScatteredSpace Space
Proof
:= by
let _ := ThomasPlank.scatteredSpace
exact gluing.scatteredSpace
On this site: The Thomas corkscrew is scattered
theorem not_countablyParacompactSpace
TopologyByExample.ThomasCorkscrew.not_countablyParacompactSpace
The closed plank obstructs countable paracompactness.
theorem not_countablyParacompactSpace : ¬CountablyParacompactSpace Space
Proof
:= fun _ ↦
ThomasPlank.not_countablyParacompactSpace (closedEmbedding_chart 0).countablyParacompactSpace
On this site: The Thomas corkscrew is not countably paracompact
theorem not_firstCountableTopology
TopologyByExample.ThomasCorkscrew.not_firstCountableTopology
The plank obstructs first countability.
theorem not_firstCountableTopology : ¬FirstCountableTopology Space
Proof
:= fun _ ↦
ThomasPlank.not_firstCountableTopology (closedEmbedding_chart 0).isInducing.firstCountableTopology
On this site: The Thomas corkscrew is not first countable
theorem openEmbedding_discreteReals
TopologyByExample.ThomasCorkscrew.openEmbedding_discreteReals
The ordinary points on the bottom row are an open discrete real subspace.
theorem openEmbedding_discreteReals : IsOpenEmbedding
(gluing.chart 0 ∘ fun x : WithDiscreteTopology ℝ ↦ mkNat x 0)
Proof
:= by
have hv := (isOpenEmbedding_mkNat 0).comp
(OnePoint.isOpenEmbedding_coe (X := WithDiscreteTopology ℝ))
refine ⟨(closedEmbedding_chart 0).isEmbedding.comp hv.isEmbedding, ?_⟩
rw [range_comp]
apply gluing.isOpen_chart_image hv.isOpen_range
· exact disjoint_left.mpr fun _ ⟨_, h⟩ ↦ h ▸ coe_ne_infty 0
· exact disjoint_left.mpr fun _ ⟨x, h⟩ ↦ h ▸ coe_ne_infty x
theorem not_countableChainCondition
TopologyByExample.ThomasCorkscrew.not_countableChainCondition
The open discrete subspace obstructs the countable chain condition.
theorem not_countableChainCondition :
¬∀ S : Set (Set Space), (∀ U ∈ S, IsOpen U ∧ U.Nonempty) →
S.PairwiseDisjoint id → S.Countable
Proof
:=
not_countableChainCondition_of_isOpenEmbedding openEmbedding_discreteReals
(fun h ↦ DiscreteReals.not_countable (countable_of_ccc_of_discreteTopology h))
On this site: The Thomas corkscrew does not satisfy the countable chain condition
theorem cardinality
TopologyByExample.ThomasCorkscrew.cardinality
The cardinality of the Thomas corkscrew is the continuum.
theorem cardinality : CardinalityContinuum Space
Proof
:= by
let e : Space ≃ (ℤ × ThomasPlank) ⊕ Bool :=
{ toFun := fun x ↦ match x with
| .neg => .inr false | .pos => .inr true | .point n y => .inl (n,y)
invFun := fun x ↦ match x with
| .inr false => .neg | .inr true => .pos | .inl (n,y) => .point n y
left_inv := by rintro (_ | _ | ⟨_, _⟩) <;> rfl
right_inv := by rintro (⟨_, _⟩ | (_ | _)) <;> rfl }
change #Space = continuum
rw [mk_congr e, mk_sum, mk_prod, mk_int, mk_bool,
show #ThomasPlank = continuum from CoordinateCardinalities.thomasPlank]
simp only [lift_uzero]
rw [mul_eq_right aleph0_le_continuum aleph0_le_continuum aleph0_ne_zero,
add_eq_left aleph0_le_continuum (ofNat_le_aleph0.trans aleph0_le_continuum)]
On this site: The Thomas corkscrew has cardinality equal to \(\mathfrak{c}\)
theorem not_pseudocompactSpace
TopologyByExample.ThomasCorkscrew.not_pseudocompactSpace
One quadrant contains a closed sequence of isolated points on which a continuous real function can be made arbitrarily large.
theorem not_pseudocompactSpace : ¬PseudocompactSpace Space
Proof
:= by
classical
let p := gluing.chart 0 ∘ diag
have hp : Function.Injective p := (closedEmbedding_chart 0).injective.comp diag_injective
have hc : IsClosed (range p) := by
rw [show range p = gluing.chart 0 '' range diag from range_comp ..]
exact (closedEmbedding_chart 0).isClosedMap _ isClosed_range_diag
have ho (m : ℕ) : IsOpen ({p m} : Set Space) := by
rw [show ({p m} : Set Space) = gluing.chart 0 '' {diag m} from by simp [p]]
apply gluing.isOpen_chart_image (isOpen_singleton_diag m)
· exact disjoint_left.mpr fun _ h ↦ h ▸ coe_ne_infty m
· exact disjoint_left.mpr fun _ h ↦ h ▸ coe_ne_infty _
exact not_pseudocompactSpace_of_isClosed_of_isOpen_singleton (infinite_range_of_injective hp) hc
(by rintro _ ⟨m, rfl⟩; exact ho m)
On this site: The Thomas corkscrew is not pseudocompact
theorem metacompactSpace
TopologyByExample.ThomasCorkscrew.metacompactSpace
Fixing the finite coordinates of a point gives a point-finite assignment of open neighbourhoods on the plank. It yields metacompactness after gluing.
theorem metacompactSpace : MetacompactSpace Space
Proof
:= by
let A (x : ThomasPlank) := {y : ThomasPlank |
(x.val.1 ≠ ∞ → y.val.1 = x.val.1) ∧ (x.val.2 ≠ ∞ → y.val.2 = x.val.2)}
apply gluing.metacompactSpace_of_pointFinite_neighbourhoods A
· intro x
have h (a : OnePoint (WithDiscreteTopology ℝ)) :
IsOpen {y : ThomasPlank | a ≠ ∞ → y.val.1 = a} := by
cases a using OnePoint.rec with
| infty => simp
| coe a =>
have ha : Continuous (fun y : ThomasPlank ↦ y.val.1) :=
continuous_fst.comp continuous_subtypeVal
convert (FortSpaces.isOpen_singleton_coe a).preimage ha using 1
ext y
exact ⟨fun h ↦ h (coe_ne_infty a), fun h _ ↦ h⟩
have k (b : OnePoint ℕ) : IsOpen {y : ThomasPlank | b ≠ ∞ → y.val.2 = b} := by
cases b using OnePoint.rec with
| infty => simp
| coe b =>
have hb : Continuous (fun y : ThomasPlank ↦ y.val.2) :=
continuous_snd.comp continuous_subtypeVal
convert (FortSpaces.isOpen_singleton_coe b).preimage hb using 1
ext y
exact ⟨fun h ↦ h (coe_ne_infty b), fun h _ ↦ h⟩
exact (h x.val.1).inter (k x.val.2)
· exact fun _ ↦ ⟨fun _ ↦ rfl, fun _ ↦ rfl⟩
· intro y
apply Set.Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
apply ((show ({y.val.1, ∞} : Set _).Finite by simp).prod
(show ({y.val.2, ∞} : Set _).Finite by simp)).subset
rintro _ ⟨x, hx, rfl⟩
exact ⟨or_iff_not_imp_right.mpr (fun hn ↦ (hx.1 hn).symm),
or_iff_not_imp_right.mpr (fun hn ↦ (hx.2 hn).symm)⟩
On this site: The Thomas corkscrew is metacompact