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.Compactness.SigmaCompact

74 declarations and 1 deprecated aliases. Mathlib docs · Source

Sigma-compactness in topological spaces

Main definitions

  • IsSigmaCompact: a set that is the union of countably many compact sets.
  • SigmaCompactSpace X: X is a σ-compact topological space; i.e., is the union of a countable collection of compact subspaces.

theorem CompactExhaustion.mk.injEq E0 #

∀ {X : Type u_4} [inst : TopologicalSpace X] (toFun : ℕ → Set X) (isCompact' : ∀ (n : ℕ), IsCompact (toFun n))
  (subset_interior_succ' : ∀ (n : ℕ), toFun n ⊆ interior (toFun (n + 1))) (iUnion_eq' : ⋃ n, toFun n = Set.univ)
  (toFun_1 : ℕ → Set X) (isCompact'_1 : ∀ (n : ℕ), IsCompact (toFun_1 n))
  (subset_interior_succ'_1 : ∀ (n : ℕ), toFun_1 n ⊆ interior (toFun_1 (n + 1)))
  (iUnion_eq'_1 : ⋃ n, toFun_1 n = Set.univ),
  ({ toFun := toFun, isCompact' := isCompact', subset_interior_succ' := subset_interior_succ',
        iUnion_eq' := iUnion_eq' } =
      { toFun := toFun_1, isCompact' := isCompact'_1, subset_interior_succ' := subset_interior_succ'_1,
        iUnion_eq' := iUnion_eq'_1 }) =
    (toFun = toFun_1)

theorem CompactExhaustion.mk.inj E1 #

∀ {X : Type u_4} {inst : TopologicalSpace X} {toFun : ℕ → Set X} {isCompact' : ∀ (n : ℕ), IsCompact (toFun n)}
  {subset_interior_succ' : ∀ (n : ℕ), toFun n ⊆ interior (toFun (n + 1))} {iUnion_eq' : ⋃ n, toFun n = Set.univ}
  {toFun_1 : ℕ → Set X} {isCompact'_1 : ∀ (n : ℕ), IsCompact (toFun_1 n)}
  {subset_interior_succ'_1 : ∀ (n : ℕ), toFun_1 n ⊆ interior (toFun_1 (n + 1))}
  {iUnion_eq'_1 : ⋃ n, toFun_1 n = Set.univ},
  { toFun := toFun, isCompact' := isCompact', subset_interior_succ' := subset_interior_succ',
        iUnion_eq' := iUnion_eq' } =
      { toFun := toFun_1, isCompact' := isCompact'_1, subset_interior_succ' := subset_interior_succ'_1,
        iUnion_eq' := iUnion_eq'_1 } →
    toFun = toFun_1

theorem compactCovering.congr_simp E1 #

∀ (X : Type u_1) [inst : TopologicalSpace X] [inst_1 : SigmaCompactSpace X] (a a_1 : ℕ),
  a = a_1 → compactCovering X a = compactCovering X a_1

def CompactExhaustion.ctorIdx E1 #

{X : Type u_4} → {inst : TopologicalSpace X} → CompactExhaustion X → ℕ

def IsSigmaCompact E3 #

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

A subset s ⊆ X is called σ-compact if it is the union of countably many compact sets.

theorem IsCompact.isSigmaCompact E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, IsCompact s → IsSigmaCompact s

Compact sets are σ-compact.

theorem isSigmaCompact_empty E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X], IsSigmaCompact ∅

The empty set is σ-compact.

theorem isSigmaCompact_iUnion_of_isCompact E1 #

∀ {X : Type u_1} {ι : Type u_3} [inst : TopologicalSpace X] [hι : Countable ι] (s : ι → Set X),
  (∀ (i : ι), IsCompact (s i)) → IsSigmaCompact (⋃ i, s i)

Countable unions of compact sets are σ-compact.

theorem isSigmaCompact_sUnion_of_isCompact E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {S : Set (Set X)},
  S.Countable → (∀ s ∈ S, IsCompact s) → IsSigmaCompact (⋃₀ S)

Countable unions of compact sets are σ-compact.

theorem isSigmaCompact_iUnion E1 #

∀ {X : Type u_1} {ι : Type u_3} [inst : TopologicalSpace X] [Countable ι] (s : ι → Set X),
  (∀ (i : ι), IsSigmaCompact (s i)) → IsSigmaCompact (⋃ i, s i)

Countable unions of σ-compact sets are σ-compact.

theorem isSigmaCompact_sUnion E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (S : Set (Set X)),
  S.Countable → (∀ (s : ↑S), IsSigmaCompact ↑s) → IsSigmaCompact (⋃₀ S)

Countable unions of σ-compact sets are σ-compact.

theorem isSigmaCompact_biUnion E1 #

∀ {X : Type u_1} {ι : Type u_3} [inst : TopologicalSpace X] {s : Set ι} {S : ι → Set X},
  s.Countable → (∀ i ∈ s, IsSigmaCompact (S i)) → IsSigmaCompact (⋃ i ∈ s, S i)

Countable unions of σ-compact sets are σ-compact.

theorem IsSigmaCompact.of_isClosed_subset E1 #

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

A closed subset of a σ-compact set is σ-compact.

theorem IsSigmaCompact.image_of_continuousOn E1 #

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

If s is σ-compact and f is continuous on s, f(s) is σ-compact.

theorem IsSigmaCompact.image E1 #

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

If s is σ-compact and f continuous, f(s) is σ-compact.

theorem Topology.IsInducing.isSigmaCompact_iff E0 #

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

If f : X → Y is an inducing map, the image f '' s of a set s is σ-compact if and only s is σ-compact.

theorem Topology.IsEmbedding.isSigmaCompact_iff E0 #

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

If f : X → Y is an embedding, the image f '' s of a set s is σ-compact if and only s is σ-compact.

theorem Subtype.isSigmaCompact_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {p : X → Prop} {s : Set { a // p a }},
  IsSigmaCompact s ↔ IsSigmaCompact (Subtype.val '' s)

Sets of subtype are σ-compact iff the image under a coercion is.

class SigmaCompactSpace E1 #

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

A σ-compact space is a space that is the union of a countable collection of compact subspaces. Note that a locally compact separable T₂ space need not be σ-compact. The sequence can be extracted using compactCovering.

ctor SigmaCompactSpace.mk E0 #

∀ {X : Type u_4} [inst : TopologicalSpace X], IsSigmaCompact Set.univ → SigmaCompactSpace X

theorem SigmaCompactSpace.isSigmaCompact_univ E1 #

∀ {X : Type u_4} {inst : TopologicalSpace X} [self : SigmaCompactSpace X], IsSigmaCompact Set.univ

In a σ-compact space, Set.univ is a σ-compact set.

theorem isSigmaCompact_univ_iff E0 #

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

A topological space is σ-compact iff univ is σ-compact.

theorem isSigmaCompact_univ E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [h : SigmaCompactSpace X], IsSigmaCompact Set.univ

In a σ-compact space, univ is σ-compact.

theorem SigmaCompactSpace_iff_exists_compact_covering E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X],
  SigmaCompactSpace X ↔ ∃ K, (∀ (n : ℕ), IsCompact (K n)) ∧ ⋃ n, K n = Set.univ

A topological space is σ-compact iff there exists a countable collection of compact subspaces that cover the entire space.

theorem SigmaCompactSpace.exists_compact_covering E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [h : SigmaCompactSpace X],
  ∃ K, (∀ (n : ℕ), IsCompact (K n)) ∧ ⋃ n, K n = Set.univ

theorem isSigmaCompact_range E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  Continuous f → ∀ [SigmaCompactSpace X], IsSigmaCompact (Set.range f)

If X is σ-compact, im f is σ-compact.

theorem isSigmaCompact_iff_isSigmaCompact_univ E1 #

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

A subset s is σ-compact iff s (with the subspace topology) is a σ-compact space.

theorem isSigmaCompact_iff_sigmaCompactSpace E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Set X}, IsSigmaCompact s ↔ SigmaCompactSpace ↑s

instance CompactSpace.sigmaCompact E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [CompactSpace X], SigmaCompactSpace X

theorem SigmaCompactSpace.of_countable E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (S : Set (Set X)),
  S.Countable → (∀ s ∈ S, IsCompact s) → ⋃₀ S = Set.univ → SigmaCompactSpace X

instance sigmaCompactSpace_of_locallyCompact_secondCountable E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [LocallyCompactSpace X] [SecondCountableTopology X], SigmaCompactSpace X

def compactCovering E1 #

(X : Type u_1) → [inst : TopologicalSpace X] → [SigmaCompactSpace X] → ℕ → Set X

A choice of compact covering for a σ-compact space, chosen to be monotone.

theorem isCompact_compactCovering E1 #

∀ (X : Type u_1) [inst : TopologicalSpace X] [inst_1 : SigmaCompactSpace X] (n : ℕ), IsCompact (compactCovering X n)

theorem iUnion_compactCovering E1 #

∀ (X : Type u_1) [inst : TopologicalSpace X] [inst_1 : SigmaCompactSpace X], ⋃ n, compactCovering X n = Set.univ

theorem iUnion_closure_compactCovering E1 #

∀ (X : Type u_1) [inst : TopologicalSpace X] [inst_1 : SigmaCompactSpace X],
  ⋃ n, closure (compactCovering X n) = Set.univ

theorem compactCovering_subset E1 #

∀ (X : Type u_1) [inst : TopologicalSpace X] [inst_1 : SigmaCompactSpace X] ⦃m n : ℕ⦄,
  m ≤ n → compactCovering X m ⊆ compactCovering X n

theorem exists_mem_compactCovering E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [inst_1 : SigmaCompactSpace X] (x : X), ∃ n, x ∈ compactCovering X n

instance instSigmaCompactSpaceProd E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [SigmaCompactSpace X]
  [SigmaCompactSpace Y], SigmaCompactSpace (X × Y)

instance instSigmaCompactSpaceForallOfFinite E0 #

∀ {ι : Type u_3} [Finite ι] {X : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (X i)]
  [∀ (i : ι), SigmaCompactSpace (X i)], SigmaCompactSpace ((i : ι) → X i)

instance instSigmaCompactSpaceSum E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [SigmaCompactSpace X]
  [SigmaCompactSpace Y], SigmaCompactSpace (X ⊕ Y)

instance instSigmaCompactSpaceSigmaOfCountable E0 #

∀ {ι : Type u_3} [Countable ι] {X : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (X i)]
  [∀ (i : ι), SigmaCompactSpace (X i)], SigmaCompactSpace ((i : ι) × X i)

theorem Topology.IsClosedEmbedding.sigmaCompactSpace E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [SigmaCompactSpace X]
  {e : Y → X}, Topology.IsClosedEmbedding e → SigmaCompactSpace Y

theorem IsClosed.sigmaCompactSpace E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [SigmaCompactSpace X] {s : Set X}, IsClosed s → SigmaCompactSpace ↑s

instance instSigmaCompactSpaceULift E0 #

∀ {Y : Type u_2} [inst : TopologicalSpace Y] [SigmaCompactSpace Y], SigmaCompactSpace (ULift.{u, u_2} Y)

theorem LocallyFinite.countable_univ E1 #

∀ {X : Type u_1} {ι : Type u_3} [inst : TopologicalSpace X] [SigmaCompactSpace X] {f : ι → Set X},
  LocallyFinite f → (∀ (i : ι), (f i).Nonempty) → Set.univ.Countable

If X is a σ-compact space, then a locally finite family of nonempty sets of X can have only countably many elements, Set.Countable version.

def LocallyFinite.encodable E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    [SigmaCompactSpace X] →
      {ι : Type u_4} → {f : ι → Set X} → LocallyFinite f → (∀ (i : ι), (f i).Nonempty) → Encodable ι

If f : ι → Set X is a locally finite covering of a σ-compact topological space by nonempty sets, then the index type ι is encodable.

theorem countable_cover_nhdsWithin_of_sigmaCompact E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [SigmaCompactSpace X] {f : X → Set X} {s : Set X},
  IsClosed s → (∀ x ∈ s, f x ∈ nhdsWithin x s) → ∃ t ⊆ s, t.Countable ∧ s ⊆ ⋃ x ∈ t, f x

In a topological space with sigma compact topology, if f is a function that sends each point x of a closed set s to a neighborhood of x within s, then for some countable set t ⊆ s, the neighborhoods f x, x ∈ t, cover the whole set s.

theorem countable_cover_nhds_of_sigmaCompact E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [SigmaCompactSpace X] {f : X → Set X},
  (∀ (x : X), f x ∈ nhds x) → ∃ s, s.Countable ∧ ⋃ x ∈ s, f x = Set.univ

In a topological space with sigma compact topology, if f is a function that sends each point x to a neighborhood of x, then for some countable set s, the neighborhoods f x, x ∈ s, cover the whole space.

structure CompactExhaustion E1 #

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

An exhaustion by compact sets of a topological space is a sequence of compact sets K n such that K n ⊆ interior (K (n + 1)) and ⋃ n, K n = univ.

If X is a locally compact sigma compact space, then CompactExhaustion.choice X provides a choice of an exhaustion by compact sets. This choice is also available as (default : CompactExhaustion X).

ctor CompactExhaustion.mk E0 #

{X : Type u_4} →
  [inst : TopologicalSpace X] →
    (toFun : ℕ → Set X) →
      (∀ (n : ℕ), IsCompact (toFun n)) →
        (∀ (n : ℕ), toFun n ⊆ interior (toFun (n + 1))) → ⋃ n, toFun n = Set.univ → CompactExhaustion X

abbrev CompactExhaustion.toFun E1 #

{X : Type u_4} → [inst : TopologicalSpace X] → CompactExhaustion X → ℕ → Set X

The sequence of compact sets that form a compact exhaustion.

theorem CompactExhaustion.isCompact' E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] (self : CompactExhaustion X) (n : ℕ), IsCompact (self.toFun n)

The sets in the compact exhaustion are in fact compact.

theorem CompactExhaustion.subset_interior_succ' E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] (self : CompactExhaustion X) (n : ℕ),
  self.toFun n ⊆ interior (self.toFun (n + 1))

The sets in the compact exhaustion form a sequence: each set is contained in the interior of the next.

theorem CompactExhaustion.iUnion_eq' E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] (self : CompactExhaustion X), ⋃ n, self.toFun n = Set.univ

The union of all sets in a compact exhaustion equals the entire space.

instance CompactExhaustion.instFunLikeNatSet E0 #

{X : Type u_1} → [inst : TopologicalSpace X] → FunLike (CompactExhaustion X) ℕ (Set X)

instance CompactExhaustion.instOrderHomClassNatSet E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X], OrderHomClass (CompactExhaustion X) ℕ (Set X)

theorem CompactExhaustion.toFun_eq_coe E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X), K.toFun = ⇑K

theorem CompactExhaustion.isCompact E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (n : ℕ), IsCompact (K n)

theorem CompactExhaustion.subset_interior_succ E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (n : ℕ), K n ⊆ interior (K (n + 1))

theorem CompactExhaustion.subset E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) ⦃m n : ℕ⦄, m ≤ n → K m ⊆ K n

theorem CompactExhaustion.subset_succ E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (n : ℕ), K n ⊆ K (n + 1)

theorem CompactExhaustion.subset_interior E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) ⦃m n : ℕ⦄, m < n → K m ⊆ interior (K n)

theorem CompactExhaustion.iUnion_eq E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X), ⋃ n, K n = Set.univ

theorem CompactExhaustion.exists_mem E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (x : X), ∃ n, x ∈ K n

theorem CompactExhaustion.exists_mem_nhds E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (x : X), ∃ n, K n ∈ nhds x

theorem CompactExhaustion.exists_superset_of_isCompact E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) {s : Set X}, IsCompact s → ∃ n, s ⊆ K n

A compact exhaustion eventually covers any compact set.

def CompactExhaustion.find E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → CompactExhaustion X → X → ℕ

The minimal n such that x ∈ K n.

theorem CompactExhaustion.mem_find E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (x : X), x ∈ K (K.find x)

theorem CompactExhaustion.mem_iff_find_le E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) {x : X} {n : ℕ}, x ∈ K n ↔ K.find x ≤ n

def CompactExhaustion.shiftr E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → CompactExhaustion X → CompactExhaustion X

Prepend the empty set to a compact exhaustion K n.

theorem CompactExhaustion.find_shiftr E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (x : X), K.shiftr.find x = K.find x + 1

theorem CompactExhaustion.mem_sdiff_shiftr_find E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (K : CompactExhaustion X) (x : X),
  x ∈ K.shiftr (K.find x + 1) \ K.shiftr (K.find x)

def CompactExhaustion.choice E1 #

(X : Type u_4) →
  [inst : TopologicalSpace X] → [WeaklyLocallyCompactSpace X] → [SigmaCompactSpace X] → CompactExhaustion X

A choice of an exhaustion by compact sets of a weakly locally compact σ-compact space.

instance CompactExhaustion.instInhabitedOfSigmaCompactSpaceOfWeaklyLocallyCompactSpace E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] → [SigmaCompactSpace X] → [WeaklyLocallyCompactSpace X] → Inhabited (CompactExhaustion X)

Deprecated aliases

NameNew nameSince
CompactExhaustion.mem_diff_shiftr_findCompactExhaustion.mem_sdiff_shiftr_find2026-06-03