Lean library · module TopologyByExample.Theorems.ComplementTopologyDispersion
Connected partitions in cofinite, cocountable and ultrafilter topologies
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 {X : Type*} [TopologicalSpace X]
theorem not_biconnected_of_preconnected_ranges
TopologyByExample.not_biconnected_of_preconnected_ranges
private theorem not_biconnected_of_preconnected_ranges [Infinite X]
(hc : ∀ f : X ↪ X, IsPreconnected (range f)) : ¬ BiconnectedSpace X
Proof
:= by
obtain ⟨e⟩ : Nonempty (X ⊕ X ≃ X) := by
rw [← Cardinal.eq, ← Cardinal.add_def, Cardinal.add_mk_eq_self]
let f := (Function.Embedding.inl : X ↪ X ⊕ X).trans e.toEmbedding
let g := (Function.Embedding.inr : X ↪ X ⊕ X).trans e.toEmbedding
have hs (h : X ↪ X) (hl : (range h).Subsingleton) : False := by
obtain ⟨a, b, hab⟩ := exists_pair_ne X
exact hab (h.injective (hl (mem_range_self a) (mem_range_self b)))
apply not_biconnectedSpace_of_partition (hc f) (hc g) _ _ (hs f) (hs g)
· apply Set.disjoint_left.mpr
rintro _ ⟨a, rfl⟩ ⟨b, h⟩
exact Sum.inr_ne_inl (e.injective h)
· apply eq_univ_of_forall
intro x
obtain ⟨a | b, rfl⟩ := e.surjective x
· exact Or.inl (mem_range_self a)
· exact Or.inr (mem_range_self b)
theorem not_biconnected_of_finite_complements
TopologyByExample.not_biconnected_of_finite_complements
If every nonempty open set has finite complement, an infinite space is not biconnected.
theorem not_biconnected_of_finite_complements [Infinite X]
(h : ∀ u : Set X, IsOpen u → u.Nonempty → uᶜ.Finite) : ¬ BiconnectedSpace X
Proof
:= by
apply not_biconnected_of_preconnected_ranges
intro f
apply IsPreirreducible.isPreconnected
intro u v hu hv hu' hv'
have hc := (h u hu (hu'.mono inter_subset_right)).union (h v hv (hv'.mono inter_subset_right))
by_contra hn
apply (infinite_range_of_injective f.injective)
apply hc.subset
intro x hx
by_contra hr
exact hn ⟨x, hx, by simpa using hr⟩
On this site: Theorem: Finite complements of open sets obstruct biconnectedness
theorem not_biconnected_of_countable_complements
TopologyByExample.not_biconnected_of_countable_complements
If every nonempty open set has countable complement, an uncountable space is not biconnected.
theorem not_biconnected_of_countable_complements [Uncountable X]
(h : ∀ u : Set X, IsOpen u → u.Nonempty → uᶜ.Countable) : ¬ BiconnectedSpace X
Proof
:= by
apply not_biconnected_of_preconnected_ranges
intro f
apply IsPreirreducible.isPreconnected
intro u v hu hv hu' hv'
have hc := (h u hu (hu'.mono inter_subset_right)).union (h v hv (hv'.mono inter_subset_right))
by_contra hn
have hr : (range f).Countable := hc.mono fun x hx ↦ by
by_contra hmem
exact hn ⟨x, hx, by simpa using hmem⟩
exact not_countable_iff.mpr ‹Uncountable X› (hr.preimage f.injective |> fun h ↦
countable_univ_iff.mp (by simpa using h))
On this site: Theorem: Countable complements of open sets obstruct biconnectedness on an uncountable space
theorem not_biconnected
TopologyByExample.CofiniteTopology.not_biconnected
The cofinite topology on an infinite set is not biconnected.
theorem CofiniteTopology.not_biconnected {Y : Type*} [Infinite Y] :
¬ BiconnectedSpace (_root_.CofiniteTopology Y)
Proof
:= by
let : Infinite (_root_.CofiniteTopology Y) := .of_injective _ _root_.CofiniteTopology.of.injective
exact not_biconnected_of_finite_complements fun _ hu ↦ _root_.CofiniteTopology.isOpen_iff.mp hu
On this site: Cofinite topologies: the space is not biconnected when \(X\) is infinite
theorem not_biconnected
TopologyByExample.CocountableTopology.not_biconnected
The cocountable topology on an uncountable set is not biconnected.
theorem CocountableTopology.not_biconnected {Y : Type*} [Uncountable Y] :
¬ BiconnectedSpace (CocountableTopology Y)
Proof
:= by
let : Uncountable (CocountableTopology Y) := (of (X := Y)).injective.uncountable
exact not_biconnected_of_countable_complements fun _ hu ↦ isOpen_iff.mp hu
On this site: Cocountable topologies: the space is not biconnected when \(X\) is uncountable
variable {F : Ultrafilter ℕ}
theorem discrete_of_notMem
TopologyByExample.UltrafilterTopology.discrete_of_notMem
A set outside the ultrafilter induces the discrete topology.
private theorem discrete_of_notMem {s : Set (UltrafilterTopology F)} (hs : s ∉ filter F) :
DiscreteTopology s
Proof
:= by
apply discreteTopology_iff_isOpen_singleton.mpr
intro x
have hc : sᶜ ∈ filter F := Ultrafilter.compl_mem_iff_notMem.mpr hs
have ho : IsOpen (insert (x : UltrafilterTopology F) sᶜ) :=
isOpen_iff.mpr (Or.inl (mem_of_superset hc (subset_insert _ _)))
convert ho.preimage continuous_subtypeVal using 1
ext y
simp [Subtype.ext_iff]
theorem biconnectedSpace
TopologyByExample.UltrafilterTopology.biconnectedSpace
The topology of any ultrafilter is biconnected.
theorem biconnectedSpace : BiconnectedSpace (UltrafilterTopology F)
Proof
:= by
let : PreirreducibleSpace (UltrafilterTopology F) := preirreducibleSpace
refine { toPreconnectedSpace := inferInstance, partition_subsingleton := ?_ }
intro s t hs ht hd _
have sub {a : Set (UltrafilterTopology F)} (ha : a ∉ filter F) (hac : IsPreconnected a) :
a.Subsingleton := by
let := discrete_of_notMem ha
exact (totallyDisconnectedSpace_subtype_iff.mp inferInstance) _ subset_rfl hac
by_cases h : s ∈ filter F
· exact Or.inr (sub (fun ht ↦
(Ultrafilter.nonempty_of_mem (inter_mem h ht)).ne_empty
(Set.disjoint_iff_inter_eq_empty.mp hd))
ht)
· exact Or.inl (sub h hs)
On this site: The free ultrafilter topology is biconnected
theorem not_hasDispersionPoint
TopologyByExample.UltrafilterTopology.not_hasDispersionPoint
No point disperses a free ultrafilter topology.
theorem not_hasDispersionPoint (hF : (F : Filter ℕ) ≤ cofinite) :
¬ HasDispersionPoint (UltrafilterTopology F)
Proof
:= by
intro h
obtain ⟨p, hp⟩ := h.exists_point
let s := ({p}ᶜ : Set (UltrafilterTopology F))
have hs : s ∈ filter F := Ultrafilter.compl_mem_iff_notMem.mpr
(notMem_filter_of_finite hF (finite_singleton p))
have hc : IsPreirreducible s := by
intro u v hu hv hsu hsv
exact Ultrafilter.nonempty_of_mem (inter_mem hs (inter_mem
(mem_filter_of_isOpen hu (hsu.mono inter_subset_right))
(mem_filter_of_isOpen hv (hsv.mono inter_subset_right))))
have hsub := hp s subset_rfl hc.isPreconnected
exact notMem_filter_of_finite hF hsub.finite hs
On this site: The free ultrafilter topology has no dispersion point