The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.DiscreteSubset

76 declarations and 6 deprecated aliases. Mathlib docs · Source

Discrete subsets of topological spaces

This file contains various additional properties of discrete subsets of topological spaces.

Discreteness and compact sets

Given a topological space X together with a subset s ⊆ X, there are two distinct concepts of "discreteness" which may hold. These are: (i) Every point of s is isolated (i.e., the subset topology induced on s is the discrete topology). (ii) Every compact subset of X meets s only finitely often (i.e., the inclusion map s → X tends to the cocompact filter along the cofinite filter on s).

When s is closed, the two conditions are equivalent provided X is locally compact and T1, see IsClosed.tendsto_coe_cofinite_iff.

Main statements

  • tendsto_cofinite_cocompact_iff:
  • IsClosed.tendsto_coe_cofinite_iff:

Co-discrete open sets

We define the filter Filter.codiscreteWithin S, which is the supremum of all 𝓝[S \ {x}] x. This is the filter of all open codiscrete sets within S. We also define Filter.codiscrete as Filter.codiscreteWithin univ, which is the filter of all open codiscrete sets in the space.

Finite union of discrete closed sets

theorem discreteTopology_subtype_iff E0 #

∀ {Y : Type u_2} [inst : TopologicalSpace Y] {S : Set Y},
  DiscreteTopology ↑S ↔ ∀ x ∈ S, nhdsWithin x {x}ᶜ ⊓ Filter.principal S = ⊥

theorem isDiscrete_iff_nhdsNE E1 #

∀ {Y : Type u_2} [inst : TopologicalSpace Y] {S : Set Y},
  IsDiscrete S ↔ ∀ x ∈ S, nhdsWithin x {x}ᶜ ⊓ Filter.principal S = ⊥

theorem discreteTopology_of_noAccPts E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] {E : Set X}, (∀ x ∈ E, ¬AccPt x (Filter.principal E)) → DiscreteTopology ↑E

If a subset of a topological space has no accumulation points, then it carries the discrete topology.

theorem discreteTopology_subtype_iff' E1 #

∀ {Y : Type u_2} [inst : TopologicalSpace Y] {S : Set Y}, DiscreteTopology ↑S ↔ ∀ y ∈ S, ∃ U, IsOpen U ∧ U ∩ S = {y}

theorem isDiscrete_iff_forall_mem_exists_isOpen E1 #

∀ {Y : Type u_2} [inst : TopologicalSpace Y] {s : Set Y}, IsDiscrete s ↔ ∀ y ∈ s, ∃ u, IsOpen u ∧ u ∩ s = {y}

A set s is discrete iff for every y ∈ s there is an open u with u ∩ s = {y}. See isDiscrete_iff_forall_subset_exists_isOpen' for a related version of this with subsets.

theorem isDiscrete_iff_forall_subset_exists_isOpen E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, IsDiscrete s ↔ ∀ t ⊆ s, ∃ u, IsOpen u ∧ u ∩ s = t

A set s is discrete iff for every t ⊆ s there is an open u with u ∩ s = t. See isDiscrete_iff_forall_mem_exists_isOpen for a similar version of this with singletons.

theorem isDiscrete_iff_forall_mem_exists_isClosed E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X}, IsDiscrete S ↔ ∀ s ⊆ S, ∃ U, IsClosed U ∧ U ∩ S = s

A set s is discrete iff for every t ⊆ s there is a closed u with u ∩ s = t.

theorem isClosed_of_subset_discrete_closed E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s t : Set X}, s ⊆ t → IsDiscrete t → IsClosed t → IsClosed s

theorem Set.Subsingleton.isDiscrete E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, s.Subsingleton → IsDiscrete s

theorem isDiscrete_iff_nhdsWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, IsDiscrete s ↔ ∀ x ∈ s, nhdsWithin x s = pure x

theorem IsDiscrete.nhdsWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, IsDiscrete s → ∀ x ∈ s, nhdsWithin x s = pure x

Alias of the forward direction of isDiscrete_iff_nhdsWithin.

theorem IsDiscrete.of_nhdsWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, (∀ x ∈ s, nhdsWithin x s ≤ pure x) → IsDiscrete s

theorem isDiscrete_univ_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X], IsDiscrete Set.univ ↔ DiscreteTopology X

