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.UniformSpace.Compact

20 declarations. Mathlib docs · Source

Compact sets in uniform spaces

  • compactSpace_uniformity: On a compact uniform space, the topology determines the uniform structure, entourages are exactly the neighborhoods of the diagonal.

theorem lebesgue_number_lemma E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {ι : Sort u_2} {U : ι → Set α},
  IsCompact K → (∀ (i : ι), IsOpen (U i)) → K ⊆ ⋃ i, U i → ∃ V ∈ uniformity α, ∀ x ∈ K, ∃ i, SetRel.ball V x ⊆ U i

Let U : ι → Set α be an open cover of a compact set K. Then there exists an entourage V such that for each x ∈ K its V-neighborhood is contained in some U i.

theorem lebesgue_number_lemma_nhds' E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {U : (x : α) → x ∈ K → Set α},
  IsCompact K → (∀ (x : α) (hx : x ∈ K), U x hx ∈ nhds x) → ∃ V ∈ uniformity α, ∀ x ∈ K, ∃ y, SetRel.ball V x ⊆ U ↑y ⋯

theorem lebesgue_number_lemma_nhds E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {U : α → Set α},
  IsCompact K → (∀ x ∈ K, U x ∈ nhds x) → ∃ V ∈ uniformity α, ∀ x ∈ K, ∃ y, SetRel.ball V x ⊆ U y

theorem lebesgue_number_lemma_nhdsWithin' E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {U : (x : α) → x ∈ K → Set α},
  IsCompact K →
    (∀ (x : α) (hx : x ∈ K), U x hx ∈ nhdsWithin x K) → ∃ V ∈ uniformity α, ∀ x ∈ K, ∃ y, SetRel.ball V x ∩ K ⊆ U ↑y ⋯

theorem lebesgue_number_lemma_nhdsWithin E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {U : α → Set α},
  IsCompact K → (∀ x ∈ K, U x ∈ nhdsWithin x K) → ∃ V ∈ uniformity α, ∀ x ∈ K, ∃ y, SetRel.ball V x ∩ K ⊆ U y

theorem Filter.HasBasis.lebesgue_number_lemma E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {ι' : Sort u_2} {ι : Sort u_3} {p : ι' → Prop} {V : ι' → SetRel α α}
  {U : ι → Set α},
  (uniformity α).HasBasis p V →
    IsCompact K → (∀ (j : ι), IsOpen (U j)) → K ⊆ ⋃ j, U j → ∃ i, p i ∧ ∀ x ∈ K, ∃ j, (V i).ball x ⊆ U j

Let U : ι → Set α be an open cover of a compact set K. Then there exists an entourage V such that for each x ∈ K its V-neighborhood is included in some U i.

Moreover, one can choose an entourage from a given basis.

theorem Filter.HasBasis.lebesgue_number_lemma_nhds' E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {ι' : Sort u_2} {p : ι' → Prop} {V : ι' → SetRel α α}
  {U : (x : α) → x ∈ K → Set α},
  (uniformity α).HasBasis p V →
    IsCompact K → (∀ (x : α) (hx : x ∈ K), U x hx ∈ nhds x) → ∃ i, p i ∧ ∀ x ∈ K, ∃ y, (V i).ball x ⊆ U ↑y ⋯

theorem Filter.HasBasis.lebesgue_number_lemma_nhds E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {ι' : Sort u_2} {p : ι' → Prop} {V : ι' → SetRel α α}
  {U : α → Set α},
  (uniformity α).HasBasis p V → IsCompact K → (∀ x ∈ K, U x ∈ nhds x) → ∃ i, p i ∧ ∀ x ∈ K, ∃ y, (V i).ball x ⊆ U y

theorem Filter.HasBasis.lebesgue_number_lemma_nhdsWithin' E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {ι' : Sort u_2} {p : ι' → Prop} {V : ι' → SetRel α α}
  {U : (x : α) → x ∈ K → Set α},
  (uniformity α).HasBasis p V →
    IsCompact K → (∀ (x : α) (hx : x ∈ K), U x hx ∈ nhdsWithin x K) → ∃ i, p i ∧ ∀ x ∈ K, ∃ y, (V i).ball x ∩ K ⊆ U ↑y ⋯

