The areas / V13. General topology
Mathlib.Topology.Compactness.Compact
176 declarations. Mathlib docs · Source
Compact sets and compact spaces
Main results
-
isCompact_univ_pi: Tychonov's theorem - an arbitrary product of compact sets is compact. -
isCompact_generateFrom: Alexander's subbasis theorem - supposeXis a topological space with a subbasisSandsis a subset ofX, thensis compact if for any open cover ofswith all elements taken fromS, there is a finite subcover.
theorem IsCompact.exists_clusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ {f : Filter X} [f.NeBot], f ≤ Filter.principal s → ∃ x ∈ s, ClusterPt x f
theorem IsCompact.exists_mapClusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {ι : Type u_2},
IsCompact s →
∀ {f : Filter ι} [f.NeBot] {u : ι → X}, Filter.map u f ≤ Filter.principal s → ∃ x ∈ s, MapClusterPt x f u
theorem IsCompact.exists_clusterPt_of_frequently E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {l : Filter X},
IsCompact s → (∃ᶠ (x : X) in l, x ∈ s) → ∃ a ∈ s, ClusterPt a l
theorem IsCompact.exists_mapClusterPt_of_frequently E1 #
∀ {X : Type u} {ι : Type u_1} [inst : TopologicalSpace X] {s : Set X} {l : Filter ι} {f : ι → X},
IsCompact s → (∃ᶠ (x : ι) in l, f x ∈ s) → ∃ a ∈ s, MapClusterPt a l f
theorem IsCompact.compl_mem_sets E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ {f : Filter X}, (∀ x ∈ s, sᶜ ∈ nhds x ⊓ f) → sᶜ ∈ f
The complement to a compact set belongs to a filter f if it belongs to each filter
𝓝 x ⊓ f, x ∈ s.
theorem IsCompact.compl_mem_sets_of_nhdsWithin E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ {f : Filter X}, (∀ x ∈ s, ∃ t ∈ nhdsWithin x s, tᶜ ∈ f) → sᶜ ∈ f
The complement to a compact set belongs to a filter f if each x ∈ s has a neighborhood t
within s such that tᶜ belongs to f.
theorem IsCompact.induction_on E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s →
∀ {p : Set X → Prop},
p ∅ →
(∀ ⦃s t : Set X⦄, s ⊆ t → p t → p s) →
(∀ ⦃s t : Set X⦄, p s → p t → p (s ∪ t)) → (∀ x ∈ s, ∃ t ∈ nhdsWithin x s, p t) → p s
If p : Set X → Prop is stable under restriction and union, and each point x
of a compact set s has a neighborhood t within s such that p t, then p s holds.
theorem IsCompact.inter_right E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s t : Set X}, IsCompact s → IsClosed t → IsCompact (s ∩ t)
The intersection of a compact set and a closed set is a compact set.
theorem IsCompact.inter_left E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s t : Set X}, IsCompact t → IsClosed s → IsCompact (s ∩ t)
The intersection of a closed set and a compact set is a compact set.
theorem IsCompact.diff E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s t : Set X}, IsCompact s → IsOpen t → IsCompact (s \ t)
The set difference of a compact set and an open set is a compact set.
theorem IsCompact.of_isClosed_subset E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s t : Set X}, IsCompact s → IsClosed t → t ⊆ s → IsCompact t
A closed subset of a compact set is a compact set.
theorem IsCompact.image_of_continuousOn E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {f : X → Y},
IsCompact s → ContinuousOn f s → IsCompact (f '' s)
theorem IsCompact.image E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {f : X → Y},
IsCompact s → Continuous f → IsCompact (f '' s)
theorem IsCompact.adherence_nhdset E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s t : Set X} {f : Filter X},
IsCompact s → f ≤ Filter.principal s → IsOpen t → (∀ x ∈ s, ClusterPt x f → x ∈ t) → t ∈ f
theorem isCompact_iff_ultrafilter_le_nhds E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s ↔ ∀ (f : Ultrafilter X), ↑f ≤ Filter.principal s → ∃ x ∈ s, ↑f ≤ nhds x
theorem IsCompact.ultrafilter_le_nhds E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ (f : Ultrafilter X), ↑f ≤ Filter.principal s → ∃ x ∈ s, ↑f ≤ nhds x
Alias of the forward direction of isCompact_iff_ultrafilter_le_nhds.
theorem isCompact_iff_ultrafilter_le_nhds' E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s ↔ ∀ (f : Ultrafilter X), s ∈ f → ∃ x ∈ s, ↑f ≤ nhds x
theorem IsCompact.ultrafilter_le_nhds' E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ (f : Ultrafilter X), s ∈ f → ∃ x ∈ s, ↑f ≤ nhds x
Alias of the forward direction of isCompact_iff_ultrafilter_le_nhds'.
theorem IsCompact.le_nhdsSet_of_clusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ {l : Filter X} {s' : Set X}, s ∈ l → (∀ x ∈ s, ClusterPt x l → x ∈ s') → l ≤ nhdsSet s'
If a compact set belongs to a filter and all cluster points in this set and in the filter
lie in a set s' then the filter is less than or equal to 𝓝ˢ s'.
theorem IsCompact.le_nhds_of_unique_clusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ {l : Filter X} {y : X}, s ∈ l → (∀ x ∈ s, ClusterPt x l → x = y) → l ≤ nhds y
If a compact set belongs to a filter and this filter has a unique cluster point y in this set,
then the filter is less than or equal to 𝓝 y.
theorem IsCompact.tendsto_nhdsSet_of_mapClusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {Y : Type u_2} {l : Filter Y} {s' : Set X} {f : Y → X},
IsCompact s → (∀ᶠ (x : Y) in l, f x ∈ s) → (∀ x ∈ s, MapClusterPt x l f → x ∈ s') → Filter.Tendsto f l (nhdsSet s')
If values of f : Y → X belong to a compact set s eventually along a filter l
and s' is the set of MapClusterPt for f along l in s,
then f tends to 𝓝ˢ s' along l.
theorem IsCompact.tendsto_nhds_of_unique_mapClusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {Y : Type u_2} {l : Filter Y} {y : X} {f : Y → X},
IsCompact s → (∀ᶠ (x : Y) in l, f x ∈ s) → (∀ x ∈ s, MapClusterPt x l f → x = y) → Filter.Tendsto f l (nhds y)
If values of f : Y → X belong to a compact set s eventually along a filter l
and y is a unique MapClusterPt for f along l in s,
then f tends to 𝓝 y along l.
theorem IsCompact.elim_directed_cover E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {ι : Type v} [hι : Nonempty ι],
IsCompact s →
∀ (U : ι → Set X), (∀ (i : ι), IsOpen (U i)) → s ⊆ ⋃ i, U i → Directed (fun x1 x2 ↦ x1 ⊆ x2) U → ∃ i, s ⊆ U i
For every open directed cover of a compact set, there exists a single element of the cover which itself includes the set.
theorem IsCompact.elim_directedOn_cover E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s →
∀ (U : Set (Set X)),
(∀ u ∈ U, IsOpen u) → s ⊆ ⋃₀ U → DirectedOn (fun x1 x2 ↦ x1 ⊆ x2) U → U.Nonempty → ∃ u ∈ U, s ⊆ u
theorem IsCompact.elim_finite_subcover E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {ι : Type v},
IsCompact s → ∀ (U : ι → Set X), (∀ (i : ι), IsOpen (U i)) → s ⊆ ⋃ i, U i → ∃ t, s ⊆ ⋃ i ∈ t, U i
For every open cover of a compact set, there exists a finite subcover.
theorem IsCompact.elim_nhds_subcover_nhdsSet' E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s →
∀ (U : (x : X) → x ∈ s → Set X), (∀ (x : X) (hx : x ∈ s), U x hx ∈ nhds x) → ∃ t, ⋃ x ∈ t, U ↑x ⋯ ∈ nhdsSet s
theorem IsCompact.elim_nhds_subcover_nhdsSet E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ {U : X → Set X}, (∀ x ∈ s, U x ∈ nhds x) → ∃ t, (∀ x ∈ t, x ∈ s) ∧ ⋃ x ∈ t, U x ∈ nhdsSet s
theorem IsCompact.elim_nhds_subcover' E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ (U : (x : X) → x ∈ s → Set X), (∀ (x : X) (hx : x ∈ s), U x hx ∈ nhds x) → ∃ t, s ⊆ ⋃ x ∈ t, U ↑x ⋯
theorem IsCompact.elim_nhds_subcover E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ (U : X → Set X), (∀ x ∈ s, U x ∈ nhds x) → ∃ t, (∀ x ∈ t, x ∈ s) ∧ s ⊆ ⋃ x ∈ t, U x
theorem IsCompact.elim_nhdsWithin_subcover' E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s →
∀ (U : (x : X) → x ∈ s → Set X), (∀ (x : X) (hx : x ∈ s), U x hx ∈ nhdsWithin x s) → ∃ t, s ⊆ ⋃ x ∈ t, U ↑x ⋯
theorem IsCompact.elim_nhdsWithin_subcover E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → ∀ (U : X → Set X), (∀ x ∈ s, U x ∈ nhdsWithin x s) → ∃ t, (∀ x ∈ t, x ∈ s) ∧ s ⊆ ⋃ x ∈ t, U x
theorem IsCompact.disjoint_nhdsSet_left E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {l : Filter X},
IsCompact s → (Disjoint (nhdsSet s) l ↔ ∀ x ∈ s, Disjoint (nhds x) l)
The neighborhood filter of a compact set is disjoint with a filter l if and only if the
neighborhood filter of each point of this set is disjoint with l.
theorem IsCompact.disjoint_nhdsSet_right E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {l : Filter X},
IsCompact s → (Disjoint l (nhdsSet s) ↔ ∀ x ∈ s, Disjoint l (nhds x))
A filter l is disjoint with the neighborhood filter of a compact set if and only if it is
disjoint with the neighborhood filter of each point of this set.
theorem IsCompact.elim_directed_family_closed E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {ι : Type v} [Nonempty ι],
IsCompact s →
∀ (t : ι → Set X),
(∀ (i : ι), IsClosed (t i)) → Disjoint s (⋂ i, t i) → Directed (fun x1 x2 ↦ x1 ⊇ x2) t → ∃ i, Disjoint s (t i)
For every directed family of closed sets whose intersection is disjoint from a compact set, there exists a single element of the family which itself is disjoint from this compact set.
theorem IsCompact.elim_finite_subfamily_closed E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {ι : Type v},
IsCompact s → ∀ (t : ι → Set X), (∀ (i : ι), IsClosed (t i)) → Disjoint s (⋂ i, t i) → ∃ u, Disjoint s (⋂ i ∈ u, t i)
For every family of closed sets whose intersection is disjoint from a compact set, there exists a finite subfamily whose intersection is disjoint from this compact set.
theorem IsCompact.inter_iInter_nonempty E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} {ι : Type v},
IsCompact s →
∀ (t : ι → Set X),
(∀ (i : ι), IsClosed (t i)) → (∀ (u : Finset ι), (s ∩ ⋂ i ∈ u, t i).Nonempty) → (s ∩ ⋂ i, t i).Nonempty
To show that a compact set intersects the intersection of a family of closed sets, it is sufficient to show that it intersects every finite subfamily.
theorem IsCompact.nonempty_inter_sInter E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s →
∀ {t : Set (Set X)}, (∀ a ∈ t, IsClosed a) → (∀ a ⊆ t, a.Finite → (s ∩ ⋂₀ a).Nonempty) → (s ∩ ⋂₀ t).Nonempty
theorem CompactSpace.nonempty_sInter E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] {s : Set (Set X)},
(∀ t ∈ s, IsClosed t) → (∀ t ⊆ s, t.Finite → (⋂₀ t).Nonempty) → (⋂₀ s).Nonempty
theorem IsCompact.nonempty_iInter_of_directed_nonempty_isCompact_isClosed E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {ι : Type v} [hι : Nonempty ι] (t : ι → Set X),
Directed (fun x1 x2 ↦ x1 ⊇ x2) t →
(∀ (i : ι), (t i).Nonempty) → (∀ (i : ι), IsCompact (t i)) → (∀ (i : ι), IsClosed (t i)) → (⋂ i, t i).Nonempty
Cantor's intersection theorem for iInter:
the intersection of a directed family of nonempty compact closed sets is nonempty.
theorem IsCompact.nonempty_sInter_of_directed_nonempty_isCompact_isClosed E3 #
∀ {X : Type u} [inst : TopologicalSpace X] {S : Set (Set X)} [hS : Nonempty ↑S],
DirectedOn (fun x1 x2 ↦ x1 ⊇ x2) S →
(∀ U ∈ S, U.Nonempty) → (∀ U ∈ S, IsCompact U) → (∀ U ∈ S, IsClosed U) → (⋂₀ S).Nonempty
Cantor's intersection theorem for sInter:
the intersection of a directed family of nonempty compact closed sets is nonempty.
theorem IsCompact.nonempty_iInter_of_sequence_nonempty_isCompact_isClosed E1 #
∀ {X : Type u} [inst : TopologicalSpace X] (t : ℕ → Set X),
(∀ (i : ℕ), t (i + 1) ⊆ t i) →
(∀ (i : ℕ), (t i).Nonempty) → IsCompact (t 0) → (∀ (i : ℕ), IsClosed (t i)) → (⋂ i, t i).Nonempty
Cantor's intersection theorem for sequences indexed by ℕ:
the intersection of a decreasing sequence of nonempty compact closed sets is nonempty.
theorem IsCompact.elim_finite_subcover_image E1 #
∀ {X : Type u} {ι : Type u_1} [inst : TopologicalSpace X] {s : Set X} {b : Set ι} {c : ι → Set X},
IsCompact s → (∀ i ∈ b, IsOpen (c i)) → s ⊆ ⋃ i ∈ b, c i → ∃ b' ⊆ b, b'.Finite ∧ s ⊆ ⋃ i ∈ b', c i
For every open cover of a compact set, there exists a finite subcover.
theorem isCompact_of_finite_subcover E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
(∀ {ι : Type u} (U : ι → Set X), (∀ (i : ι), IsOpen (U i)) → s ⊆ ⋃ i, U i → ∃ t, s ⊆ ⋃ i ∈ t, U i) → IsCompact s
A set s is compact if for every open cover of s, there exists a finite subcover.
theorem isCompact_of_finite_subfamily_closed E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
(∀ {ι : Type u} (t : ι → Set X),
(∀ (i : ι), IsClosed (t i)) → Disjoint s (⋂ i, t i) → ∃ u, Disjoint s (⋂ i ∈ u, t i)) →
IsCompact s
A set s is compact if for every family of closed sets whose intersection is disjoint from s,
there exists a finite subfamily whose intersection is disjoint from s.
theorem isCompact_iff_finite_subcover E3 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s ↔ ∀ {ι : Type u} (U : ι → Set X), (∀ (i : ι), IsOpen (U i)) → s ⊆ ⋃ i, U i → ∃ t, s ⊆ ⋃ i ∈ t, U i
A set s is compact if and only if
for every open cover of s, there exists a finite subcover.
theorem isCompact_iff_finite_subfamily_closed E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s ↔
∀ {ι : Type u} (t : ι → Set X), (∀ (i : ι), IsClosed (t i)) → Disjoint s (⋂ i, t i) → ∃ u, Disjoint s (⋂ i ∈ u, t i)
A set s is compact if and only if for every family of closed sets whose intersection is
disjoint from s, there exists a finite subfamily whose intersection is disjoint from s.
theorem IsCompact.mem_nhdsSet_prod_of_forall E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {K : Set X} {Y : Type u_2} {l : Filter Y} {s : Set (X × Y)},
IsCompact K → (∀ x ∈ K, s ∈ nhds x ×ˢ l) → s ∈ nhdsSet K ×ˢ l
If s : Set (X × Y) belongs to 𝓝 x ×ˢ l for all x from a compact set K,
then it belongs to (𝓝ˢ K) ×ˢ l,
i.e., there exist an open U ⊇ K and t ∈ l such that U ×ˢ t ⊆ s.
theorem IsCompact.nhdsSet_prod_eq_biSup E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {K : Set X},
IsCompact K → ∀ {Y : Type u_2} (l : Filter Y), nhdsSet K ×ˢ l = ⨆ x ∈ K, nhds x ×ˢ l
theorem IsCompact.prod_nhdsSet_eq_biSup E1 #
∀ {Y : Type v} [inst : TopologicalSpace Y] {K : Set Y},
IsCompact K → ∀ {X : Type u_2} (l : Filter X), l ×ˢ nhdsSet K = ⨆ y ∈ K, l ×ˢ nhds y
theorem IsCompact.mem_prod_nhdsSet_of_forall E0 #
∀ {Y : Type v} [inst : TopologicalSpace Y] {K : Set Y} {X : Type u_2} {l : Filter X} {s : Set (X × Y)},
IsCompact K → (∀ y ∈ K, s ∈ l ×ˢ nhds y) → s ∈ l ×ˢ nhdsSet K
If s : Set (X × Y) belongs to l ×ˢ 𝓝 y for all y from a compact set K,
then it belongs to l ×ˢ (𝓝ˢ K),
i.e., there exist t ∈ l and an open U ⊇ K such that t ×ˢ U ⊆ s.
theorem IsCompact.nhdsSet_inf_eq_biSup E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {K : Set X},
IsCompact K → ∀ (l : Filter X), nhdsSet K ⊓ l = ⨆ x ∈ K, nhds x ⊓ l
theorem IsCompact.inf_nhdsSet_eq_biSup E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {K : Set X},
IsCompact K → ∀ (l : Filter X), l ⊓ nhdsSet K = ⨆ x ∈ K, l ⊓ nhds x
theorem IsCompact.mem_nhdsSet_inf_of_forall E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {K : Set X} {l : Filter X} {s : Set X},
IsCompact K → (∀ x ∈ K, s ∈ nhds x ⊓ l) → s ∈ nhdsSet K ⊓ l
If s : Set X belongs to 𝓝 x ⊓ l for all x from a compact set K,
then it belongs to (𝓝ˢ K) ⊓ l,
i.e., there exist an open U ⊇ K and T ∈ l such that U ∩ T ⊆ s.
theorem IsCompact.mem_inf_nhdsSet_of_forall E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {K : Set X} {l : Filter X} {s : Set X},
IsCompact K → (∀ y ∈ K, s ∈ l ⊓ nhds y) → s ∈ l ⊓ nhdsSet K
If s : Set S belongs to l ⊓ 𝓝 x for all x from a compact set K,
then it belongs to l ⊓ (𝓝ˢ K),
i.e., there exist T ∈ l and an open U ⊇ K such that T ∩ U ⊆ s.
theorem IsCompact.eventually_forall_of_forall_eventually E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x₀ : X} {K : Set Y},
IsCompact K →
∀ {P : X → Y → Prop}, (∀ y ∈ K, ∀ᶠ (z : X × Y) in nhds (x₀, y), P z.1 z.2) → ∀ᶠ (x : X) in nhds x₀, ∀ y ∈ K, P x y
To show that ∀ y ∈ K, P x y holds for x close enough to x₀ when K is compact,
it is sufficient to show that for all y₀ ∈ K there P x y holds for (x, y) close enough
to (x₀, y₀).
Provided for backwards compatibility,
see IsCompact.mem_prod_nhdsSet_of_forall for a stronger statement.
theorem isCompact_empty E1 #
∀ {X : Type u} [inst : TopologicalSpace X], IsCompact ∅
theorem isCompact_singleton E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {x : X}, IsCompact {x}
theorem Set.Subsingleton.isCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, s.Subsingleton → IsCompact s
theorem Set.Finite.isCompact_biUnion E1 #
∀ {X : Type u} {ι : Type u_1} [inst : TopologicalSpace X] {s : Set ι} {f : ι → Set X},
s.Finite → (∀ i ∈ s, IsCompact (f i)) → IsCompact (⋃ i ∈ s, f i)
theorem Finset.isCompact_biUnion E1 #
∀ {X : Type u} {ι : Type u_1} [inst : TopologicalSpace X] (s : Finset ι) {f : ι → Set X},
(∀ i ∈ s, IsCompact (f i)) → IsCompact (⋃ i ∈ s, f i)
theorem isCompact_accumulate E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {K : ℕ → Set X},
(∀ (n : ℕ), IsCompact (K n)) → ∀ (n : ℕ), IsCompact (Set.accumulate K n)
theorem Set.Finite.isCompact_sUnion E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {S : Set (Set X)}, S.Finite → (∀ s ∈ S, IsCompact s) → IsCompact (⋃₀ S)
theorem isCompact_iUnion E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {ι : Sort u_2} {f : ι → Set X} [Finite ι],
(∀ (i : ι), IsCompact (f i)) → IsCompact (⋃ i, f i)
theorem Set.Finite.isCompact E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, s.Finite → IsCompact s
theorem Set.sUnion_isCompact_eq_univ E0 #
∀ {X : Type u} [inst : TopologicalSpace X], ⋃₀ {s | IsCompact s} = Set.univ
theorem IsCompact.finite_of_discrete E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} [DiscreteTopology X], IsCompact s → s.Finite
theorem isCompact_iff_finite E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} [DiscreteTopology X], IsCompact s ↔ s.Finite
theorem IsCompact.union E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s t : Set X}, IsCompact s → IsCompact t → IsCompact (s ∪ t)
theorem IsCompact.insert E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, IsCompact s → ∀ (a : X), IsCompact (insert a s)
theorem exists_subset_nhds_of_isCompact' E1 #
∀ {X : Type u} {ι : Type u_1} [inst : TopologicalSpace X] [Nonempty ι] {V : ι → Set X},
Directed (fun x1 x2 ↦ x1 ⊇ x2) V →
(∀ (i : ι), IsCompact (V i)) → (∀ (i : ι), IsClosed (V i)) → ∀ {U : Set X}, U ∈ nhdsSet (⋂ i, V i) → ∃ i, V i ⊆ U
If V : ι → Set X is a decreasing family of closed compact sets then any neighborhood of
⋂ i, V i contains some V i. We assume each V i is compact and closed because X is
not assumed to be Hausdorff. See exists_subset_nhds_of_isCompact for a version assuming this.
theorem isCompact_generateFrom E3 #
∀ {X : Type u} [T : TopologicalSpace X] {S : Set (Set X)},
T = TopologicalSpace.generateFrom S → ∀ {s : Set X}, (∀ P ⊆ S, s ⊆ ⋃₀ P → ∃ Q ⊆ P, Q.Finite ∧ s ⊆ ⋃₀ Q) → IsCompact s
Alexander's subbasis theorem. Suppose X is a topological space with a subbasis S and s is
a subset of X. Then s is compact if for any open cover of s with all elements taken from S,
there is a finite subcover.
theorem isCompact_generateFrom' E1 #
∀ {X : Type u} [T : TopologicalSpace X] {S : Set (Set X)},
T = TopologicalSpace.generateFrom S →
∀ {s : Set X}, (∀ (ι : Type u) (U : ι → ↑S), s ⊆ ⋃ i, ↑(U i) → ∃ J, J.Finite ∧ s ⊆ ⋃ i ∈ J, ↑(U i)) → IsCompact s
theorem Filter.hasBasis_cocompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X], (Filter.cocompact X).HasBasis IsCompact compl
theorem Filter.mem_cocompact E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, s ∈ Filter.cocompact X ↔ ∃ t, IsCompact t ∧ tᶜ ⊆ s
theorem Filter.mem_cocompact' E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, s ∈ Filter.cocompact X ↔ ∃ t, IsCompact t ∧ sᶜ ⊆ t
theorem IsCompact.compl_mem_cocompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, IsCompact s → sᶜ ∈ Filter.cocompact X
theorem Filter.cocompact_le_cofinite E1 #
∀ {X : Type u} [inst : TopologicalSpace X], Filter.cocompact X ≤ Filter.cofinite
theorem Filter.cocompact_eq_cofinite E1 #
∀ (X : Type u_2) [inst : TopologicalSpace X] [DiscreteTopology X], Filter.cocompact X = Filter.cofinite
theorem Filter.disjoint_cocompact_left E1 #
∀ {X : Type u} [inst : TopologicalSpace X] (f : Filter X), Disjoint (Filter.cocompact X) f ↔ ∃ K ∈ f, IsCompact K
A filter is disjoint from the cocompact filter if and only if it contains a compact set.
theorem Filter.disjoint_cocompact_right E1 #
∀ {X : Type u} [inst : TopologicalSpace X] (f : Filter X), Disjoint f (Filter.cocompact X) ↔ ∃ K ∈ f, IsCompact K
A filter is disjoint from the cocompact filter if and only if it contains a compact set.
theorem Filter.Tendsto.isCompact_insert_range_of_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y} {y : Y},
Filter.Tendsto f (Filter.cocompact X) (nhds y) → Continuous f → IsCompact (insert y (Set.range f))
theorem Filter.Tendsto.isCompact_insert_range_of_cofinite E1 #
∀ {X : Type u} {ι : Type u_1} [inst : TopologicalSpace X] {f : ι → X} {x : X},
Filter.Tendsto f Filter.cofinite (nhds x) → IsCompact (insert x (Set.range f))
theorem Filter.Tendsto.isCompact_insert_range E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {f : ℕ → X} {x : X},
Filter.Tendsto f Filter.atTop (nhds x) → IsCompact (insert x (Set.range f))
theorem Filter.hasBasis_coclosedCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X], (Filter.coclosedCompact X).HasBasis (fun s ↦ IsClosed s ∧ IsCompact s) compl
theorem Filter.mem_coclosedCompact_iff E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, s ∈ Filter.coclosedCompact X ↔ IsCompact (closure sᶜ)
A set belongs to coclosedCompact if and only if the closure of its complement is compact.
theorem Filter.compl_mem_coclosedCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, sᶜ ∈ Filter.coclosedCompact X ↔ IsCompact (closure s)
Complement of a set belongs to coclosedCompact if and only if its closure is compact.
theorem Filter.cocompact_le_coclosedCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X], Filter.cocompact X ≤ Filter.coclosedCompact X
theorem IsCompact.compl_mem_coclosedCompact_of_isClosed E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, IsCompact s → IsClosed s → sᶜ ∈ Filter.coclosedCompact X
def Bornology.inCompact E1 #
(X : Type u) → [TopologicalSpace X] → Bornology X
Sets that are contained in a compact set form a bornology. Its cobounded filter is
Filter.cocompact. See also Bornology.relativelyCompact the bornology of sets with compact
closure.
theorem Bornology.inCompact.isBounded_iff E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, Bornology.IsBounded s ↔ ∃ t, IsCompact t ∧ s ⊆ t
theorem Bornology.isBounded_image_of_isLocallyBounded_of_isCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : Bornology Y] {s : Set X},
IsCompact s → ∀ {f : X → Y}, (∀ (x : X), ∃ t ∈ nhds x, Bornology.IsBounded (f '' t)) → Bornology.IsBounded (f '' s)
A locally bounded function maps a compact set to a bounded set.
theorem IsCompact.nhdsSet_prod_eq E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {t : Set Y},
IsCompact s → IsCompact t → nhdsSet (s ×ˢ t) = nhdsSet s ×ˢ nhdsSet t
If s and t are compact sets, then the set neighborhoods filter of s ×ˢ t
is the product of set neighborhoods filters for s and t.
For general sets, only the ≤ inequality holds, see nhdsSet_prod_le.
theorem nhdsSet_prod_le_of_disjoint_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {f : Filter Y},
IsCompact s → Disjoint f (Filter.cocompact Y) → nhdsSet s ×ˢ f ≤ nhdsSet (s ×ˢ Set.univ)
theorem prod_nhdsSet_le_of_disjoint_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {t : Set Y} {f : Filter X},
IsCompact t → Disjoint f (Filter.cocompact X) → f ×ˢ nhdsSet t ≤ nhdsSet (Set.univ ×ˢ t)
theorem nhds_prod_le_of_disjoint_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : Filter Y} (x : X),
Disjoint f (Filter.cocompact Y) → nhds x ×ˢ f ≤ nhdsSet ({x} ×ˢ Set.univ)
theorem prod_nhds_le_of_disjoint_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : Filter X} (y : Y),
Disjoint f (Filter.cocompact X) → f ×ˢ nhds y ≤ nhdsSet (Set.univ ×ˢ {y})
theorem generalized_tube_lemma E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X},
IsCompact s →
∀ {t : Set Y},
IsCompact t → ∀ {n : Set (X × Y)}, IsOpen n → s ×ˢ t ⊆ n → ∃ u v, IsOpen u ∧ IsOpen v ∧ s ⊆ u ∧ t ⊆ v ∧ u ×ˢ v ⊆ n
If s and t are compact sets and n is an open neighborhood of s × t, then there exist
open neighborhoods u ⊇ s and v ⊇ t such that u × v ⊆ n.
See also IsCompact.nhdsSet_prod_eq.
theorem IsCompact.nhdsSetWithin_prod_eq E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s s' : Set X} {t t' : Set Y},
IsCompact s → IsCompact t → nhdsSetWithin (s ×ˢ t) (s' ×ˢ t') = nhdsSetWithin s s' ×ˢ nhdsSetWithin t t'
A relative version of IsCompact.nhdsSet_prod_eq: if s and t are compact sets,
then the neighborhoods filter of s ×ˢ t within s' ×ˢ t' is the product of the neighborhoods
filters of s and t within s' and t'.
For general sets, only the ≤ inequality holds, see nhdsSetWithin_prod_le.
theorem generalized_tube_lemma' E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s s' : Set X},
IsCompact s →
∀ {t t' : Set Y},
IsCompact t →
∀ {n : Set (X × Y)},
n ∈ nhdsSetWithin (s ×ˢ t) (s' ×ˢ t') → ∃ u ∈ nhdsSetWithin s s', ∃ v ∈ nhdsSetWithin t t', u ×ˢ v ⊆ n
A variant of generalized_tube_lemma in terms of nhdsSetWithin.
theorem generalized_tube_lemma_left E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s s' : Set X},
IsCompact s →
∀ {t : Set Y},
IsCompact t → ∀ {n : Set (X × Y)}, n ∈ nhdsSetWithin (s ×ˢ t) (s' ×ˢ t) → ∃ u ∈ nhdsSetWithin s s', u ×ˢ t ⊆ n
A variant of generalized_tube_lemma that only replaces the set in one direction.
theorem generalized_tube_lemma_right E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X},
IsCompact s →
∀ {t t' : Set Y},
IsCompact t → ∀ {n : Set (X × Y)}, n ∈ nhdsSetWithin (s ×ˢ t) (s ×ˢ t') → ∃ u ∈ nhdsSetWithin t t', s ×ˢ u ⊆ n
A variant of generalized_tube_lemma that only replaces the set in one direction.
instance Subsingleton.compactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] [Subsingleton X], CompactSpace X
theorem isCompact_univ_iff E0 #
∀ {X : Type u} [inst : TopologicalSpace X], IsCompact Set.univ ↔ CompactSpace X
theorem isCompact_univ E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [h : CompactSpace X], IsCompact Set.univ
theorem exists_clusterPt_of_compactSpace E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] (f : Filter X) [f.NeBot], ∃ x, ClusterPt x f
theorem Ultrafilter.le_nhds_lim E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] (F : Ultrafilter X), ↑F ≤ nhds F.lim
theorem CompactSpace.elim_nhds_subcover E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] (U : X → Set X),
(∀ (x : X), U x ∈ nhds x) → ∃ t, ⋃ x ∈ t, U x = ⊤
theorem compactSpace_of_finite_subfamily_closed E1 #
∀ {X : Type u} [inst : TopologicalSpace X],
(∀ {ι : Type u} (t : ι → Set X), (∀ (i : ι), IsClosed (t i)) → ⋂ i, t i = ∅ → ∃ u, ⋂ i ∈ u, t i = ∅) → CompactSpace X
theorem CompactSpace.iInter_nonempty E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {ι : Type v} [CompactSpace X] {t : ι → Set X},
(∀ (i : ι), IsClosed (t i)) → (∀ (s : Finset ι), (⋂ i ∈ s, t i).Nonempty) → (⋂ i, t i).Nonempty
Given a family of closed sets t i in a compact space, if they satisfy the Finite Intersection
Property, then the intersection of all t i is nonempty.
theorem compactSpace_generateFrom E1 #
∀ {X : Type u} [T : TopologicalSpace X] {S : Set (Set X)},
T = TopologicalSpace.generateFrom S →
(∀ P ⊆ S, ⋃₀ P = Set.univ → ∃ Q ⊆ P, Q.Finite ∧ ⋃₀ Q = Set.univ) → CompactSpace X
The CompactSpace version of Alexander's subbasis theorem. If X is a topological space with a
subbasis S, then X is compact if for any open cover of X all of whose elements belong to S,
there is a finite subcover.
theorem compactSpace_generateFrom' E1 #
∀ {X : Type u} [T : TopologicalSpace X] {S : Set (Set X)},
T = TopologicalSpace.generateFrom S →
(∀ (ι : Type u) (U : ι → ↑S), ⋃ i, ↑(U i) = Set.univ → ∃ J, J.Finite ∧ ⋃ i ∈ J, ↑(U i) = Set.univ) → CompactSpace X
theorem compactSpace_generateFrom_of_compl_mem E1 #
∀ {X : Type u} [T : TopologicalSpace X] (𝔅 : Set (Set X)),
T = TopologicalSpace.generateFrom 𝔅 →
(∀ s ∈ 𝔅, sᶜ ∈ 𝔅) → (∀ P ⊆ 𝔅, (∀ Q ⊆ P, Q.Finite → (⋂₀ Q).Nonempty) → (⋂₀ P).Nonempty) → CompactSpace X
theorem IsClosed.isCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} [CompactSpace X], IsClosed s → IsCompact s
theorem le_nhds_of_unique_clusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] {l : Filter X} {y : X},
(∀ (x : X), ClusterPt x l → x = y) → l ≤ nhds y
If a filter has a unique cluster point y in a compact topological space,
then the filter is less than or equal to 𝓝 y.
theorem tendsto_nhds_of_unique_mapClusterPt E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] {Y : Type u_2} {l : Filter Y} {y : X} {f : Y → X},
(∀ (x : X), MapClusterPt x l f → x = y) → Filter.Tendsto f l (nhds y)
If y is a unique MapClusterPt for f along l
and the codomain of f is a compact space,
then f tends to 𝓝 y along l.
theorem noncompact_univ E1 #
∀ (X : Type u_2) [inst : TopologicalSpace X] [NoncompactSpace X], ¬IsCompact Set.univ
theorem IsCompact.ne_univ E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} [NoncompactSpace X], IsCompact s → s ≠ Set.univ
instance instNeBotCocompactOfNoncompactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] [NoncompactSpace X], (Filter.cocompact X).NeBot
theorem Filter.cocompact_eq_bot E0 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X], Filter.cocompact X = ⊥
instance instNeBotCoclosedCompactOfNoncompactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] [NoncompactSpace X], (Filter.coclosedCompact X).NeBot
theorem noncompactSpace_of_neBot E1 #
∀ {X : Type u} [inst : TopologicalSpace X], (Filter.cocompact X).NeBot → NoncompactSpace X
theorem Filter.cocompact_neBot_iff E0 #
∀ {X : Type u} [inst : TopologicalSpace X], (Filter.cocompact X).NeBot ↔ NoncompactSpace X
theorem not_compactSpace_iff E0 #
∀ {X : Type u} [inst : TopologicalSpace X], ¬CompactSpace X ↔ NoncompactSpace X
instance instNoncompactSpaceInt E0 #
NoncompactSpace ℤ
theorem finite_of_compact_of_discrete E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] [DiscreteTopology X], Finite X
A compact discrete space is finite.
theorem Set.Infinite.exists_accPt_cofinite_inf_principal_of_subset_isCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s K : Set X},
s.Infinite → IsCompact K → s ⊆ K → ∃ x ∈ K, AccPt x (Filter.cofinite ⊓ Filter.principal s)
theorem Set.Infinite.exists_accPt_of_subset_isCompact E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s K : Set X},
s.Infinite → IsCompact K → s ⊆ K → ∃ x ∈ K, AccPt x (Filter.principal s)
theorem Set.Infinite.exists_accPt_cofinite_inf_principal E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} [CompactSpace X],
s.Infinite → ∃ x, AccPt x (Filter.cofinite ⊓ Filter.principal s)
theorem Set.Infinite.exists_accPt_principal E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X} [CompactSpace X], s.Infinite → ∃ x, AccPt x (Filter.principal s)
theorem exists_nhds_ne_neBot E1 #
∀ (X : Type u_2) [inst : TopologicalSpace X] [CompactSpace X] [Infinite X], ∃ z, (nhdsWithin z {z}ᶜ).NeBot
theorem finite_cover_nhds_interior E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] {U : X → Set X},
(∀ (x : X), U x ∈ nhds x) → ∃ t, ⋃ x ∈ t, interior (U x) = Set.univ
theorem finite_cover_nhds E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] {U : X → Set X},
(∀ (x : X), U x ∈ nhds x) → ∃ t, ⋃ x ∈ t, U x = Set.univ
theorem Filter.comap_cocompact_le E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
Continuous f → Filter.comap f (Filter.cocompact Y) ≤ Filter.cocompact X
The comap of the cocompact filter on Y by a continuous function f : X → Y is less than or
equal to the cocompact filter on X.
This is a reformulation of the fact that images of compact sets are compact.
theorem disjoint_map_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {g : X → Y} {f : Filter X},
Continuous g → Disjoint f (Filter.cocompact X) → Disjoint (Filter.map g f) (Filter.cocompact Y)
If a filter is disjoint from the cocompact filter, so is its image under any continuous function.
theorem isCompact_range E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [CompactSpace X] {f : X → Y},
Continuous f → IsCompact (Set.range f)
theorem Function.Surjective.compactSpace E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
Continuous f → ∀ [CompactSpace X], Function.Surjective f → CompactSpace Y
theorem isCompact_diagonal E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X], IsCompact (Set.diagonal X)
theorem exists_subset_nhds_of_compactSpace E1 #
∀ {X : Type u} {ι : Type u_1} [inst : TopologicalSpace X] [CompactSpace X] [Nonempty ι] {V : ι → Set X},
Directed (fun x1 x2 ↦ x1 ⊇ x2) V → (∀ (i : ι), IsClosed (V i)) → ∀ {U : Set X}, U ∈ nhdsSet (⋂ i, V i) → ∃ i, V i ⊆ U
theorem Topology.IsInducing.isCompact_iff E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {f : X → Y},
Topology.IsInducing f → (IsCompact s ↔ IsCompact (f '' s))
If f : X → Y is an inducing map, the image f '' s of a set s is compact
if and only if s is compact.
theorem Topology.IsEmbedding.isCompact_iff E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {f : X → Y},
Topology.IsEmbedding f → (IsCompact s ↔ IsCompact (f '' s))
If f : X → Y is an embedding, the image f '' s of a set s is compact
if and only if s is compact.
theorem Topology.IsInducing.isCompact_preimage E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
Topology.IsInducing f → IsClosed (Set.range f) → ∀ {K : Set Y}, IsCompact K → IsCompact (f ⁻¹' K)
The preimage of a compact set under an inducing map is a compact set.
theorem Topology.IsInducing.isCompact_preimage_iff E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
Topology.IsInducing f → ∀ {K : Set Y}, K ⊆ Set.range f → (IsCompact (f ⁻¹' K) ↔ IsCompact K)
theorem Topology.IsInducing.isCompact_preimage' E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
Topology.IsInducing f → ∀ {K : Set Y}, IsCompact K → K ⊆ Set.range f → IsCompact (f ⁻¹' K)
The preimage of a compact set in the image of an inducing map is compact.
theorem Topology.IsClosedEmbedding.isCompact_preimage E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
Topology.IsClosedEmbedding f → ∀ {K : Set Y}, IsCompact K → IsCompact (f ⁻¹' K)
The preimage of a compact set under a closed embedding is a compact set.
theorem Topology.IsClosedEmbedding.tendsto_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
Topology.IsClosedEmbedding f → Filter.Tendsto f (Filter.cocompact X) (Filter.cocompact Y)
A closed embedding is proper, i.e., inverse images of compact sets are contained in compacts.
Moreover, the preimage of a compact set is compact, see IsClosedEmbedding.isCompact_preimage.
theorem Subtype.isCompact_iff E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {p : X → Prop} {s : Set { x // p x }},
IsCompact s ↔ IsCompact (Subtype.val '' s)
Sets of subtype are compact iff the image under a coercion is.
theorem isCompact_iff_isCompact_univ E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, IsCompact s ↔ IsCompact Set.univ
theorem IsCompact.elim_finite_subfamily_isClosed_subtype E1 #
∀ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X},
IsCompact s →
∀ {ι : Type u_3} (t : ι → Set X) {I : Set ι},
(∀ i ∈ I, IsClosed (Subtype.val ⁻¹' t i)) → Disjoint s (⋂ i ∈ I, t i) → ∃ u, Disjoint s (⋂ i ∈ u, t ↑i)
An elimination theorem for empty intersections of a family of sets in a compact subset which are closed in the compact subset but not necessarily in the ambient space.
theorem isCompact_iff_compactSpace E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, IsCompact s ↔ CompactSpace ↑s
theorem IsCompact.finite E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X}, IsCompact s → IsDiscrete s → s.Finite
theorem exists_nhds_ne_inf_principal_neBot E1 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Set X},
IsCompact s → s.Infinite → ∃ z ∈ s, (nhdsWithin z {z}ᶜ ⊓ Filter.principal s).NeBot
theorem Topology.IsClosedEmbedding.noncompactSpace E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [NoncompactSpace X] {f : X → Y},
Topology.IsClosedEmbedding f → NoncompactSpace Y
theorem Topology.IsClosedEmbedding.compactSpace E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [h : CompactSpace Y] {f : X → Y},
Topology.IsClosedEmbedding f → CompactSpace X
theorem IsCompact.prod E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {t : Set Y},
IsCompact s → IsCompact t → IsCompact (s ×ˢ t)
instance Finite.compactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] [Finite X], CompactSpace X
Finite topological spaces are compact.
instance instCompactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] [IndiscreteTopology X], CompactSpace X
The indiscrete topology is compact
instance ULift.compactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X], CompactSpace (ULift.{v, u} X)
instance instCompactSpaceProd E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [CompactSpace X] [CompactSpace Y],
CompactSpace (X × Y)
The product of two compact spaces is compact.
instance instCompactSpaceSum E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [CompactSpace X] [CompactSpace Y],
CompactSpace (X ⊕ Y)
The disjoint union of two compact spaces is compact.
instance instCompactSpaceSigmaOfFinite E0 #
∀ {ι : Type u_1} {X : ι → Type u_2} [Finite ι] [inst : (i : ι) → TopologicalSpace (X i)]
[∀ (i : ι), CompactSpace (X i)], CompactSpace ((i : ι) × X i)
theorem Set.isCompact_sigma E1 #
∀ {ι : Type u_1} {X : ι → Type u_2} [inst : (i : ι) → TopologicalSpace (X i)] {s : Set ι} {t : (i : ι) → Set (X i)},
s.Finite → (∀ i ∈ s, IsCompact (t i)) → IsCompact (s.sigma t)
theorem IsCompact.sigma_exists_finite_sigma_eq E0 #
∀ {ι : Type u_1} {X : ι → Type u_2} [inst : (i : ι) → TopologicalSpace (X i)] (u : Set ((i : ι) × X i)),
IsCompact u → ∃ s t, s.Finite ∧ (∀ (i : ι), IsCompact (t i)) ∧ s.sigma t = u
theorem Filter.coprod_cocompact E1 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
(Filter.cocompact X).coprod (Filter.cocompact Y) = Filter.cocompact (X × Y)
The coproduct of the cocompact filters on two topological spaces is the cocompact filter on their product.
theorem Prod.noncompactSpace_iff E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
NoncompactSpace (X × Y) ↔ NoncompactSpace X ∧ Nonempty Y ∨ Nonempty X ∧ NoncompactSpace Y
instance Prod.noncompactSpace_left E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [NoncompactSpace X] [Nonempty Y],
NoncompactSpace (X × Y)
instance Prod.noncompactSpace_right E0 #
∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [Nonempty X] [NoncompactSpace Y],
NoncompactSpace (X × Y)
theorem isCompact_pi_infinite E3 #
∀ {ι : Type u_1} {X : ι → Type u_2} [inst : (i : ι) → TopologicalSpace (X i)] {s : (i : ι) → Set (X i)},
(∀ (i : ι), IsCompact (s i)) → IsCompact {x | ∀ (i : ι), x i ∈ s i}
Tychonoff's theorem: product of compact sets is compact.
theorem isCompact_univ_pi E3 #
∀ {ι : Type u_1} {X : ι → Type u_2} [inst : (i : ι) → TopologicalSpace (X i)] {s : (i : ι) → Set (X i)},
(∀ (i : ι), IsCompact (s i)) → IsCompact (Set.univ.pi s)
Tychonoff's theorem formulated using Set.pi: product of compact sets is compact.
instance Pi.compactSpace E0 #
∀ {ι : Type u_1} {X : ι → Type u_2} [inst : (i : ι) → TopologicalSpace (X i)] [∀ (i : ι), CompactSpace (X i)],
CompactSpace ((i : ι) → X i)
instance Function.compactSpace E0 #
∀ {Y : Type v} {ι : Type u_1} [inst : TopologicalSpace Y] [CompactSpace Y], CompactSpace (ι → Y)
theorem Pi.isCompact_iff_of_isClosed E1 #
∀ {ι : Type u_1} {X : ι → Type u_2} [inst : (i : ι) → TopologicalSpace (X i)] {s : Set ((i : ι) → X i)},
IsClosed s → (IsCompact s ↔ ∀ (i : ι), IsCompact (Function.eval i '' s))
theorem Pi.exists_compact_superset_iff E0 #
∀ {ι : Type u_1} {X : ι → Type u_2} [inst : (i : ι) → TopologicalSpace (X i)] {s : Set ((i : ι) → X i)},
(∃ K, IsCompact K ∧ s ⊆ K) ↔ ∀ (i : ι), ∃ Ki, IsCompact Ki ∧ s ⊆ Function.eval i ⁻¹' Ki
theorem Filter.coprodᵢ_cocompact E2 #
∀ {ι : Type u_1} {X : ι → Type u_3} [inst : (d : ι) → TopologicalSpace (X d)],
(Filter.coprodᵢ fun d ↦ Filter.cocompact (X d)) = Filter.cocompact ((d : ι) → X d)
Tychonoff's theorem formulated in terms of filters: Filter.cocompact on an indexed product
type Π d, X d the Filter.coprodᵢ of filters Filter.cocompact on X d.
instance Quot.compactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {r : X → X → Prop} [CompactSpace X], CompactSpace (Quot r)
instance Quotient.compactSpace E0 #
∀ {X : Type u} [inst : TopologicalSpace X] {s : Setoid X} [CompactSpace X], CompactSpace (Quotient s)
theorem IsClosed.exists_minimal_nonempty_closed_subset E1 #
∀ {X : Type u} [inst : TopologicalSpace X] [CompactSpace X] {S : Set X},
IsClosed S → S.Nonempty → ∃ V ⊆ S, V.Nonempty ∧ IsClosed V ∧ ∀ V' ⊆ V, V'.Nonempty → IsClosed V' → V' = V