theorem IsDiscrete.univ E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [DiscreteTopology X], IsDiscrete Set.univ

theorem IsDiscrete.image_of_isOpenMap E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] {s : Set X} [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsDiscrete s → IsOpenMap f → Function.Injective f → IsDiscrete (f '' s)

theorem IsDiscrete.image_of_isOpenMap_of_isOpen E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] {s : Set X} [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsDiscrete s → IsOpenMap f → IsOpen s → IsDiscrete (f '' s)

theorem IsOpenMap.isDiscrete_range E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  [DiscreteTopology X], IsOpenMap f → IsDiscrete (Set.range f)

theorem IsDiscrete.image E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] {s : Set X} [inst_1 : TopologicalSpace Y] {f : X → Y},
  IsDiscrete s → Topology.IsInducing f → IsDiscrete (f '' s)

theorem Topology.IsInducing.isDiscrete_range E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  [DiscreteTopology X], Topology.IsInducing f → IsDiscrete (Set.range f)

theorem IsDiscrete.preimage E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set Y},
  IsDiscrete s → ContinuousOn f (f ⁻¹' s) → Function.Injective f → IsDiscrete (f ⁻¹' s)

theorem IsDiscrete.preimage' E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {s : Set Y},
  IsDiscrete s → ContinuousOn f (f ⁻¹' s) → (∀ (x : Y), IsDiscrete (f ⁻¹' {x})) → IsDiscrete (f ⁻¹' s)

If f is continuous with discrete fibers, then the preimage of discrete sets are discrete.

theorem IsDiscrete.isLocallyClosed E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X} [T1Space X], IsDiscrete s → IsLocallyClosed s

theorem tendsto_cofinite_cocompact_iff E3 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace Y] {f : X → Y},
  Filter.Tendsto f Filter.cofinite (Filter.cocompact Y) ↔ ∀ (K : Set Y), IsCompact K → (f ⁻¹' K).Finite

theorem Continuous.discrete_of_tendsto_cofinite_cocompact E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} [T1Space X]
  [WeaklyLocallyCompactSpace Y],
  Continuous f → Filter.Tendsto f Filter.cofinite (Filter.cocompact Y) → DiscreteTopology X

theorem tendsto_cofinite_cocompact_of_discrete E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y}
  [DiscreteTopology X],
  Filter.Tendsto f (Filter.cocompact X) (Filter.cocompact Y) → Filter.Tendsto f Filter.cofinite (Filter.cocompact Y)

theorem IsClosed.tendsto_coe_cofinite_of_isDiscrete E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X},
  IsClosed s → IsDiscrete s → Filter.Tendsto Subtype.val Filter.cofinite (Filter.cocompact X)

theorem IsClosed.tendsto_coe_cofinite_iff E3 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [T1Space X] [WeaklyLocallyCompactSpace X] {s : Set X},
  IsClosed s → (Filter.Tendsto Subtype.val Filter.cofinite (Filter.cocompact X) ↔ IsDiscrete s)

theorem isClosed_and_discrete_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X},
  IsClosed S ∧ IsDiscrete S ↔ ∀ (x : X), Disjoint (nhdsWithin x {x}ᶜ) (Filter.principal S)

Criterion for a subset S ⊆ X to be closed and discrete in terms of the punctured neighbourhood filter at an arbitrary point of X. (Compare isDiscrete_iff_nhds_ne.)

def Filter.codiscreteWithin E1 #

{X : Type u_1} → [TopologicalSpace X] → Set X → Filter X

The filter of sets with no accumulation points inside a set S : Set X, implemented as the supremum over all punctured neighborhoods within S.

theorem mem_codiscreteWithin E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S T : Set X},
  S ∈ Filter.codiscreteWithin T ↔ ∀ x ∈ T, Disjoint (nhdsWithin x {x}ᶜ) (Filter.principal (T \ S))

theorem mem_codiscreteWithin_iff_forall_mem_nhdsNE E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S T : Set X},
  S ∈ Filter.codiscreteWithin T ↔ ∀ x ∈ T, S ∪ Tᶜ ∈ nhdsWithin x {x}ᶜ

A set s is codiscrete within U iff s ∪ Uᶜ is a punctured neighborhood of every point in U.

