The areas / V13. General topology
Mathlib.Topology.UniformSpace.Cauchy
147 declarations and 3 deprecated aliases. Mathlib docs · Source
Theory of Cauchy filters in uniform spaces. Complete uniform spaces. Totally bounded subsets.
Sequentially complete space
In this section we prove that a uniform space is complete provided that it is sequentially complete
(i.e., any Cauchy sequence converges) and its uniformity filter admits a countable generating set.
In particular, this applies to (e)metric spaces, see the files
Mathlib/Topology/EMetricSpace/Basic.lean and Mathlib/Topology/MetricSpace/Basic.lean.
More precisely, we assume that there is a sequence of entourages U_n such that any other
entourage includes one of U_n. Then any Cauchy filter f generates a decreasing sequence of
sets s_n ∈ f such that s_n × s_n ⊆ U_n. Choose a sequence x_n∈s_n. It is easy to show
that this is a Cauchy sequence. If this sequence converges to some a, then f ≤ 𝓝 a.
def Cauchy E3 #
{α : Type u} → [uniformSpace : UniformSpace α] → Filter α → Prop
A filter f is Cauchy if for every entourage r, there exists an
s ∈ f such that s × s ⊆ r. This is a generalization of Cauchy
sequences, because if a : ℕ → α then the filter of sets containing
cofinitely many of the a n is Cauchy iff a is a Cauchy sequence.
def IsComplete E3 #
{α : Type u} → [uniformSpace : UniformSpace α] → Set α → Prop
A set s is called complete, if any Cauchy filter f such that s ∈ f
has a limit in s (formally, it satisfies f ≤ 𝓝 x for some x ∈ s).
theorem Filter.HasBasis.cauchy_iff E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Sort u_1} {p : ι → Prop} {s : ι → SetRel α α},
(uniformity α).HasBasis p s →
∀ {f : Filter α}, Cauchy f ↔ f.NeBot ∧ ∀ (i : ι), p i → ∃ t ∈ f, ∀ x ∈ t, ∀ y ∈ t, (x, y) ∈ s i
theorem cauchy_iff' E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α},
Cauchy f ↔ f.NeBot ∧ ∀ s ∈ uniformity α, ∃ t ∈ f, ∀ x ∈ t, ∀ y ∈ t, (x, y) ∈ s
theorem cauchy_iff E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α},
Cauchy f ↔ f.NeBot ∧ ∀ s ∈ uniformity α, ∃ t ∈ f, t ×ˢ t ⊆ s
theorem cauchy_iff_le E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {l : Filter α} [hl : l.NeBot], Cauchy l ↔ l ×ˢ l ≤ uniformity α
theorem Cauchy.ultrafilter_of E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {l : Filter α} (h : Cauchy l), Cauchy ↑(Ultrafilter.of l)
theorem cauchy_map_iff E0 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {l : Filter β} {f : β → α},
Cauchy (Filter.map f l) ↔ l.NeBot ∧ Filter.Tendsto (fun p ↦ (f p.1, f p.2)) (l ×ˢ l) (uniformity α)
theorem cauchy_map_iff' E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {l : Filter β} [hl : l.NeBot] {f : β → α},
Cauchy (Filter.map f l) ↔ Filter.Tendsto (fun p ↦ (f p.1, f p.2)) (l ×ˢ l) (uniformity α)
theorem Cauchy.mono E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f g : Filter α} [hg : g.NeBot], Cauchy f → g ≤ f → Cauchy g
theorem Cauchy.mono' E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f g : Filter α}, Cauchy f → g.NeBot → g ≤ f → Cauchy g
theorem cauchy_nhds E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {a : α}, Cauchy (nhds a)
theorem cauchy_pure E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {a : α}, Cauchy (pure a)
theorem Filter.Tendsto.cauchy_map E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {l : Filter β} [l.NeBot] {f : β → α} {a : α},
Filter.Tendsto f l (nhds a) → Cauchy (Filter.map f l)
theorem Cauchy.mono_uniformSpace E1 #
∀ {β : Type v} {u v : UniformSpace β} {F : Filter β}, u ≤ v → Cauchy F → Cauchy F
theorem cauchy_inf_uniformSpace E1 #
∀ {β : Type v} {u v : UniformSpace β} {F : Filter β}, Cauchy F ↔ Cauchy F ∧ Cauchy F
theorem cauchy_iInf_uniformSpace E1 #
∀ {β : Type v} {ι : Sort u_1} [Nonempty ι] {u : ι → UniformSpace β} {l : Filter β}, Cauchy l ↔ ∀ (i : ι), Cauchy l
theorem cauchy_iInf_uniformSpace' E1 #
∀ {β : Type v} {ι : Sort u_1} {u : ι → UniformSpace β} {l : Filter β} [l.NeBot], Cauchy l ↔ ∀ (i : ι), Cauchy l
theorem cauchy_comap_uniformSpace E1 #
∀ {β : Type v} {u : UniformSpace β} {α : Type u_1} {f : α → β} {l : Filter α}, Cauchy l ↔ Cauchy (Filter.map f l)
theorem cauchy_prod_iff E0 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {F : Filter (α × β)},
Cauchy F ↔ Cauchy (Filter.map Prod.fst F) ∧ Cauchy (Filter.map Prod.snd F)
theorem Cauchy.prod E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {f : Filter α} {g : Filter β},
Cauchy f → Cauchy g → Cauchy (f ×ˢ g)
theorem le_nhds_of_cauchy_adhp_aux E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} {x : α},
(∀ s ∈ uniformity α, ∃ t ∈ f, t ×ˢ t ⊆ s ∧ ∃ y, (x, y) ∈ s ∧ y ∈ t) → f ≤ nhds x
The common part of the proofs of le_nhds_of_cauchy_adhp and
SequentiallyComplete.le_nhds_of_seq_tendsto_nhds: if for any entourage s
one can choose a set t ∈ f of diameter s such that it contains a point y
with (x, y) ∈ s, then f converges to x.
theorem le_nhds_of_cauchy_adhp E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} {x : α}, Cauchy f → ClusterPt x f → f ≤ nhds x
If x is an adherent (cluster) point for a Cauchy filter f, then it is a limit point
for f.
theorem le_nhds_iff_adhp_of_cauchy E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} {x : α}, Cauchy f → (f ≤ nhds x ↔ ClusterPt x f)
theorem Cauchy.map E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {f : Filter α} {m : α → β},
Cauchy f → UniformContinuous m → Cauchy (Filter.map m f)
theorem Cauchy.comap E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {f : Filter β} {m : α → β},
Cauchy f →
Filter.comap (fun p ↦ (m p.1, m p.2)) (uniformity β) ≤ uniformity α →
∀ [(Filter.comap m f).NeBot], Cauchy (Filter.comap m f)
theorem Cauchy.comap' E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {f : Filter β} {m : α → β},
Cauchy f →
Filter.comap (fun p ↦ (m p.1, m p.2)) (uniformity β) ≤ uniformity α →
(Filter.comap m f).NeBot → Cauchy (Filter.comap m f)
theorem Cauchy.map_of_le E0 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {f : Filter α} {m : α → β},
Cauchy f → ∀ {s : Set α}, UniformContinuousOn m s → f ≤ Filter.principal s → Cauchy (Filter.map m f)
def CauchySeq E3 #
{α : Type u} → {β : Type v} → [uniformSpace : UniformSpace α] → [Preorder β] → (β → α) → Prop
Cauchy sequences. Usually defined on ℕ, but often it is also useful to say that a function defined on ℝ is Cauchy at +∞ to deduce convergence. Therefore, we define it in a type class that is general enough to cover both ℕ and ℝ, which are the main motivating examples.
theorem CauchySeq.tendsto_uniformity E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : Preorder β] {u : β → α},
CauchySeq u → Filter.Tendsto (Prod.map u u) Filter.atTop (uniformity α)
theorem CauchySeq.nonempty E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : Preorder β] {u : β → α}, CauchySeq u → Nonempty β
theorem CauchySeq.mem_entourage E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {β : Type u_1} [inst : SemilatticeSup β] {u : β → α},
CauchySeq u → ∀ {V : SetRel α α}, V ∈ uniformity α → ∃ k₀, ∀ (i j : β), k₀ ≤ i → k₀ ≤ j → (u i, u j) ∈ V
theorem Filter.Tendsto.cauchySeq E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : SemilatticeSup β] [Nonempty β] {f : β → α} {x : α},
Filter.Tendsto f Filter.atTop (nhds x) → CauchySeq f
theorem cauchySeq_const E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : SemilatticeSup β] [Nonempty β] (x : α),
CauchySeq fun x_1 ↦ x
theorem cauchySeq_iff_tendsto E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [Nonempty β] [inst : SemilatticeSup β] {u : β → α},
CauchySeq u ↔ Filter.Tendsto (Prod.map u u) Filter.atTop (uniformity α)
theorem CauchySeq.comp_tendsto E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {γ : Type u_1} [inst : Preorder β]
[inst_1 : SemilatticeSup γ] [Nonempty γ] {f : β → α},
CauchySeq f → ∀ {g : γ → β}, Filter.Tendsto g Filter.atTop Filter.atTop → CauchySeq (f ∘ g)
theorem CauchySeq.comp_injective E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : SemilatticeSup β] [NoMaxOrder β] [Nonempty β]
{u : ℕ → α}, CauchySeq u → ∀ {f : β → ℕ}, Function.Injective f → CauchySeq (u ∘ f)
theorem Function.Bijective.cauchySeq_comp_iff E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : ℕ → ℕ},
Function.Bijective f → ∀ (u : ℕ → α), CauchySeq (u ∘ f) ↔ CauchySeq u
theorem CauchySeq.subseq_subseq_mem E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {V : ℕ → SetRel α α},
(∀ (n : ℕ), V n ∈ uniformity α) →
∀ {u : ℕ → α},
CauchySeq u →
∀ {f g : ℕ → ℕ},
Filter.Tendsto f Filter.atTop Filter.atTop →
Filter.Tendsto g Filter.atTop Filter.atTop →
∃ φ, StrictMono φ ∧ ∀ (n : ℕ), ((u ∘ f ∘ φ) n, (u ∘ g ∘ φ) n) ∈ V n
theorem cauchySeq_iff' E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {u : ℕ → α},
CauchySeq u ↔ ∀ V ∈ uniformity α, ∀ᶠ (k : ℕ × ℕ) in Filter.atTop, k ∈ Prod.map u u ⁻¹' V
theorem cauchySeq_iff E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {u : ℕ → α},
CauchySeq u ↔ ∀ V ∈ uniformity α, ∃ N, ∀ k ≥ N, ∀ l ≥ N, (u k, u l) ∈ V
theorem CauchySeq.prodMap E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {γ : Type u_1} {δ : Type u_2} [inst : UniformSpace β]
[inst_1 : Preorder γ] [inst_2 : Preorder δ] {u : γ → α} {v : δ → β},
CauchySeq u → CauchySeq v → CauchySeq (Prod.map u v)
theorem CauchySeq.prodMk E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {γ : Type u_1} [inst : UniformSpace β] [inst_1 : Preorder γ]
{u : γ → α} {v : γ → β}, CauchySeq u → CauchySeq v → CauchySeq fun x ↦ (u x, v x)
theorem CauchySeq.eventually_eventually E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : Preorder β] {u : β → α},
CauchySeq u → ∀ {V : SetRel α α}, V ∈ uniformity α → ∀ᶠ (k : β) (l : β) in Filter.atTop, (u k, u l) ∈ V
theorem UniformContinuous.comp_cauchySeq E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {γ : Type u_1} [inst : UniformSpace β] [inst_1 : Preorder γ]
{f : α → β}, UniformContinuous f → ∀ {u : γ → α}, CauchySeq u → CauchySeq (f ∘ u)
theorem CauchySeq.subseq_mem E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {V : ℕ → SetRel α α},
(∀ (n : ℕ), V n ∈ uniformity α) →
∀ {u : ℕ → α}, CauchySeq u → ∃ φ, StrictMono φ ∧ ∀ (n : ℕ), (u (φ (n + 1)), u (φ n)) ∈ V n
theorem Filter.Tendsto.subseq_mem_entourage E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {V : ℕ → SetRel α α},
(∀ (n : ℕ), V n ∈ uniformity α) →
∀ {u : ℕ → α} {a : α},
Filter.Tendsto u Filter.atTop (nhds a) →
∃ φ, StrictMono φ ∧ (u (φ 0), a) ∈ V 0 ∧ ∀ (n : ℕ), (u (φ (n + 1)), u (φ n)) ∈ V (n + 1)
theorem tendsto_nhds_of_cauchySeq_of_subseq E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : Preorder β] {u : β → α},
CauchySeq u →
∀ {ι : Type u_1} {f : ι → β} {p : Filter ι} [p.NeBot],
Filter.Tendsto f p Filter.atTop →
∀ {a : α}, Filter.Tendsto (u ∘ f) p (nhds a) → Filter.Tendsto u Filter.atTop (nhds a)
If a Cauchy sequence has a convergent subsequence, then it converges.
theorem cauchySeq_shift E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {u : ℕ → α} (k : ℕ), (CauchySeq fun n ↦ u (n + k)) ↔ CauchySeq u
Any shift of a Cauchy sequence is also a Cauchy sequence.
theorem Filter.HasBasis.cauchySeq_iff E0 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {γ : Sort u_1} [Nonempty β] [inst : SemilatticeSup β]
{u : β → α} {p : γ → Prop} {s : γ → SetRel α α},
(uniformity α).HasBasis p s →
(CauchySeq u ↔ ∀ (i : γ), p i → ∃ N, ∀ (m : β), N ≤ m → ∀ (n : β), N ≤ n → (u m, u n) ∈ s i)
theorem Filter.HasBasis.cauchySeq_iff' E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] {γ : Sort u_1} [Nonempty β] [inst : SemilatticeSup β]
{u : β → α} {p : γ → Prop} {s : γ → SetRel α α},
(uniformity α).HasBasis p s → (CauchySeq u ↔ ∀ (i : γ), p i → ∃ N, ∀ n ≥ N, (u n, u N) ∈ s i)
theorem cauchySeq_of_controlled E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : SemilatticeSup β] [Nonempty β] (U : β → SetRel α α),
(∀ s ∈ uniformity α, ∃ n, U n ⊆ s) → ∀ {f : β → α}, (∀ ⦃N m n : β⦄, N ≤ m → N ≤ n → (f m, f n) ∈ U N) → CauchySeq f
theorem isComplete_iff_clusterPt E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
IsComplete s ↔ ∀ (l : Filter α), Cauchy l → l ≤ Filter.principal s → ∃ x ∈ s, ClusterPt x l
theorem isComplete_iff_ultrafilter E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
IsComplete s ↔ ∀ (l : Ultrafilter α), Cauchy ↑l → ↑l ≤ Filter.principal s → ∃ x ∈ s, ↑l ≤ nhds x
theorem isComplete_iff_ultrafilter' E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
IsComplete s ↔ ∀ (l : Ultrafilter α), Cauchy ↑l → s ∈ l → ∃ x ∈ s, ↑l ≤ nhds x
theorem IsComplete.union E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s t : Set α}, IsComplete s → IsComplete t → IsComplete (s ∪ t)
theorem isComplete_iUnion_separated E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Sort u_1} {s : ι → Set α},
(∀ (i : ι), IsComplete (s i)) →
∀ {U : SetRel α α},
U ∈ uniformity α → (∀ (i j : ι), ∀ x ∈ s i, ∀ y ∈ s j, (x, y) ∈ U → i = j) → IsComplete (⋃ i, s i)
class CompleteSpace E3 #
(α : Type u) → [UniformSpace α] → Prop
A complete space is defined here using uniformities. A uniform space is complete if every Cauchy filter converges.
ctor CompleteSpace.mk E0 #
∀ {α : Type u} [inst : UniformSpace α], (∀ {f : Filter α}, Cauchy f → ∃ x, f ≤ nhds x) → CompleteSpace α
theorem CompleteSpace.complete E1 #
∀ {α : Type u} {inst : UniformSpace α} [self : CompleteSpace α] {f : Filter α}, Cauchy f → ∃ x, f ≤ nhds x
In a complete uniform space, every Cauchy filter converges.
theorem isComplete_univ E1 #
∀ {α : Type u} [inst : UniformSpace α] [CompleteSpace α], IsComplete Set.univ
theorem CompleteSpace.of_comp_eq_id E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] (f : α → β) (g : β → α),
f ∘ g = id → Continuous f → UniformContinuous g → ∀ [CompleteSpace α], CompleteSpace β
instance CompleteSpace.prod E0 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] [CompleteSpace α] [CompleteSpace β],
CompleteSpace (α × β)
theorem CompleteSpace.fst_of_prod E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] [CompleteSpace (α × β)]
[h : Nonempty β], CompleteSpace α
theorem CompleteSpace.snd_of_prod E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] [CompleteSpace (α × β)]
[h : Nonempty α], CompleteSpace β
theorem completeSpace_prod_of_nonempty E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] [Nonempty α] [Nonempty β],
CompleteSpace (α × β) ↔ CompleteSpace α ∧ CompleteSpace β
theorem completeSpace_of_isComplete_univ E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α], IsComplete Set.univ → CompleteSpace α
If univ is complete, the space is a complete space
theorem completeSpace_iff_isComplete_univ E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α], CompleteSpace α ↔ IsComplete Set.univ
theorem completeSpace_iff_ultrafilter E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α], CompleteSpace α ↔ ∀ (l : Ultrafilter α), Cauchy ↑l → ∃ x, ↑l ≤ nhds x
theorem cauchy_iff_exists_le_nhds E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [CompleteSpace α] {l : Filter α} [l.NeBot], Cauchy l ↔ ∃ x, l ≤ nhds x
theorem cauchy_map_iff_exists_tendsto E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [CompleteSpace α] {l : Filter β} {f : β → α} [l.NeBot],
Cauchy (Filter.map f l) ↔ ∃ x, Filter.Tendsto f l (nhds x)
theorem cauchySeq_tendsto_of_complete E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : Preorder β] [CompleteSpace α] {u : β → α},
CauchySeq u → ∃ x, Filter.Tendsto u Filter.atTop (nhds x)
A Cauchy sequence in a complete space converges
theorem cauchySeq_tendsto_of_isComplete E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : Preorder β] {K : Set α},
IsComplete K → ∀ {u : β → α}, (∀ (n : β), u n ∈ K) → CauchySeq u → ∃ v ∈ K, Filter.Tendsto u Filter.atTop (nhds v)
If K is a complete subset, then any Cauchy sequence in K converges to a point in K
theorem Cauchy.le_nhds_lim E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [CompleteSpace α] {f : Filter α} (hf : Cauchy f), f ≤ nhds f.lim
theorem CauchySeq.tendsto_limUnder E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : Preorder β] [CompleteSpace α] {u : β → α}
(h : CauchySeq u), Filter.Tendsto u Filter.atTop (nhds (Filter.atTop.limUnder u))
theorem IsClosed.isComplete E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [CompleteSpace α] {s : Set α}, IsClosed s → IsComplete s
instance DiscreteUniformity.instCompleteSpace E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [DiscreteUniformity α], CompleteSpace α
The discrete uniformity makes a space complete.
def DiscreteUniformity.cauchyConst E1 #
{α : Type u} → [uniformSpace : UniformSpace α] → [DiscreteUniformity α] → {f : Filter α} → Cauchy f → α
A constant to which a Cauchy filter in a discrete uniform space converges.
def TotallyBounded E1 #
{α : Type u} → [uniformSpace : UniformSpace α] → Set α → Prop
A set s is totally bounded if for every entourage d there is a finite
set of points t such that every element of s is d-near to some element of t.
def Filter.TotallyBounded E1 #
{α : Type u} → [uniformSpace : UniformSpace α] → Filter α → Prop
A filter f is totally bounded if for every entourage d, the d-neighborhood of some finite
set is in f.
theorem Filter.totallyBounded_principal_iff E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, (Filter.principal s).TotallyBounded ↔ TotallyBounded s
theorem Filter.TotallyBounded.exists_subset_of_mem E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α},
f.TotallyBounded → ∀ {s : Set α}, s ∈ f → ∀ {U : SetRel α α}, U ∈ uniformity α → ∃ t ⊆ s, t.Finite ∧ U.preimage t ∈ f
theorem TotallyBounded.exists_subset E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
TotallyBounded s → ∀ {U : SetRel α α}, U ∈ uniformity α → ∃ t ⊆ s, t.Finite ∧ s ⊆ ⋃ y ∈ t, {x | (x, y) ∈ U}
theorem totallyBounded_iff_subset E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
TotallyBounded s ↔ ∀ d ∈ uniformity α, ∃ t ⊆ s, t.Finite ∧ s ⊆ ⋃ y ∈ t, {x | (x, y) ∈ d}
theorem Filter.HasBasis.totallyBounded_iff E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Sort u_1} {p : ι → Prop} {U : ι → SetRel α α},
(uniformity α).HasBasis p U →
∀ {s : Set α}, TotallyBounded s ↔ ∀ (i : ι), p i → ∃ t, t.Finite ∧ s ⊆ ⋃ y ∈ t, {x | (x, y) ∈ U i}
theorem Filter.HasBasis.filter_totallyBounded_iff E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Sort u_1} {p : ι → Prop} {U : ι → SetRel α α},
(uniformity α).HasBasis p U →
∀ {f : Filter α}, f.TotallyBounded ↔ ∀ (i : ι), p i → ∃ t, t.Finite ∧ (U i).preimage t ∈ f
theorem totallyBounded_of_forall_isSymm E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
(∀ V ∈ uniformity α, SetRel.IsSymm V → ∃ t, t.Finite ∧ s ⊆ ⋃ y ∈ t, SetRel.ball V y) → TotallyBounded s
theorem TotallyBounded.subset E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s₁ s₂ : Set α}, s₁ ⊆ s₂ → TotallyBounded s₂ → TotallyBounded s₁
theorem Filter.TotallyBounded.mono E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f g : Filter α}, f ≤ g → g.TotallyBounded → f.TotallyBounded
theorem Filter.TotallyBounded.totallyBounded_setOfPred_clusterPt E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α}, f.TotallyBounded → TotallyBounded {x | ClusterPt x f}
theorem TotallyBounded.closure E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, TotallyBounded s → TotallyBounded (closure s)
The closure of a totally bounded set is totally bounded.
theorem totallyBounded_closure E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, TotallyBounded (closure s) ↔ TotallyBounded s
theorem Filter.totallyBounded_iSup E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Sort u_1} [Finite ι] {f : ι → Filter α},
(⨆ i, f i).TotallyBounded ↔ ∀ (i : ι), (f i).TotallyBounded
theorem Filter.totallyBounded_biSup E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Type u_1} {I : Set ι},
I.Finite → ∀ {f : ι → Filter α}, (⨆ i ∈ I, f i).TotallyBounded ↔ ∀ i ∈ I, (f i).TotallyBounded
theorem totallyBounded_sSup E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {S : Set (Filter α)},
S.Finite → ((sSup S).TotallyBounded ↔ ∀ f ∈ S, f.TotallyBounded)
theorem totallyBounded_iUnion E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Sort u_1} [Finite ι] {s : ι → Set α},
TotallyBounded (⋃ i, s i) ↔ ∀ (i : ι), TotallyBounded (s i)
A finite indexed union is totally bounded if and only if each set of the family is totally bounded.
theorem totallyBounded_biUnion E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {ι : Type u_1} {I : Set ι},
I.Finite → ∀ {s : ι → Set α}, TotallyBounded (⋃ i ∈ I, s i) ↔ ∀ i ∈ I, TotallyBounded (s i)
A union indexed by a finite set is totally bounded if and only if each set of the family is totally bounded.
theorem totallyBounded_sUnion E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {S : Set (Set α)},
S.Finite → (TotallyBounded (⋃₀ S) ↔ ∀ s ∈ S, TotallyBounded s)
A union of a finite family of sets is totally bounded if and only if each set of the family is totally bounded.
theorem Set.Finite.totallyBounded E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, s.Finite → TotallyBounded s
A finite set is totally bounded.
theorem Set.Subsingleton.totallyBounded E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, s.Subsingleton → TotallyBounded s
A subsingleton is totally bounded.
theorem totallyBounded_singleton E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] (a : α), TotallyBounded {a}
theorem totallyBounded_empty E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α], TotallyBounded ∅
theorem Filter.totallyBounded_bot E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α], ⊥.TotallyBounded
theorem totallyBounded_union E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s t : Set α},
TotallyBounded (s ∪ t) ↔ TotallyBounded s ∧ TotallyBounded t
The union of two sets is totally bounded if and only if each of the two sets is totally bounded.
theorem TotallyBounded.union E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s t : Set α},
TotallyBounded s → TotallyBounded t → TotallyBounded (s ∪ t)
The union of two totally bounded sets is totally bounded.
theorem totallyBounded_insert E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] (a : α) {s : Set α}, TotallyBounded (insert a s) ↔ TotallyBounded s
theorem TotallyBounded.insert E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] (a : α) {s : Set α}, TotallyBounded s → TotallyBounded (insert a s)
Alias of the reverse direction of totallyBounded_insert.
theorem Filter.totallyBounded_sup E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f g : Filter α},
(f ⊔ g).TotallyBounded ↔ f.TotallyBounded ∧ g.TotallyBounded
theorem Filter.TotallyBounded.sup E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f g : Filter α},
f.TotallyBounded → g.TotallyBounded → (f ⊔ g).TotallyBounded
theorem Filter.TotallyBounded.map E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {f : α → β} {g : Filter α},
g.TotallyBounded → UniformContinuous f → (Filter.map f g).TotallyBounded
theorem TotallyBounded.image E1 #
∀ {α : Type u} {β : Type v} [uniformSpace : UniformSpace α] [inst : UniformSpace β] {f : α → β} {s : Set α},
TotallyBounded s → UniformContinuous f → TotallyBounded (f '' s)
The image of a totally bounded set under a uniformly continuous map is totally bounded.
theorem Ultrafilter.cauchy_of_totallyBounded' E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] (f : Ultrafilter α), (↑f).TotallyBounded → Cauchy ↑f
theorem Ultrafilter.cauchy_of_totallyBounded E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α} (f : Ultrafilter α),
TotallyBounded s → ↑f ≤ Filter.principal s → Cauchy ↑f
theorem Filter.totallyBounded_iff_filter E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {g : Filter α},
g.TotallyBounded ↔ ∀ (f : Filter α), f.NeBot → f ≤ g → ∃ c ≤ f, Cauchy c
theorem Filter.totallyBounded_iff_ultrafilter E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {g : Filter α},
g.TotallyBounded ↔ ∀ (f : Ultrafilter α), ↑f ≤ g → Cauchy ↑f
theorem totallyBounded_iff_filter E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
TotallyBounded s ↔ ∀ (f : Filter α), f.NeBot → f ≤ Filter.principal s → ∃ c ≤ f, Cauchy c
theorem totallyBounded_iff_ultrafilter E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α},
TotallyBounded s ↔ ∀ (f : Ultrafilter α), ↑f ≤ Filter.principal s → Cauchy ↑f
theorem isCompact_iff_totallyBounded_isComplete E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, IsCompact s ↔ TotallyBounded s ∧ IsComplete s
theorem IsCompact.totallyBounded E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, IsCompact s → TotallyBounded s
theorem IsCompact.isComplete E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, IsCompact s → IsComplete s
instance complete_of_compact E0 #
∀ {α : Type u} [inst : UniformSpace α] [CompactSpace α], CompleteSpace α
theorem TotallyBounded.isCompact_of_isComplete E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : Set α}, TotallyBounded s → IsComplete s → IsCompact s
theorem TotallyBounded.isCompact_of_isClosed E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [CompleteSpace α] {s : Set α},
TotallyBounded s → IsClosed s → IsCompact s
theorem Filter.TotallyBounded.isCompact_setOfPred_clusterPt E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [CompleteSpace α] {f : Filter α},
f.TotallyBounded → IsCompact {x | ClusterPt x f}
theorem Filter.TotallyBounded.exists_clusterPt E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [CompleteSpace α] {f : Filter α} [f.NeBot],
f.TotallyBounded → ∃ x, ClusterPt x f
theorem CauchySeq.totallyBounded_range E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {s : ℕ → α}, CauchySeq s → TotallyBounded (Set.range s)
Every Cauchy sequence over ℕ is totally bounded.
def interUnionBalls E1 #
{α : Type u} → (ℕ → α) → (ℕ → ℕ) → (ℕ → SetRel α α) → Set α
Given a family of points xs n, a family of entourages V n of the diagonal and a family of
natural numbers u n, the intersection over n of the V n-neighborhood of xs 1, ..., xs (u n).
Designed to be relatively compact when V n tends to the diagonal.
theorem totallyBounded_interUnionBalls E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {p : ℕ → Prop} {U : ℕ → SetRel α α},
(uniformity α).HasBasis p U → ∀ (xs : ℕ → α) (u : ℕ → ℕ), TotallyBounded (interUnionBalls xs u U)
theorem isCompact_closure_interUnionBalls E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {p : ℕ → Prop} {U : ℕ → SetRel α α},
(uniformity α).HasBasis p U →
∀ [CompleteSpace α] (xs : ℕ → α) (u : ℕ → ℕ), IsCompact (closure (interUnionBalls xs u U))
The construction interUnionBalls is used to have a relatively compact set.
def SequentiallyComplete.setSeqAux E0 #
{α : Type u} →
[uniformSpace : UniformSpace α] →
{f : Filter α} →
Cauchy f → {U : ℕ → SetRel α α} → (∀ (n : ℕ), U n ∈ uniformity α) → (n : ℕ) → { s // s ∈ f ∧ s ×ˢ s ⊆ U n }
An auxiliary sequence of sets approximating a Cauchy filter.
def SequentiallyComplete.setSeq E1 #
{α : Type u} →
[uniformSpace : UniformSpace α] →
{f : Filter α} → Cauchy f → {U : ℕ → SetRel α α} → (∀ (n : ℕ), U n ∈ uniformity α) → ℕ → Set α
Given a Cauchy filter f and a sequence U of entourages, set_seq provides
an antitone sequence of sets s n ∈ f such that s n ×ˢ s n ⊆ U.
theorem SequentiallyComplete.setSeq_mem E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α) (n : ℕ), SequentiallyComplete.setSeq hf U_mem n ∈ f
theorem SequentiallyComplete.setSeq_mono E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α) ⦃m n : ℕ⦄,
m ≤ n → SequentiallyComplete.setSeq hf U_mem n ⊆ SequentiallyComplete.setSeq hf U_mem m
theorem SequentiallyComplete.setSeq_sub_aux E0 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α) (n : ℕ),
SequentiallyComplete.setSeq hf U_mem n ⊆ ↑(SequentiallyComplete.setSeqAux hf U_mem n)
theorem SequentiallyComplete.setSeq_prod_subset E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α) {N m n : ℕ},
N ≤ m → N ≤ n → SequentiallyComplete.setSeq hf U_mem m ×ˢ SequentiallyComplete.setSeq hf U_mem n ⊆ U N
def SequentiallyComplete.seq E1 #
{α : Type u} →
[uniformSpace : UniformSpace α] →
{f : Filter α} → Cauchy f → {U : ℕ → SetRel α α} → (∀ (n : ℕ), U n ∈ uniformity α) → ℕ → α
A sequence of points such that seq n ∈ setSeq n. Here setSeq is an antitone
sequence of sets setSeq n ∈ f with diameters controlled by a given sequence
of entourages.
theorem SequentiallyComplete.seq_mem E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α) (n : ℕ),
SequentiallyComplete.seq hf U_mem n ∈ SequentiallyComplete.setSeq hf U_mem n
theorem SequentiallyComplete.seq_pair_mem E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α) ⦃N m n : ℕ⦄,
N ≤ m → N ≤ n → (SequentiallyComplete.seq hf U_mem m, SequentiallyComplete.seq hf U_mem n) ∈ U N
theorem SequentiallyComplete.seq_is_cauchySeq E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α),
(∀ s ∈ uniformity α, ∃ n, U n ⊆ s) → CauchySeq (SequentiallyComplete.seq hf U_mem)
theorem SequentiallyComplete.le_nhds_of_seq_tendsto_nhds E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] {f : Filter α} (hf : Cauchy f) {U : ℕ → SetRel α α}
(U_mem : ∀ (n : ℕ), U n ∈ uniformity α),
(∀ s ∈ uniformity α, ∃ n, U n ⊆ s) →
∀ ⦃a : α⦄, Filter.Tendsto (SequentiallyComplete.seq hf U_mem) Filter.atTop (nhds a) → f ≤ nhds a
If the sequence SequentiallyComplete.seq converges to a, then f ≤ 𝓝 a.
theorem UniformSpace.complete_of_convergent_controlled_sequences E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [(uniformity α).IsCountablyGenerated] (U : ℕ → SetRel α α),
(∀ (n : ℕ), U n ∈ uniformity α) →
(∀ (u : ℕ → α), (∀ (N m n : ℕ), N ≤ m → N ≤ n → (u m, u n) ∈ U N) → ∃ a, Filter.Tendsto u Filter.atTop (nhds a)) →
CompleteSpace α
A uniform space is complete provided that (a) its uniformity filter has a countable basis; (b) any sequence satisfying a "controlled" version of the Cauchy condition converges.
theorem UniformSpace.complete_of_cauchySeq_tendsto E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [(uniformity α).IsCountablyGenerated],
(∀ (u : ℕ → α), CauchySeq u → ∃ a, Filter.Tendsto u Filter.atTop (nhds a)) → CompleteSpace α
A sequentially complete uniform space with a countable basis of the uniformity filter is complete.
instance UniformSpace.firstCountableTopology E0 #
∀ (α : Type u) [uniformSpace : UniformSpace α] [(uniformity α).IsCountablyGenerated], FirstCountableTopology α
instance UniformSpace.secondCountable_of_separable E0 #
∀ (α : Type u) [uniformSpace : UniformSpace α] [(uniformity α).IsCountablyGenerated]
[TopologicalSpace.SeparableSpace α], SecondCountableTopology α
A separable uniform space with countably generated uniformity filter is second countable:
one obtains a countable basis by taking the balls centered at points in a dense subset,
and with rational "radii" from a countable open symmetric antitone basis of 𝓤 α.
theorem UniformSpace.subset_countable_closure_of_almost_dense_set E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [(uniformity α).IsCountablyGenerated] (s : Set α),
(∀ U ∈ uniformity α, ∃ t, t.Countable ∧ s ⊆ ⋃ x ∈ t, SetRel.ball U x) → ∃ t ⊆ s, t.Countable ∧ s ⊆ closure t
theorem UniformSpace.secondCountable_of_almost_dense_set E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [(uniformity α).IsCountablyGenerated],
(∀ U ∈ uniformity α, ∃ t, t.Countable ∧ ⋃ x ∈ t, SetRel.ball U x = Set.univ) → SecondCountableTopology α
theorem TotallyBounded.isSeparable E1 #
∀ {α : Type u} [uniformSpace : UniformSpace α] [(uniformity α).IsCountablyGenerated] {s : Set α},
TotallyBounded s → TopologicalSpace.IsSeparable s
A totally bounded set is separable in countably generated uniform spaces. This can be obtained
from the more general UniformSpace.subset_countable_closure_of_almost_dense_set.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Filter.TotallyBounded.isCompact_setOf_clusterPt | Filter.TotallyBounded.isCompact_setOfPred_clusterPt | 2026-07-09 |
Filter.TotallyBounded.totallyBounded_setOf_clusterPt | Filter.TotallyBounded.totallyBounded_setOfPred_clusterPt | 2026-07-09 |
complete_univ | isComplete_univ | 2026-07-27 |