Lean library · module TopologyByExample.Theorems.AlexandrovSpaces
Alexandrov spaces and the upper and lower set topologies of partial orders
Lemmas shared by the spaces whose topology is the upper set (or lower set) topology of a partial order (the divisor topology, the Khalimsky line, the pseudocircle and the poset with two zeros), and two facts about Alexandrov spaces in general: when a generated topology is Alexandrov, and why a second countable one is countable.
TopologyByExample.scatteredSpace_of_wellFoundedLT_of_isOpen_Iic: a space carrying a partial order in which every nonempty set has a minimal element, and in which every closed initial raySet.Iic ais open, is scattered (the linear case isTopologyByExample.scatteredSpace_of_isOpen_Iic).Topology.IsLowerSet.scatteredSpace,Topology.IsUpperSet.scatteredSpace: its two instances, for the lower set topology of a well-founded partial order and for the upper set topology of a partial order with no infinite strictly increasing sequence.Topology.IsUpperSet.t0Space: the upper set topology of a partial order is T₀.TopologyByExample.alexandrovDiscrete_generateFrom: a topology generated by a family of sets of which each point lies in finitely many is Alexandrov.TopologyByExample.countable_of_alexandrovDiscrete_of_secondCountableTopology: a second countable Alexandrov T₀ space is countable, since the smallest neighbourhood of each point belongs to every base.Topology.IsUpperSet.finite_of_isCompact,Topology.IsLowerSet.finite_of_isCompact: if every point has a finite smallest neighbourhood, every compact set is finite.
Tags
upper set topology, lower set topology, Alexandrov topology, scattered space, second countable
This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
variable {X : Type*} [TopologicalSpace X]
theorem scatteredSpace_of_wellFoundedLT_of_isOpen_Iic
TopologyByExample.scatteredSpace_of_wellFoundedLT_of_isOpen_Iic
A space carrying a partial order in which every nonempty set has a minimal element, and in
which every closed initial ray Iic a is open, is scattered: a minimal element a of a nonempty
set is isolated in it, since Iic a meets the set in a alone.
theorem scatteredSpace_of_wellFoundedLT_of_isOpen_Iic [PartialOrder X] [WellFoundedLT X]
(h : ∀ a : X, IsOpen (Iic a)) : ScatteredSpace X
Proof
:= by
refine scatteredSpace_iff_exists_isolated.2 fun s hs ↦ ?_
obtain ⟨a, ha, hmin⟩ := wellFounded_lt.has_min s hs
exact ⟨a, ha, Iic a, (h a).mem_nhds le_rfl, fun x hx ↦ eq_of_le_of_not_lt hx.1 (hmin x hx.2)⟩
On this site: Theorem: A space ordered so that every nonempty set has a minimal element and closed initial rays are open is scattered
theorem alexandrovDiscrete_generateFrom
TopologyByExample.alexandrovDiscrete_generateFrom
A topology generated by a family g of sets such that each point lies in only finitely many
members of g is Alexandrov: the neighbourhood filter of a point is generated by the intersection
of the finitely many members containing it.
theorem alexandrovDiscrete_generateFrom {α : Type*} {g : Set (Set α)}
(h : ∀ a, {s | a ∈ s ∧ s ∈ g}.Finite) : @AlexandrovDiscrete α (generateFrom g)
Proof
:= by
let _ : TopologicalSpace α := generateFrom g
have hn (a : α) : 𝓝 a = 𝓟 (⋂ s ∈ {s | a ∈ s ∧ s ∈ g}, s) := by
rw [nhds_generateFrom]
exact iInf_principal_finite (h a) id
refine ⟨fun S hS ↦ isOpen_iff_mem_nhds.2 fun a ha ↦ ?_⟩
rw [hn, mem_principal]
refine subset_sInter fun s hsS ↦ ?_
have := (hS s hsS).mem_nhds (ha s hsS)
rwa [hn, mem_principal] at this
On this site: Theorem: A topology generated by a point-finite family is Alexandrov
Alexandrov spaces
theorem countable_of_alexandrovDiscrete_of_secondCountableTopology
TopologyByExample.countable_of_alexandrovDiscrete_of_secondCountableTopology
A second countable Alexandrov T₀ space is countable: the smallest neighbourhood of each point belongs to every base, and distinct points have distinct smallest neighbourhoods.
theorem countable_of_alexandrovDiscrete_of_secondCountableTopology [T0Space X]
[AlexandrovDiscrete X] [SecondCountableTopology X] : Countable X
Proof
:= by
have hB := isBasis_countableBasis X
have hmem : ∀ x : X, nhdsKer {x} ∈ countableBasis X := fun x ↦ by
obtain ⟨b, hb, hxb, hbsub⟩ :=
hB.exists_subset_of_mem_open (subset_nhdsKer (mem_singleton x)) isOpen_nhdsKer
have hsub : nhdsKer {x} ⊆ b :=
nhdsKer_singleton_subset_iff_mem_nhds.2 ((hB.isOpen hb).mem_nhds hxb)
rwa [← subset_antisymm hbsub hsub]
have : Countable (countableBasis X) := (countable_countableBasis X).to_subtype
refine Function.Injective.countable
(f := fun x ↦ (⟨nhdsKer {x}, hmem x⟩ : countableBasis X)) fun x y hxy ↦ ?_
have hker : nhdsKer {x} = nhdsKer {y} := congrArg Subtype.val hxy
refine Inseparable.eq ?_
change 𝓝 x = 𝓝 y
rw [← principal_nhdsKer_singleton, ← principal_nhdsKer_singleton, hker]
On this site: Theorem: Second countable Alexandrov T₀ spaces are countable
variable {α : Type*} [TopologicalSpace α] [PartialOrder α] [Topology.IsLowerSet α]
theorem scatteredSpace
Topology.IsLowerSet.scatteredSpace
The lower set topology of a well-founded partial order is scattered: a minimal element of a nonempty set is isolated in it.
theorem scatteredSpace [WellFoundedLT α] : TopologyByExample.ScatteredSpace α
Proof
:=
TopologyByExample.scatteredSpace_of_wellFoundedLT_of_isOpen_Iic fun a ↦
isOpen_iff_isLowerSet.2 (_root_.IsLowerSet.Iic a)
theorem finite_of_isCompact
Topology.IsLowerSet.finite_of_isCompact
In the lower set topology, if every closed initial ray Iic a (the smallest neighbourhood of
a) is finite, then every compact set is finite: it is covered by finitely many of these rays.
theorem finite_of_isCompact (hfin : ∀ a : α, (Iic a).Finite) {s : Set α} (hs : IsCompact s) :
s.Finite
Proof
:= by
obtain ⟨t, ht⟩ := hs.elim_finite_subcover (fun a : s ↦ Iic (a : α))
(fun _ ↦ isOpen_iff_isLowerSet.2 (_root_.IsLowerSet.Iic _))
(fun a ha ↦ mem_iUnion.2 ⟨⟨a, ha⟩, le_rfl⟩)
exact (t.finite_toSet.biUnion fun i _ ↦ hfin i).subset fun x hx ↦ by simpa using ht hx
variable {α : Type*} [TopologicalSpace α] [PartialOrder α] [Topology.IsUpperSet α]
theorem scatteredSpace
Topology.IsUpperSet.scatteredSpace
The upper set topology of a partial order with no infinite strictly increasing sequence is scattered: a maximal element of a nonempty set is isolated in it. This is the lower set case for the reversed order.
theorem scatteredSpace [WellFoundedGT α] : TopologyByExample.ScatteredSpace α
Proof
:=
have : TopologyByExample.ScatteredSpace αᵒᵈ := Topology.IsLowerSet.scatteredSpace
this
instance t0Space
Topology.IsUpperSet.t0Space
The upper set topology of a partial order is T₀: the specialization order is the reversed order, so inseparable points are equal.
instance (priority := 100) t0Space : T0Space α
Proof
:=
⟨fun _ _ h ↦ le_antisymm (specializes_iff_le.1 h.specializes')
(specializes_iff_le.1 h.specializes)⟩
theorem finite_of_isCompact
Topology.IsUpperSet.finite_of_isCompact
In the upper set topology, if every closed final ray Ici a (the smallest neighbourhood of
a) is finite, then every compact set is finite.
theorem finite_of_isCompact (hfin : ∀ a : α, (Ici a).Finite) {s : Set α} (hs : IsCompact s) :
s.Finite
Proof
:=
Topology.IsLowerSet.finite_of_isCompact (α := αᵒᵈ) hfin hs