theorem mem_codiscreteWithin_iff_forall_mem_nhdsWithin E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S T : Set X},
  S ∈ Filter.codiscreteWithin T ↔ ∀ x ∈ T, S ∈ nhdsWithin x (T \ {x})

A set S is codiscrete within T iff it is a punctured neighborhood within T of every point of T.

theorem nhdsWithin_le_codiscreteWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {T : Set X} {x : X},
  x ∈ T → nhdsWithin x (T \ {x}) ≤ Filter.codiscreteWithin T

At every point x of T, the punctured neighborhood filter within T is finer than codiscreteWithin T.

theorem eventually_codiscreteWithin_iff_forall_eventually_nhdsNE E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X} {p : X → Prop},
  (∀ᶠ (x : X) in Filter.codiscreteWithin s, p x) ↔ ∀ x ∈ s, ∀ᶠ (y : X) in nhdsWithin x {x}ᶜ, y ∈ s → p y

A property holds along codiscreteWithin U iff, for every point x of U, it holds along the punctured neighborhood of x, at every point of U.

theorem eventuallyEq_codiscreteWithin_iff_forall_eventually_nhdsNE E1 #

∀ {X : Type u_1} {Z : Type u_3} [inst : TopologicalSpace X] {s : Set X} {g₁ g₂ : X → Z},
  g₁ =ᶠ[Filter.codiscreteWithin s] g₂ ↔ ∀ x ∈ s, ∀ᶠ (y : X) in nhdsWithin x {x}ᶜ, y ∈ s → g₁ y = g₂ y

Two functions agree along codiscreteWithin U iff, for every point x of U, they agree along the punctured neighborhood of x, at every point of U.

theorem eventually_codiscreteWithin_iff_forall_eventually_nhdsWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X} {p : X → Prop},
  (∀ᶠ (x : X) in Filter.codiscreteWithin s, p x) ↔ ∀ x ∈ s, ∀ᶠ (y : X) in nhdsWithin x (s \ {x}), p y

A property holds along codiscreteWithin U iff, for every point x of U, it holds along the punctured neighborhood within U of x.

theorem eventuallyEq_codiscreteWithin_iff_forall_eventuallyEq_nhdsWithin E1 #

∀ {X : Type u_1} {Z : Type u_3} [inst : TopologicalSpace X] {s : Set X} {g₁ g₂ : X → Z},
  g₁ =ᶠ[Filter.codiscreteWithin s] g₂ ↔ ∀ x ∈ s, g₁ =ᶠ[nhdsWithin x (s \ {x})] g₂

Two functions agree along codiscreteWithin U iff, for every point x of U, they agree along the punctured neighborhood within U of x.

theorem mem_codiscreteWithin_accPt E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S T : Set X},
  S ∈ Filter.codiscreteWithin T ↔ ∀ x ∈ T, ¬AccPt x (Filter.principal (T \ S))

theorem Filter.self_mem_codiscreteWithin E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (s : Set X), s ∈ Filter.codiscreteWithin s

Any set is codiscrete within itself.

theorem Filter.codiscreteWithin_mono E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s s₁ : Set X},
  s₁ ⊆ s → Filter.codiscreteWithin s₁ ≤ Filter.codiscreteWithin s

If a set is codiscrete within U, then it is codiscrete within any subset of U.

theorem isDiscrete_of_codiscreteWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U s : Set X}, sᶜ ∈ Filter.codiscreteWithin U → IsDiscrete (s ∩ U)

If s is codiscrete within U, then sᶜ ∩ U has discrete topology.

theorem codiscreteWithin_iff_locallyEmptyComplementWithin E2 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s t : Set X},
  t ∈ Filter.codiscreteWithin s ↔ ∀ z ∈ s, ∃ τ ∈ nhdsWithin z {z}ᶜ, τ ∩ (s \ t) = ∅

Helper lemma for codiscreteWithin_iff_locallyFiniteComplementWithin: A set s is codiscreteWithin U iff every point z ∈ U has a punctured neighborhood that does not intersect U \ s.

theorem isClosed_sdiff_of_codiscreteWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s t : Set X},
  t ∈ Filter.codiscreteWithin s → IsClosed s → IsClosed (s \ t)

If U is closed and s is codiscrete within U, then U \ s is closed.

