Lean library · module TopologyByExample.Theorems.Indiscrete
Indiscrete spaces
A space with the indiscrete topology (Mathlib's class IndiscreteTopology) has only ∅ and the
whole space as open sets. All its points are inseparable, so it is not T₀ once it has two points.
On the other hand it is perfectly normal, since its only closed sets are ∅ and the whole space,
which are open (hence \(G_\delta\)), and of any two disjoint closed sets one is empty. It is
preconnected.
Main statements
TopologyByExample.IndiscreteTopology.perfectlyNormalSpace: an indiscrete space is perfectly normal (an instance).TopologyByExample.IndiscreteTopology.not_t0Space: an indiscrete space with two distinct points is not T₀.TopologyByExample.IndiscreteTopology.preconnectedSpace: an indiscrete space is preconnected (an instance).TopologyByExample.IndiscreteTopology.secondCountableTopology: an indiscrete space is second countable (an instance).TopologyByExample.IndiscreteTopology.isOpen_iff,TopologyByExample.IndiscreteTopology.continuous,TopologyByExample.IndiscreteTopology.tendsto: the open sets are∅and the whole space, every map into the space is continuous, and every filter (so every sequence) converges to every point.
Tags
indiscrete topology, trivial topology, T₀, perfectly normal
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] [IndiscreteTopology X]
instance perfectlyNormalSpace
TopologyByExample.IndiscreteTopology.perfectlyNormalSpace
An indiscrete space is perfectly normal: its closed sets are ∅ and the whole space, which
are open and so \(G_\delta\), and two disjoint closed sets cannot both be nonempty.
instance (priority := 100) perfectlyNormalSpace : PerfectlyNormalSpace X
Proof
where
normal s t hs ht hst := by
rcases (IndiscreteTopology.isClosed_iff s).1 hs with rfl | rfl
· exact ⟨∅, univ, isOpen_empty, isOpen_univ, subset_rfl, subset_univ _,
empty_disjoint _⟩
· rw [univ_disjoint] at hst
subst hst
exact ⟨univ, ∅, isOpen_univ, isOpen_empty, subset_univ _, subset_rfl,
disjoint_empty _⟩
closed_gdelta s hs := by
rcases (IndiscreteTopology.isClosed_iff s).1 hs with rfl | rfl
· exact isOpen_empty.isGδ
· exact isOpen_univ.isGδ
On this site: Theorem: Indiscrete spaces are perfectly normal
theorem not_t0Space
TopologyByExample.IndiscreteTopology.not_t0Space
An indiscrete space with two distinct points is not T₀: all its points are inseparable.
theorem not_t0Space [Nontrivial X] : ¬T0Space X
Proof
:= fun _ ↦
let ⟨x, y, hxy⟩ := exists_pair_ne X
hxy (Inseparable.all x y).eq
On this site: Theorem: An indiscrete space with two points is not T₀
theorem isOpen_iff
TopologyByExample.IndiscreteTopology.isOpen_iff
The only open subsets of an indiscrete space are ∅ and the whole space.
theorem isOpen_iff (U : Set X) : IsOpen U ↔ U = ∅ ∨ U = univ
Proof
:=
_root_.IndiscreteTopology.isOpen_iff U
On this site: Indiscrete spaces: The open sets
theorem continuous
TopologyByExample.IndiscreteTopology.continuous
Every map from a topological space into an indiscrete space is continuous.
theorem continuous {Y : Type*} [TopologicalSpace Y] (f : Y → X) : Continuous f
Proof
:=
continuous_of_indiscreteTopology
On this site: Indiscrete spaces: Every map into the space is continuous
theorem tendsto
TopologyByExample.IndiscreteTopology.tendsto
Every map into an indiscrete space tends to every point, along any filter: in particular every sequence converges to every point.
theorem tendsto {ι : Type*} (l : Filter ι) (f : ι → X) (x : X) : Tendsto f l (𝓝 x)
Proof
:= by
rw [_root_.IndiscreteTopology.nhds_eq]
exact tendsto_top
On this site: Indiscrete spaces: Every sequence converges to every point
instance preconnectedSpace
TopologyByExample.IndiscreteTopology.preconnectedSpace
An indiscrete space is preconnected: a nonempty open set is the whole space.
instance (priority := 100) preconnectedSpace : PreconnectedSpace X
Proof
where
isPreconnected_univ u v hu _ _ hxu hyv := by
rcases (IndiscreteTopology.isOpen_iff u).1 hu with rfl | rfl
· simp at hxu
· simpa using hyv
On this site: Theorem: Indiscrete spaces are connected
instance secondCountableTopology
TopologyByExample.IndiscreteTopology.secondCountableTopology
An indiscrete space is second countable: its topology is generated by the single set univ.
(It is also compact, by Mathlib's instance IndiscreteTopology.instCompactSpace.)
instance (priority := 100) secondCountableTopology : SecondCountableTopology X
Proof
:=
⟨⟨{univ}, countable_singleton _, by
rw [_root_.IndiscreteTopology.eq_top (α := X)]
exact le_antisymm
(le_generateFrom fun s hs ↦ (mem_singleton_iff.1 hs) ▸ @isOpen_univ X ⊤) le_top⟩⟩
On this site: Family: Indiscrete spaces