Lean library · module TopologyByExample.Theorems.InterlockingMetacompact
Metacompactness of the interlocking interval topology
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.
theorem metacompactSpace
TopologyByExample.InterlockingInterval.metacompactSpace
The generating cover is a point-finite refinement of every open cover.
theorem metacompactSpace : MetacompactSpace InterlockingInterval
Proof
:= by
classical
refine ⟨fun U hUo hU ↦ ⟨subbasis, ?_, ?_, ?_, ?_⟩⟩
· rintro _ ⟨n, hn, rfl⟩
exact isOpen_S hn
· apply eq_univ_of_forall
intro x
obtain ⟨n, hn, hx⟩ := exists_mem_S x
exact mem_sUnion.mpr ⟨S n, ⟨n, hn, rfl⟩, hx⟩
· intro x
apply Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
apply ((finite_Iio (⌈toReal x + (toReal x)⁻¹⌉₊ + 1)).image S).subset
rintro _ ⟨⟨_, n, hn, rfl⟩, hx, rfl⟩
refine ⟨n, ?_, rfl⟩
have hxpos := toReal_pos x
have hxinv := inv_pos.mpr hxpos
have hnpos : (0 : ℝ) < n := by exact_mod_cast hn
have hlt : (n : ℝ) < toReal x + (toReal x)⁻¹ := by
rcases hx with h | ⟨h, _⟩
· have := (lt_inv_comm₀ hxpos hnpos).mp h
linarith
· linarith
have hB := Nat.le_ceil (toReal x + (toReal x)⁻¹)
have : (n : ℝ) < ⌈toReal x + (toReal x)⁻¹⌉₊ + 1 := by linarith
exact mem_Iio.mpr (by exact_mod_cast this)
· rintro _ ⟨n, hn, rfl⟩
let x := mk ((n : ℝ) + 1 / 2) n (by linarith) (by linarith)
obtain ⟨u, hu, hxu⟩ := mem_sUnion.mp (hU ▸ mem_univ x)
refine ⟨u, hu, ?_⟩
have hxU := (hUo u hu).mem_nhds hxu
rw [nhds_eq_principal_S hn (by dsimp [x]; linarith) (by dsimp [x]; linarith)] at hxU
exact hxU
On this site: The interlocking interval topology is metacompact