The areas / V13. General topology
Mathlib.Topology.UniformSpace.UniformApproximation
20 declarations. Mathlib docs · Source
Uniform approximation
In this file, we give lemmas ensuring that a function is continuous if it can be approximated
uniformly by continuous functions. We give various versions, within a set or the whole space, at
a single point or at all points, with locally uniform approximation or uniform approximation. All
the statements are derived from a statement about locally uniform approximation within a set at
a point, called continuousWithinAt_of_locally_uniform_approx_of_continuousWithinAt.
Implementation notes
Most results hold under weaker assumptions of locally uniform approximation. In a first section, we prove the results under these weaker assumptions. Then, we derive the results on uniform convergence from them.
Tags
Uniform limit, uniform convergence, tends uniformly to
Uniform limits
From the previous statements on uniform approximation, we deduce continuity results for uniform limits.
Composing limits under uniform convergence
In general, if Fₙ converges pointwise to a function f, and gₙ tends to x, it is not true
that Fₙ gₙ tends to f x. It is true however if the convergence of Fₙ to f is uniform. In
this paragraph, we prove variations around this statement.
Uniform approximation and limit of uniformly continuous functions.
theorem continuousWithinAt_of_locally_uniform_approx_of_continuousWithinAt E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {f : α → β} {s : Set α} {x : α},
x ∈ s →
(∀ u ∈ uniformity β, ∃ t ∈ nhdsWithin x s, ∃ F, ContinuousWithinAt F s x ∧ ∀ y ∈ t, (f y, F y) ∈ u) →
ContinuousWithinAt f s x
A function which can be locally uniformly approximated by functions which are continuous within a set at a point is continuous within this set at this point.
theorem continuousAt_of_locally_uniform_approx_of_continuousAt E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {f : α → β} {x : α},
(∀ u ∈ uniformity β, ∃ t ∈ nhds x, ∃ F, ContinuousAt F x ∧ ∀ y ∈ t, (f y, F y) ∈ u) → ContinuousAt f x
A function which can be locally uniformly approximated by functions which are continuous at a point is continuous at this point.
theorem continuousOn_of_locally_uniform_approx_of_continuousWithinAt E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {f : α → β} {s : Set α},
(∀ x ∈ s, ∀ u ∈ uniformity β, ∃ t ∈ nhdsWithin x s, ∃ F, ContinuousWithinAt F s x ∧ ∀ y ∈ t, (f y, F y) ∈ u) →
ContinuousOn f s
A function which can be locally uniformly approximated by functions which are continuous on a set is continuous on this set.
theorem continuousOn_of_uniform_approx_of_continuousOn E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {f : α → β} {s : Set α},
(∀ u ∈ uniformity β, ∃ F, ContinuousOn F s ∧ ∀ y ∈ s, (f y, F y) ∈ u) → ContinuousOn f s
A function which can be uniformly approximated by functions which are continuous on a set is continuous on this set.
theorem continuous_of_locally_uniform_approx_of_continuousAt E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {f : α → β},
(∀ (x : α), ∀ u ∈ uniformity β, ∃ t ∈ nhds x, ∃ F, ContinuousAt F x ∧ ∀ y ∈ t, (f y, F y) ∈ u) → Continuous f
A function which can be locally uniformly approximated by continuous functions is continuous.
theorem continuous_of_uniform_approx_of_continuous E3 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {f : α → β},
(∀ u ∈ uniformity β, ∃ F, Continuous F ∧ ∀ (y : α), (f y, F y) ∈ u) → Continuous f
A function which can be uniformly approximated by continuous functions is continuous.
theorem TendstoLocallyUniformlyOn.continuousOn E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {s : Set α} {p : Filter ι},
TendstoLocallyUniformlyOn F f p s → (∃ᶠ (n : ι) in p, ContinuousOn (F n) s) → ContinuousOn f s
A locally uniform limit on a set of functions which are continuous on this set is itself continuous on this set.
theorem TendstoUniformlyOn.continuousOn E3 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {s : Set α} {p : Filter ι},
TendstoUniformlyOn F f p s → (∃ᶠ (n : ι) in p, ContinuousOn (F n) s) → ContinuousOn f s
A uniform limit on a set of functions which are continuous on this set is itself continuous on this set.
theorem TendstoLocallyUniformly.continuous E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {p : Filter ι}, TendstoLocallyUniformly F f p → (∃ᶠ (n : ι) in p, Continuous (F n)) → Continuous f
A locally uniform limit of continuous functions is continuous.
theorem TendstoUniformly.continuous E3 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {p : Filter ι}, TendstoUniformly F f p → (∃ᶠ (n : ι) in p, Continuous (F n)) → Continuous f
A uniform limit of continuous functions is continuous.
theorem tendsto_comp_of_locally_uniform_limit_within E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {s : Set α} {x : α} {p : Filter ι} {g : ι → α},
ContinuousWithinAt f s x →
Filter.Tendsto g p (nhdsWithin x s) →
(∀ u ∈ uniformity β, ∃ t ∈ nhdsWithin x s, ∀ᶠ (n : ι) in p, ∀ y ∈ t, (f y, F n y) ∈ u) →
Filter.Tendsto (fun n ↦ F n (g n)) p (nhds (f x))
If Fₙ converges locally uniformly on a neighborhood of x within a set s to a function f
which is continuous at x within s, and gₙ tends to x within s, then Fₙ (gₙ) tends
to f x.
theorem tendsto_comp_of_locally_uniform_limit E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {x : α} {p : Filter ι} {g : ι → α},
ContinuousAt f x →
Filter.Tendsto g p (nhds x) →
(∀ u ∈ uniformity β, ∃ t ∈ nhds x, ∀ᶠ (n : ι) in p, ∀ y ∈ t, (f y, F n y) ∈ u) →
Filter.Tendsto (fun n ↦ F n (g n)) p (nhds (f x))
If Fₙ converges locally uniformly on a neighborhood of x to a function f which is
continuous at x, and gₙ tends to x, then Fₙ (gₙ) tends to f x.
theorem TendstoLocallyUniformlyOn.tendsto_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {s : Set α} {x : α} {p : Filter ι} {g : ι → α},
TendstoLocallyUniformlyOn F f p s →
ContinuousWithinAt f s x →
x ∈ s → Filter.Tendsto g p (nhdsWithin x s) → Filter.Tendsto (fun n ↦ F n (g n)) p (nhds (f x))
If Fₙ tends locally uniformly to f on a set s, and gₙ tends to x within s, then
Fₙ gₙ tends to f x if f is continuous at x within s and x ∈ s.
theorem TendstoUniformlyOn.tendsto_comp E3 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {s : Set α} {x : α} {p : Filter ι} {g : ι → α},
TendstoUniformlyOn F f p s →
ContinuousWithinAt f s x → Filter.Tendsto g p (nhdsWithin x s) → Filter.Tendsto (fun n ↦ F n (g n)) p (nhds (f x))
If Fₙ tends uniformly to f on a set s, and gₙ tends to x within s, then Fₙ gₙ
tends to f x if f is continuous at x within s.
theorem TendstoLocallyUniformly.tendsto_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {x : α} {p : Filter ι} {g : ι → α},
TendstoLocallyUniformly F f p →
ContinuousAt f x → Filter.Tendsto g p (nhds x) → Filter.Tendsto (fun n ↦ F n (g n)) p (nhds (f x))
If Fₙ tends locally uniformly to f, and gₙ tends to x, then Fₙ gₙ tends to f x.
theorem TendstoUniformly.tendsto_comp E3 #
∀ {α : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : TopologicalSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {x : α} {p : Filter ι} {g : ι → α},
TendstoUniformly F f p →
ContinuousAt f x → Filter.Tendsto g p (nhds x) → Filter.Tendsto (fun n ↦ F n (g n)) p (nhds (f x))
If Fₙ tends uniformly to f, and gₙ tends to x, then Fₙ gₙ tends to f x.
theorem uniformContinuousOn_of_uniform_approx_of_uniformContinuousOn E1 #
∀ {α : Type u_4} {β : Type u_5} [inst : UniformSpace α] [inst_1 : UniformSpace β] {f : α → β} {s : Set α},
(∀ u ∈ uniformity β, ∃ F, UniformContinuousOn F s ∧ ∀ y ∈ s, (f y, F y) ∈ u) → UniformContinuousOn f s
A function which can be uniformly approximated by functions which are uniformly continuous on a set is uniformly continuous on this set.
theorem uniformContinuous_of_uniform_approx_of_uniformContinuous E1 #
∀ {α : Type u_4} {β : Type u_5} [inst : UniformSpace α] [inst_1 : UniformSpace β] {f : α → β},
(∀ u ∈ uniformity β, ∃ F, UniformContinuous F ∧ ∀ (y : α), (f y, F y) ∈ u) → UniformContinuous f
A function which can be uniformly approximated by uniformly continuous functions is uniformly continuous.
theorem TendstoUniformlyOn.uniformContinuousOn E1 #
∀ {α : Type u_4} {β : Type u_5} {ι : Type u_6} [inst : UniformSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {s : Set α} {p : Filter ι},
TendstoUniformlyOn F f p s → (∃ᶠ (n : ι) in p, UniformContinuousOn (F n) s) → UniformContinuousOn f s
A uniform limit on a set of functions which are uniformly continuous on this set is itself uniformly continuous on this set.
theorem TendstoUniformly.uniformContinuous E1 #
∀ {α : Type u_4} {β : Type u_5} {ι : Type u_6} [inst : UniformSpace α] [inst_1 : UniformSpace β] {F : ι → α → β}
{f : α → β} {p : Filter ι}, TendstoUniformly F f p → (∃ᶠ (n : ι) in p, UniformContinuous (F n)) → UniformContinuous f
A uniform limit of uniformly continuous functions is uniformly continuous.