theorem Filter.HasBasis.lebesgue_number_lemma_nhdsWithin E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {ι' : Sort u_2} {p : ι' → Prop} {V : ι' → SetRel α α}
  {U : α → Set α},
  (uniformity α).HasBasis p V →
    IsCompact K → (∀ x ∈ K, U x ∈ nhdsWithin x K) → ∃ i, p i ∧ ∀ x ∈ K, ∃ y, (V i).ball x ∩ K ⊆ U y

theorem lebesgue_number_lemma_sUnion E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K : Set α} {S : Set (Set α)},
  IsCompact K → (∀ s ∈ S, IsOpen s) → K ⊆ ⋃₀ S → ∃ V ∈ uniformity α, ∀ x ∈ K, ∃ s ∈ S, SetRel.ball V x ⊆ s

Let S : Set (Set α) be an open cover of a compact set K. Then there exists an entourage V such that for each x ∈ K its V-neighborhood is contained in some s ∈ S.

theorem IsCompact.nhdsSet_basis_uniformity E1 #

∀ {α : Type ua} {ι : Sort u_1} [inst : UniformSpace α] {K : Set α} {p : ι → Prop} {V : ι → SetRel α α},
  (uniformity α).HasBasis p V → IsCompact K → (nhdsSet K).HasBasis p fun i ↦ ⋃ x ∈ K, (V i).ball x

If K is a compact set in a uniform space and {V i | p i} is a basis of entourages, then {⋃ x ∈ K, (V i).ball x | p i} is a basis of 𝓝ˢ K.

Here "{s i | p i} is a basis of a filter l" means Filter.HasBasis l p s.

theorem Disjoint.exists_uniform_thickening E1 #

∀ {α : Type ua} [inst : UniformSpace α] {A B : Set α},
  IsCompact A →
    IsClosed B → Disjoint A B → ∃ V ∈ uniformity α, Disjoint (⋃ x ∈ A, SetRel.ball V x) (⋃ x ∈ B, SetRel.ball V x)

theorem Disjoint.exists_uniform_thickening_of_basis E1 #

∀ {α : Type ua} {ι : Sort u_1} [inst : UniformSpace α] {p : ι → Prop} {s : ι → SetRel α α},
  (uniformity α).HasBasis p s →
    ∀ {A B : Set α},
      IsCompact A → IsClosed B → Disjoint A B → ∃ i, p i ∧ Disjoint (⋃ x ∈ A, (s i).ball x) (⋃ x ∈ B, (s i).ball x)

theorem lebesgue_number_of_compact_open E1 #

∀ {α : Type ua} [inst : UniformSpace α] {K U : Set α},
  IsCompact K → IsOpen U → K ⊆ U → ∃ V ∈ uniformity α, IsOpen V ∧ ∀ x ∈ K, SetRel.ball V x ⊆ U

A useful consequence of the Lebesgue number lemma: given any compact set K contained in an open set U, we can find an (open) entourage V such that the ball of size V about any point of K is contained in U.

theorem nhdsSet_diagonal_eq_uniformity E1 #

∀ {α : Type ua} [inst : UniformSpace α] [CompactSpace α], nhdsSet (Set.diagonal α) = uniformity α

On a compact uniform space, the topology determines the uniform structure, entourages are exactly the neighborhoods of the diagonal.

theorem compactSpace_uniformity E3 #

∀ {α : Type ua} [inst : UniformSpace α] [CompactSpace α], uniformity α = ⨆ x, nhds (x, x)

On a compact uniform space, the topology determines the uniform structure, entourages are exactly the neighborhoods of the diagonal.

theorem unique_uniformity_of_compact E1 #

∀ {γ : Type uc} [t : TopologicalSpace γ] [CompactSpace γ] {u u' : UniformSpace γ},
  u.toTopologicalSpace = t → u'.toTopologicalSpace = t → u = u'

theorem IsClosed.relPreimage_of_isCompact E1 #

∀ {α : Type ua} {β : Type ub} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {s : SetRel α β},
  IsClosed s → ∀ {t : Set β}, IsCompact t → IsClosed (s.preimage t)

theorem IsClosed.relImage_of_isCompact E1 #

∀ {α : Type ua} {β : Type ub} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {s : SetRel α β},
  IsClosed s → ∀ {t : Set α}, IsCompact t → IsClosed (s.image t)