theorem nhdsNE_of_nhdsNE_sdiff_finite E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] [T1Space X] {x : X} {U s : Set X},
  U ∈ nhdsWithin x {x}ᶜ → Finite ↑s → U \ s ∈ nhdsWithin x {x}ᶜ

In a T1Space, punctured neighborhoods are stable under removing finite sets of points.

theorem codiscreteWithin_iff_locallyFiniteComplementWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X} [T1Space X] {t : Set X},
  t ∈ Filter.codiscreteWithin s ↔ ∀ z ∈ s, ∃ τ ∈ nhds z, (τ ∩ (s \ t)).Finite

In a T1Space, a set s is codiscreteWithin U iff it has locally finite complement within U. More precisely: s is codiscreteWithin U iff every point z ∈ U has a punctured neighborhood intersect U \ s in only finitely many points.

theorem Set.Subsingleton.mem_codiscreteWithin E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [T1Space X] {s t : Set X}, t.Subsingleton → s ∈ Filter.codiscreteWithin t

In a T1Space, every set is codiscrete within a subsingleton set.

theorem compl_singleton_mem_codiscreteWithin E0 #

∀ {X : Type u_4} [inst : TopologicalSpace X] [T1Space X] {s : Set X} (x : X), {x}ᶜ ∈ Filter.codiscreteWithin s

In a T1Space, complements of singleton sets are codiscrete within any set.

theorem compl_finite_mem_codiscreteWithin E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] [T1Space X] {s t : Set X}, t.Finite → tᶜ ∈ Filter.codiscreteWithin s

In a T1Space, complements of finite sets are codiscrete within any set.

def Filter.codiscrete E1 #

(X : Type u_4) → [TopologicalSpace X] → Filter X

In any topological space, the open sets with discrete complement form a filter, defined as the supremum of all punctured neighborhoods.

See Filter.mem_codiscrete' for the equivalence.

theorem mem_codiscrete E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X},
  S ∈ Filter.codiscrete X ↔ ∀ (x : X), Disjoint (nhdsWithin x {x}ᶜ) (Filter.principal Sᶜ)

theorem Disjoint.eventually_nhdsWithin_specializes E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {p : X} {s : Set X},
  Disjoint (nhdsWithin p s) Filter.cofinite → ∀ᶠ (x : X) in nhdsWithin p s, x ⤳ p

theorem Disjoint.nhdsWithin_eq_of_cofinite E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {p : X} {s : Set X},
  Disjoint (nhdsWithin p s) Filter.cofinite → nhdsWithin p s = Filter.principal ({x | x ⤳ p} ∩ s)

theorem mem_codiscrete_iff_forall_mem_nhdsNE E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, s ∈ Filter.codiscrete X ↔ ∀ (x : X), s ∈ nhdsWithin x {x}ᶜ

A set is codiscrete iff it is a punctured neighborhood of every point.

theorem nhdsNE_le_codiscrete E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), nhdsWithin x {x}ᶜ ≤ Filter.codiscrete X

At every point, the punctured neighborhood filter is finer than the codiscrete filter.

theorem eventually_codiscrete_iff_forall_eventually_nhdsNE E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {p : X → Prop},
  (∀ᶠ (x : X) in Filter.codiscrete X, p x) ↔ ∀ (x : X), ∀ᶠ (y : X) in nhdsWithin x {x}ᶜ, p y

A property holds along the codiscrete filter iff it holds along the punctured neighborhood of every point.

theorem eventuallyEq_codiscrete_iff_forall_eventuallyEq_nhdsNE E1 #

∀ {X : Type u_1} {Z : Type u_3} [inst : TopologicalSpace X] {g₁ g₂ : X → Z},
  g₁ =ᶠ[Filter.codiscrete X] g₂ ↔ ∀ (x : X), g₁ =ᶠ[nhdsWithin x {x}ᶜ] g₂

Two functions agree along the codiscrete filter iff they agree along the punctured neighborhood of every point.

theorem mem_codiscrete_accPt E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X},
  S ∈ Filter.codiscrete X ↔ ∀ (x : X), ¬AccPt x (Filter.principal Sᶜ)

theorem mem_codiscrete' E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X}, S ∈ Filter.codiscrete X ↔ IsOpen S ∧ IsDiscrete Sᶜ

theorem compl_mem_codiscrete_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X}, Sᶜ ∈ Filter.codiscrete X ↔ IsClosed S ∧ IsDiscrete S

