Lean library · module TopologyByExample.Spaces.MysiorPlaneCovering
Closed sets on the axis of the Mysior plane
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 isClosed_axis_image
TopologyByExample.MysiorPlane.isClosed_axis_image
Every subset of the axis is closed in the plane.
theorem isClosed_axis_image (s : Set ℝ) : IsClosed (axis '' s)
Proof
:= by
rw [← isOpen_compl_iff]
intro x hx
refine ⟨1, by norm_num, ?_⟩
rintro p hp ⟨y, hy, rfl⟩
have hyx := (axis_mem_basic_iff (by norm_num : (0 : ℝ) < 1)).1 hp
exact hx ⟨y, hy, congrArg axis hyx⟩
theorem eventually_axis_mem_closure
TopologyByExample.MysiorPlane.eventually_axis_mem_closure
An open neighbourhood of a Euclidean dense set of axis points has closure containing a residual set of axis coordinates.
theorem eventually_axis_mem_closure {s : Set ℝ} (hd : Dense s)
{G : Set MysiorPlane} (hG : IsOpen G) (hs : axis '' s ⊆ G) :
∀ᶠ x in residual ℝ, axis x ∈ closure G
Proof
:= by
have hopen (q : s) : ∃ δ > 0, basic q δ ⊆ G := hG q (hs ⟨q, q.property, rfl⟩)
choose δ hδ hsub using hopen
let D (n : ℕ) : Set ℝ := ⋃ q : s, Ioo (q.val + 1) (q.val + 1 + min (δ q) (1 / (n + 1 : ℝ)))
have hres (n : ℕ) : D n ∈ residual ℝ := by
apply residual_of_dense_open (isOpen_iUnion fun _ ↦ isOpen_Ioo)
apply dense_of_exists_between
intro a b hab
obtain ⟨q, hqs, haq, hqb⟩ := hd.exists_between (show a - 1 < b - 1 by linarith)
let q' : s := ⟨q, hqs⟩
have hpos : 0 < min (δ q') (1 / (n + 1 : ℝ)) := lt_min (hδ q') (by positivity)
obtain ⟨z, hz₁, hz₂⟩ := exists_between (lt_min (show q + 1 < b by linarith)
(show q + 1 < q + 1 + min (δ q') (1 / (n + 1 : ℝ)) by linarith))
exact ⟨z, mem_iUnion.2 ⟨q', hz₁, lt_of_lt_of_le hz₂ (min_le_right _ _)⟩,
(show a < q + 1 by linarith).trans hz₁, lt_of_lt_of_le hz₂ (min_le_left _ _)⟩
filter_upwards [eventually_countable_forall.2 hres] with x hx
refine (mem_closure_iff_nhds_basis' (hasBasis_axis x)).2 fun ε hε ↦ ?_
obtain ⟨n, hn⟩ := exists_nat_one_div_lt hε
obtain ⟨q, hqx⟩ := mem_iUnion.1 (hx n)
let t := x - (q.val + 1)
have ht : 0 < t := sub_pos.2 hqx.1
have htm : t < min (δ q) (1 / (n + 1 : ℝ)) := by
have := hqx.2
dsimp [t]
linarith
refine ⟨point x t, Or.inl ⟨rfl, ?_⟩, hsub q (Or.inr (Or.inl ⟨?_, ht, ?_⟩))⟩
· change |t| < ε
rw [abs_of_pos ht]
exact (htm.trans_le (min_le_right _ _)).trans hn
· change x = q.val + 1 + t
dsimp [t]
ring
· exact htm.trans_le (min_le_left _ _)
On this site: Mysior plane: Closures of open sets on the horizontal axis
theorem not_normalSpace
TopologyByExample.MysiorPlane.not_normalSpace
The rational and irrational parts of the horizontal axis cannot be separated.
theorem not_normalSpace : ¬ NormalSpace MysiorPlane
Proof
:= by
intro hN
let Q := range ((↑) : ℚ → ℝ)
have hdisj : axis '' Q ⊆ (axis '' Qᶜ)ᶜ := by
rintro _ ⟨x, hx, rfl⟩ ⟨y, hy, he⟩
have hyx : y = x := congrArg horizontal he
exact hy (hyx.symm ▸ hx)
obtain ⟨G, hG, hQG, hcl⟩ := normal_exists_closure_subset (isClosed_axis_image Q)
(isClosed_axis_image Qᶜ).isOpen_compl hdisj
obtain ⟨x, hxc, hxi⟩ := (dense_of_mem_residual
((eventually_axis_mem_closure Rat.denseRange_cast hG hQG).and
eventually_residual_irrational)).nonempty
exact hcl hxc ⟨x, hxi, rfl⟩
On this site: The Mysior plane is not normal
theorem not_countablyParacompactSpace
TopologyByExample.MysiorPlane.not_countablyParacompactSpace
The tails of an enumeration of the rational axis points violate the closed-set condition for countable paracompactness.
theorem not_countablyParacompactSpace : ¬ CountablyParacompactSpace MysiorPlane
Proof
:= by
intro hcp
obtain ⟨e, he⟩ := exists_surjective_nat ℚ
let f (n : ℕ) : ℝ := e n
let S (n : ℕ) := range ((↑) : ℚ → ℝ) \ f '' Iio n
let F (n : ℕ) := axis '' S n
have hFc (n : ℕ) : IsClosed (F n) := isClosed_axis_image _
have hd (n : ℕ) : Dense (S n) := Rat.denseRange_cast.sdiff_finite ((finite_Iio n).image f)
have hFa : Antitone F := by
intro m n hmn
apply image_mono
exact fun _ hx ↦ ⟨hx.1, fun hy ↦ hx.2 (image_mono (Iio_subset_Iio hmn) hy)⟩
have hF : ⋂ n, F n = ∅ := by
refine eq_empty_of_forall_notMem fun p hp ↦ ?_
obtain ⟨x, ⟨⟨q, rfl⟩, _⟩, rfl⟩ := mem_iInter.1 hp 0
obtain ⟨k, rfl⟩ := he q
obtain ⟨y, hy, hyq⟩ := mem_iInter.1 hp (k + 1)
have heq := congrArg horizontal hyq
exact hy.2 ⟨k, Nat.lt_succ_self k, (show y = f k from heq).symm⟩
obtain ⟨G, hG, hFG, _, hcl⟩ := hcp.exists_open_iInter_closure_eq_empty hFc hFa hF
have hr (n : ℕ) : ∀ᶠ x in residual ℝ, axis x ∈ closure (G n) :=
eventually_axis_mem_closure (hd n) (hG n) (hFG n)
obtain ⟨x, hx⟩ := (dense_of_mem_residual (eventually_countable_forall.2 hr)).nonempty
exact (show axis x ∉ ⋂ n, closure (G n) by rw [hcl]; exact notMem_empty _) (mem_iInter.2 hx)
On this site: The Mysior plane is not countably paracompact