Lean library · module TopologyByExample.Theorems.FiniteFibreDisconnected
Total disconnectedness from finite fibres
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 totallyDisconnectedSpace_of_finite_fibres
TopologyByExample.totallyDisconnectedSpace_of_finite_fibres
A continuous map with finite fibres into a totally disconnected space makes its T₁ domain totally disconnected.
theorem totallyDisconnectedSpace_of_finite_fibres
{X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X]
[TotallyDisconnectedSpace Y] {f : X → Y} (hf : Continuous f)
(hfin : ∀ y, (f ⁻¹' {y}).Finite) : TotallyDisconnectedSpace X
Proof
:= by
rw [totallyDisconnectedSpace_iff]
intro S _ hS
rcases S.eq_empty_or_nonempty with rfl | ⟨x, hx⟩
· exact Set.subsingleton_empty
have him := (hS.image f hf.continuousOn).subsingleton
have hsub : S ⊆ f ⁻¹' {f x} := by
intro z hz
exact him ⟨z, hz, rfl⟩ ⟨x, hx, rfl⟩
exact hS.isDiscrete_iff_subsingleton.mp ((hfin (f x)).subset hsub).isDiscrete