Lean library · module TopologyByExample.Theorems.CountableExtentSum
Countable extent of a disjoint sum
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 countableExtent_sum_iff
TopologyByExample.countableExtent_sum_iff
A binary disjoint sum has countable extent exactly when both summands do.
theorem countableExtent_sum_iff {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] :
(∀ s : Set (X ⊕ Y), ¬ s.Countable → ∃ x, AccPt x (𝓟 s)) ↔
(∀ s : Set X, ¬ s.Countable → ∃ x, AccPt x (𝓟 s)) ∧
(∀ s : Set Y, ¬ s.Countable → ∃ x, AccPt x (𝓟 s))
Proof
:= by
constructor
· intro h
exact ⟨countableExtent_of_isClosedEmbedding IsClosedEmbedding.inl h,
countableExtent_of_isClosedEmbedding IsClosedEmbedding.inr h⟩
· rintro ⟨hX, hY⟩
apply countableExtent_iff.2
intro s hs hd
have hA := countableExtent_iff.1 hX (Sum.inl ⁻¹' s) (hs.preimage continuous_inl)
(hd.preimage continuous_inl.continuousOn Sum.inl_injective)
have hB := countableExtent_iff.1 hY (Sum.inr ⁻¹' s) (hs.preimage continuous_inr)
(hd.preimage continuous_inr.continuousOn Sum.inr_injective)
have he : s = Sum.inl '' (Sum.inl ⁻¹' s) ∪ Sum.inr '' (Sum.inr ⁻¹' s) := by
ext x
cases x <;> simp
rw [he]
exact (hA.image Sum.inl).union (hB.image Sum.inr)
On this site: Theorem: A disjoint sum has countable extent iff both summands do