theorem codiscreteWithin_le_codiscrete_inf_principal E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (s : Set X),
  Filter.codiscreteWithin s ≤ Filter.codiscrete X ⊓ Filter.principal s

theorem Topology.IsEmbedding.image_mem_codiscreteWithin E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  Topology.IsEmbedding f → ∀ {s t : Set X}, f '' s ∈ Filter.codiscreteWithin (f '' t) ↔ s ∈ Filter.codiscreteWithin t

theorem Topology.IsEmbedding.image_mem_codiscreteWithin_range E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  Topology.IsEmbedding f → ∀ {s : Set X}, f '' s ∈ Filter.codiscreteWithin (Set.range f) ↔ s ∈ Filter.codiscrete X

theorem mem_codiscrete_subtype_iff_mem_codiscreteWithin E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X} {U : Set ↑S},
  U ∈ Filter.codiscrete ↑S ↔ Subtype.val '' U ∈ Filter.codiscreteWithin S

theorem codiscreteWithin_eq_bot_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set X}, Filter.codiscreteWithin S = ⊥ ↔ IsDiscrete S

theorem codiscrete_le_cofinite E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [T1Space X], Filter.codiscrete X ≤ Filter.cofinite

theorem Set.Finite.compl_mem_codiscrete E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [T1Space X] {S : Set X}, S.Finite → Sᶜ ∈ Filter.codiscrete X

theorem Set.Infinite.of_accPt E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [T1Space X] {S : Set X} {x : X}, AccPt x (Filter.principal S) → S.Infinite

theorem IsCompact.finite_sdiff_of_mem_codiscreteWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s K : Set X}, IsCompact K → s ∈ Filter.codiscreteWithin K → (K \ s).Finite

theorem IsCompact.cofinite_inf_le_codiscreteWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {K : Set X},
  IsCompact K → Filter.cofinite ⊓ Filter.principal K ≤ Filter.codiscreteWithin K

theorem IsCompact.codiscreteWithin_eq E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {K : Set X} [T1Space X],
  IsCompact K → Filter.codiscreteWithin K = Filter.cofinite ⊓ Filter.principal K

theorem cofinite_le_codiscrete E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [CompactSpace X], Filter.cofinite ≤ Filter.codiscrete X

theorem codiscrete_eq_cofinite E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [T1Space X] [CompactSpace X], Filter.codiscrete X = Filter.cofinite

theorem IsDiscrete.iUnion E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {ι : Sort u_4} [Finite ι] {s : ι → Set X},
  (∀ (i : ι), IsDiscrete (s i)) → (∀ (i : ι), IsClosed (s i)) → IsDiscrete (⋃ i, s i)

The union of finitely many discrete closed subsets is discrete.

theorem IsDiscrete.union E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s t : Set X},
  IsDiscrete s → IsDiscrete t → IsClosed s → IsClosed t → IsDiscrete (s ∪ t)

The union of two discrete closed subsets is discrete.

theorem IsDiscrete.biUnion E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {ι : Type u_4} {I : Set ι} {s : ι → Set X},
  I.Finite → (∀ i ∈ I, IsDiscrete (s i)) → (∀ i ∈ I, IsClosed (s i)) → IsDiscrete (⋃ i ∈ I, s i)

The union of finitely many discrete closed subsets is discrete.

theorem IsDiscrete.biUnion_finset E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {ι : Type u_4} {I : Finset ι} {s : ι → Set X},
  (∀ i ∈ I, IsDiscrete (s i)) → (∀ i ∈ I, IsClosed (s i)) → IsDiscrete (⋃ i ∈ I, s i)

The union of finitely many discrete closed subsets is discrete.

Deprecated aliases

NameNew nameSince
Filter.codiscreteWithin.monoFilter.codiscreteWithin_mono2026-05-13
IsCompact.finite_diff_of_mem_codiscreteWithinIsCompact.finite_sdiff_of_mem_codiscreteWithin2026-06-03
discreteTopology_biUnion_finsetIsDiscrete.biUnion_finset2026-05-13
discreteTopology_iUnion_finiteIsDiscrete.iUnion2026-05-13
discreteTopology_unionIsDiscrete.union2026-05-13
isDiscrete_iff_forall_exists_isOpenisDiscrete_iff_forall_mem_exists_isOpen2026-06-24