Lean library · module TopologyByExample.Theorems.DeletedAlmostDiscreteMetacompact
Metacompactness of deleted products with isolated coordinates
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_deleted_prod_of_isolated
TopologyByExample.metacompactSpace_deleted_prod_of_isolated
Deleting the corner from the product of two spaces whose other points are isolated yields a metacompact space.
theorem metacompactSpace_deleted_prod_of_isolated
{X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] (p : X) (q : Y)
(hp : ∀ x ≠ p, IsOpen ({x} : Set X)) (hq : ∀ y ≠ q, IsOpen ({y} : Set Y)) :
MetacompactSpace ({(p, q)}ᶜ : Set (X × Y))
Proof
:= by
classical
let Z := ({(p, q)}ᶜ : Set (X × Y))
let K (z : Z) : Set Z := if z.val.1 = p then {w | w.val.2 = z.val.2}
else if z.val.2 = q then {w | w.val.1 = z.val.1} else {z}
have hK (z : Z) : IsOpen (K z) ∧ z ∈ K z := by
by_cases hzp : z.val.1 = p
· have hzq : z.val.2 ≠ q := by
intro h
exact z.property (Prod.ext hzp h)
simp only [K, hzp, ite_true]
exact ⟨(hq _ hzq).preimage (continuous_snd.comp continuous_subtypeVal), rfl⟩
· by_cases hzq : z.val.2 = q
· simp only [K, hzp, ite_false, hzq, ite_true]
exact ⟨(hp _ hzp).preimage (continuous_fst.comp continuous_subtypeVal), rfl⟩
· simp only [K, hzp, ite_false, hzq]
have he : ({z} : Set Z) = Subtype.val ⁻¹' ({z.val.1} ×ˢ {z.val.2}) := by
ext w; simp [Subtype.ext_iff, Prod.ext_iff]
exact ⟨he ▸ ((hp _ hzp).prod (hq _ hzq)).preimage continuous_subtypeVal, rfl⟩
have hindex (x : Z) : {z : Z | x ∈ K z}.Finite := by
apply ((Set.toFinite ({(p, x.val.2), (x.val.1, q), x.val} : Set (X × Y))).preimage
Subtype.val_injective.injOn).subset
intro z hz
change x ∈ K z at hz
change z.val ∈ ({(p, x.val.2), (x.val.1, q), x.val} : Set (X × Y))
by_cases hzp : z.val.1 = p
· have hz2 : x.val.2 = z.val.2 := by simpa only [K, hzp, ite_true, mem_ofPred_eq] using hz
exact mem_insert_iff.mpr (Or.inl (Prod.ext hzp hz2.symm))
· by_cases hzq : z.val.2 = q
· have hz1 : x.val.1 = z.val.1 := by
simpa only [K, hzp, ite_false, hzq, ite_true, mem_ofPred_eq] using hz
simp only [mem_insert_iff, mem_singleton_iff]
exact Or.inr (Or.inl (Prod.ext hz1.symm hzq))
· have hxz : x = z := by simpa only [K, hzp, ite_false, hzq, mem_singleton_iff] using hz
simp [← hxz]
refine ⟨fun U hUo hU ↦ ?_⟩
have hex (z : Z) : ∃ u ∈ U, z ∈ u := mem_sUnion.mp (hU ▸ mem_univ z)
choose u hu hzu using hex
let v (z : Z) := u z ∩ K z
refine ⟨range v, ?_, ?_, ?_, ?_⟩
· rintro _ ⟨z, rfl⟩
exact (hUo _ (hu z)).inter (hK z).1
· apply eq_univ_of_forall
intro z
exact mem_sUnion.mpr ⟨v z, mem_range_self z, hzu z, (hK z).2⟩
· intro x
apply Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
apply ((hindex x).image v).subset
rintro _ ⟨⟨_, z, rfl⟩, hx, rfl⟩
exact ⟨z, hx.2, rfl⟩
· rintro _ ⟨z, rfl⟩
exact ⟨u z, hu z, inter_subset_left⟩
On this site: Theorem: Deleted products of spaces with at most one nonisolated point are metacompact
theorem metacompactSpace
TopologyByExample.DeletedDieudonnePlank.metacompactSpace
The deleted Dieudonné plank is metacompact.
theorem DeletedDieudonnePlank.metacompactSpace : MetacompactSpace DeletedDieudonnePlank
Proof
:= by
apply metacompactSpace_deleted_prod_of_isolated
· intro x hx
cases x with
| point => exact (hx rfl).elim
| coe x => exact Fortissimo.isOpen_singleton_some x
· intro y hy
cases y with
| infty => exact (hy rfl).elim
| coe n => exact FortSpaces.isOpen_singleton_coe n
On this site: The deleted Dieudonné plank is metacompact