The areas / V13. General topology
Mathlib.Topology.EMetricSpace.Lipschitz
82 declarations and 1 deprecated aliases. Mathlib docs · Source
Lipschitz continuous functions
A map f : α → β between two (extended) metric spaces is called Lipschitz continuous
with constant K ≥ 0 if for all x, y we have edist (f x) (f y) ≤ K * edist x y.
For a metric space, the latter inequality is equivalent to dist (f x) (f y) ≤ K * dist x y.
There is also a version asserting this inequality only for x and y in some set s.
Finally, f : α → β is called locally Lipschitz continuous if each x : α has a neighbourhood
on which f is Lipschitz continuous (with some constant).
In this file we provide various ways to prove that various combinations of Lipschitz continuous functions are Lipschitz continuous. We also prove that Lipschitz continuous functions are uniformly continuous, and that locally Lipschitz functions are continuous.
Main definitions and lemmas
LipschitzWith K f: states thatfis Lipschitz with constantK : ℝ≥0LipschitzOnWith K f s: states thatfis Lipschitz with constantK : ℝ≥0on a setsLipschitzWith.uniformContinuous: a Lipschitz function is uniformly continuousLipschitzOnWith.uniformContinuousOn: a function which is Lipschitz on a setsis uniformly continuous ons.LocallyLipschitz f: states thatfis locally LipschitzLocallyLipschitzOn f s: states thatfis locally Lipschitz ons.LocallyLipschitz.continuous: a locally Lipschitz function is continuous.
Implementation notes
The parameter K has type ℝ≥0. This way we avoid conjunction in the definition and have
coercions both to ℝ and ℝ≥0∞. Constructors whose names end with ' take K : ℝ as an
argument, and return LipschitzWith (Real.toNNReal K) f.
def LipschitzWith E3 #
{α : Type u} → {β : Type v} → [PseudoEMetricSpace α] → [PseudoEMetricSpace β] → NNReal → (α → β) → Prop
A function f is Lipschitz continuous with constant K ≥ 0 if for all x, y
we have dist (f x) (f y) ≤ K * dist x y.
def LipschitzOnWith E1 #
{α : Type u} → {β : Type v} → [PseudoEMetricSpace α] → [PseudoEMetricSpace β] → NNReal → (α → β) → Set α → Prop
A function f is Lipschitz continuous with constant K ≥ 0 on s if
for all x, y in s we have dist (f x) (f y) ≤ K * dist x y.
def LocallyLipschitz E1 #
{α : Type u} → {β : Type v} → [PseudoEMetricSpace α] → [PseudoEMetricSpace β] → (α → β) → Prop
f : α → β is called locally Lipschitz continuous iff every point x
has a neighbourhood on which f is Lipschitz.
def LocallyLipschitzOn E1 #
{α : Type u} → {β : Type v} → [PseudoEMetricSpace α] → [PseudoEMetricSpace β] → Set α → (α → β) → Prop
f : α → β is called locally Lipschitz continuous on s iff every point x of s
has a neighbourhood within s on which f is Lipschitz.
theorem lipschitzOnWith_empty E0 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (K : NNReal) (f : α → β),
LipschitzOnWith K f ∅
Every function is Lipschitz on the empty set (with any Lipschitz constant).
theorem locallyLipschitzOn_empty E0 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (f : α → β),
LocallyLipschitzOn ∅ f
theorem LipschitzOnWith.mono E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s t : Set α}
{f : α → β}, LipschitzOnWith K f t → s ⊆ t → LipschitzOnWith K f s
Being Lipschitz on a set is monotone w.r.t. that set.
theorem LocallyLipschitzOn.mono E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {s t : Set α} {f : α → β},
LocallyLipschitzOn t f → s ⊆ t → LocallyLipschitzOn s f
theorem lipschitzOnWith_univ E0 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzOnWith K f Set.univ ↔ LipschitzWith K f
f is Lipschitz iff it is Lipschitz on the entire space.
theorem locallyLipschitzOn_univ E0 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {f : α → β},
LocallyLipschitzOn Set.univ f ↔ LocallyLipschitz f
theorem LocallyLipschitz.locallyLipschitzOn E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {s : Set α} {f : α → β},
LocallyLipschitz f → LocallyLipschitzOn s f
theorem lipschitzOnWith_iff_restrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β}, LipschitzOnWith K f s ↔ LipschitzWith K (s.domRestrict f)
theorem lipschitzOnWith_restrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β} {t : Set ↑s}, LipschitzOnWith K (s.domRestrict f) t ↔ LipschitzOnWith K f (s ∩ Subtype.val '' t)
theorem locallyLipschitzOn_iff_restrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {s : Set α} {f : α → β},
LocallyLipschitzOn s f ↔ LocallyLipschitz (s.domRestrict f)
theorem LipschitzOnWith.to_restrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β}, LipschitzOnWith K f s → LipschitzWith K (s.domRestrict f)
Alias of the forward direction of lipschitzOnWith_iff_restrict.
theorem LocallyLipschitzOn.restrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {s : Set α} {f : α → β},
LocallyLipschitzOn s f → LocallyLipschitz (s.domRestrict f)
Alias of the forward direction of locallyLipschitzOn_iff_restrict.
theorem Set.MapsTo.lipschitzOnWith_iff_restrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β} {t : Set β} (h : Set.MapsTo f s t), LipschitzOnWith K f s ↔ LipschitzWith K (Set.MapsTo.restrict f s t h)
theorem LipschitzOnWith.mapsToRestrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β} {t : Set β} (h : Set.MapsTo f s t), LipschitzOnWith K f s → LipschitzWith K (Set.MapsTo.restrict f s t h)
Alias of the forward direction of Set.MapsTo.lipschitzOnWith_iff_restrict.
theorem LipschitzWith.lipschitzOnWith E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β}
{s : Set α}, LipschitzWith K f → LipschitzOnWith K f s
theorem LipschitzWith.edist_le_mul E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ (x y : α), edist (f x) (f y) ≤ ↑K * edist x y
theorem LipschitzWith.edist_le_mul_of_le E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β}
{x y : α} {r : ENNReal}, LipschitzWith K f → edist x y ≤ r → edist (f x) (f y) ≤ ↑K * r
theorem LipschitzWith.edist_lt_mul_of_lt E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β}
{x y : α} {r : ENNReal}, LipschitzWith K f → K ≠ 0 → edist x y < r → edist (f x) (f y) < ↑K * r
theorem LipschitzWith.mapsTo_closedEBall E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ (x : α) (r : ENNReal), Set.MapsTo f (Metric.closedEBall x r) (Metric.closedEBall (f x) (↑K * r))
theorem LipschitzWith.mapsTo_eball E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → K ≠ 0 → ∀ (x : α) (r : ENNReal), Set.MapsTo f (Metric.eball x r) (Metric.eball (f x) (↑K * r))
theorem LipschitzWith.edist_lt_top E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ {x y : α}, edist x y ≠ ⊤ → edist (f x) (f y) < ⊤
theorem LipschitzWith.mul_edist_le E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ (x y : α), (↑K)⁻¹ * edist (f x) (f y) ≤ edist x y
theorem LipschitzWith.of_edist_le E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {f : α → β},
(∀ (x y : α), edist (f x) (f y) ≤ edist x y) → LipschitzWith 1 f
theorem LipschitzWith.weaken E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ {K' : NNReal}, K ≤ K' → LipschitzWith K' f
theorem LipschitzWith.ediam_image_le E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ (s : Set α), Metric.ediam (f '' s) ≤ ↑K * Metric.ediam s
theorem LipschitzWith.edist_lt_of_edist_lt_div E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ {x y : α} {d : ENNReal}, edist x y < d / ↑K → edist (f x) (f y) < d
theorem LipschitzWith.uniformContinuous E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → UniformContinuous f
A Lipschitz function is uniformly continuous.
theorem LipschitzWith.continuous E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → Continuous f
A Lipschitz function is continuous.
theorem LipschitzWith.const E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (b : β),
LipschitzWith 0 fun x ↦ b
Constant functions are Lipschitz (with any constant).
theorem LipschitzWith.const' E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (b : β) {K : NNReal},
LipschitzWith K fun x ↦ b
theorem LipschitzWith.zero_iff E0 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {β : Type u_1} [inst_1 : EMetricSpace β] (f : α → β),
LipschitzWith 0 f ↔ ∀ (x y : α), f x = f y
theorem LipschitzWith.id E2 #
∀ {α : Type u} [inst : PseudoEMetricSpace α], LipschitzWith 1 id
The identity is 1-Lipschitz.
theorem LipschitzWith.subtypeVal E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] (s : Set α), LipschitzWith 1 Subtype.val
The inclusion of a subset is 1-Lipschitz.
theorem LipschitzWith.subtype_mk E0 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ {p : β → Prop} (hp : ∀ (x : α), p (f x)), LipschitzWith K fun x ↦ ⟨f x, ⋯⟩
theorem LipschitzWith.eval E1 #
∀ {ι : Type x} {α : ι → Type u} [inst : (i : ι) → PseudoEMetricSpace (α i)] [inst_1 : Fintype ι] (i : ι),
LipschitzWith 1 (Function.eval i)
theorem LipschitzWith.restrict E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {f : α → β},
LipschitzWith K f → ∀ (s : Set α), LipschitzWith K (s.domRestrict f)
The restriction of a K-Lipschitz function is K-Lipschitz.
theorem LipschitzWith.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {Kf Kg : NNReal} {f : β → γ} {g : α → β},
LipschitzWith Kf f → LipschitzWith Kg g → LipschitzWith (Kf * Kg) (f ∘ g)
The composition of Lipschitz functions is Lipschitz.
theorem LipschitzWith.comp_lipschitzOnWith E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {Kf Kg : NNReal} {f : β → γ} {g : α → β} {s : Set α},
LipschitzWith Kf f → LipschitzOnWith Kg g s → LipschitzOnWith (Kf * Kg) (f ∘ g) s
theorem LipschitzWith.prod_fst E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β], LipschitzWith 1 Prod.fst
theorem LipschitzWith.prod_snd E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β], LipschitzWith 1 Prod.snd
theorem LipschitzWith.prodMk E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {f : α → β} {Kf : NNReal},
LipschitzWith Kf f → ∀ {g : α → γ} {Kg : NNReal}, LipschitzWith Kg g → LipschitzWith (max Kf Kg) fun x ↦ (f x, g x)
If f and g are Lipschitz functions, so is the induced map f × g to the product type.
theorem LipschitzWith.prodMk_left E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (a : α),
LipschitzWith 1 (Prod.mk a)
theorem LipschitzWith.prodMk_right E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (b : β),
LipschitzWith 1 fun a ↦ (a, b)
theorem LipschitzWith.uncurry E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {f : α → β → γ} {Kα Kβ : NNReal},
(∀ (b : β), LipschitzWith Kα fun a ↦ f a b) →
(∀ (a : α), LipschitzWith Kβ (f a)) → LipschitzWith (Kα + Kβ) (Function.uncurry f)
theorem LipschitzWith.iterate E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {K : NNReal} {f : α → α},
LipschitzWith K f → ∀ (n : ℕ), LipschitzWith (K ^ n) f^[n]
Iterates of a Lipschitz function are Lipschitz.
theorem LipschitzWith.edist_iterate_succ_le_geometric E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {K : NNReal} {f : α → α},
LipschitzWith K f → ∀ (x : α) (n : ℕ), edist (f^[n] x) (f^[n + 1] x) ≤ edist x (f x) * ↑K ^ n
theorem LipschitzWith.mul_end E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {f g : Function.End α} {Kf Kg : NNReal},
LipschitzWith Kf f → LipschitzWith Kg g → LipschitzWith (Kf * Kg) (f * g)
theorem LipschitzWith.list_prod E1 #
∀ {α : Type u} {ι : Type x} [inst : PseudoEMetricSpace α] (f : ι → Function.End α) (K : ι → NNReal),
(∀ (i : ι), LipschitzWith (K i) (f i)) → ∀ (l : List ι), LipschitzWith (List.map K l).prod (List.map f l).prod
The product of a list of Lipschitz continuous endomorphisms is a Lipschitz continuous endomorphism.
theorem LipschitzWith.pow_end E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {f : Function.End α} {K : NNReal},
LipschitzWith K f → ∀ (n : ℕ), LipschitzWith (K ^ n) (f ^ n)
theorem LipschitzOnWith.zero_iff E0 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {s : Set α} {β : Type u_1} [inst_1 : EMetricSpace β] (f : α → β),
LipschitzOnWith 0 f s ↔ ∀ x ∈ s, ∀ y ∈ s, f x = f y
theorem LipschitzOnWith.uniformContinuousOn E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β}, LipschitzOnWith K f s → UniformContinuousOn f s
theorem LipschitzOnWith.continuousOn E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β}, LipschitzOnWith K f s → ContinuousOn f s
theorem LipschitzOnWith.weaken E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β}, LipschitzOnWith K f s → ∀ {K' : NNReal}, K ≤ K' → LipschitzOnWith K' f s
theorem LipschitzOnWith.edist_le_mul_of_le E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β},
LipschitzOnWith K f s → ∀ {x y : α}, x ∈ s → y ∈ s → ∀ {r : ENNReal}, edist x y ≤ r → edist (f x) (f y) ≤ ↑K * r
theorem LipschitzOnWith.edist_lt_of_edist_lt_div E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {K : NNReal} {s : Set α}
{f : α → β},
LipschitzOnWith K f s → ∀ {x y : α}, x ∈ s → y ∈ s → ∀ {d : ENNReal}, edist x y < d / ↑K → edist (f x) (f y) < d
theorem LipschitzOnWith.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {K : NNReal} {s : Set α} {f : α → β} {g : β → γ} {t : Set β} {Kg : NNReal},
LipschitzOnWith Kg g t → LipschitzOnWith K f s → Set.MapsTo f s t → LipschitzOnWith (Kg * K) (g ∘ f) s
theorem LipschitzOnWith.prodMk E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {s : Set α} {f : α → β} {g : α → γ} {Kf Kg : NNReal},
LipschitzOnWith Kf f s → LipschitzOnWith Kg g s → LipschitzOnWith (max Kf Kg) (fun x ↦ (f x, g x)) s
If f and g are Lipschitz on s, so is the induced map f × g to the product type.
theorem LipschitzOnWith.ediam_image2_le E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α → β → γ) {K₁ K₂ : NNReal} (s : Set α) (t : Set β),
(∀ b ∈ t, LipschitzOnWith K₁ (fun x ↦ f x b) s) →
(∀ a ∈ s, LipschitzOnWith K₂ (f a) t) →
Metric.ediam (Set.image2 f s t) ≤ ↑K₁ * Metric.ediam s + ↑K₂ * Metric.ediam t
theorem LipschitzWith.locallyLipschitz E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {f : α → β} {K : NNReal},
LipschitzWith K f → LocallyLipschitz f
A Lipschitz function is locally Lipschitz.
theorem LocallyLipschitz.id E2 #
∀ {α : Type u} [inst : PseudoEMetricSpace α], LocallyLipschitz id
The identity function is locally Lipschitz.
theorem LocallyLipschitz.const E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (b : β),
LocallyLipschitz fun x ↦ b
Constant functions are locally Lipschitz.
theorem LocallyLipschitz.continuous E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {f : α → β},
LocallyLipschitz f → Continuous f
A locally Lipschitz function is continuous. (The converse is false: for example, $x ↦ \sqrt{x}$ is continuous, but not locally Lipschitz at 0.)
theorem LocallyLipschitz.comp E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {f : β → γ} {g : α → β},
LocallyLipschitz f → LocallyLipschitz g → LocallyLipschitz (f ∘ g)
The composition of locally Lipschitz functions is locally Lipschitz.
theorem LocallyLipschitz.prodMk E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] {f : α → β},
LocallyLipschitz f → ∀ {g : α → γ}, LocallyLipschitz g → LocallyLipschitz fun x ↦ (f x, g x)
If f and g are locally Lipschitz, so is the induced map f × g to the product type.
theorem LocallyLipschitz.prodMk_left E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (a : α),
LocallyLipschitz (Prod.mk a)
theorem LocallyLipschitz.prodMk_right E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (b : β),
LocallyLipschitz fun a ↦ (a, b)
theorem LocallyLipschitz.iterate E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {f : α → α}, LocallyLipschitz f → ∀ (n : ℕ), LocallyLipschitz f^[n]
theorem LocallyLipschitz.mul_end E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {f g : Function.End α},
LocallyLipschitz f → LocallyLipschitz g → LocallyLipschitz (f * g)
theorem LocallyLipschitz.pow_end E1 #
∀ {α : Type u} [inst : PseudoEMetricSpace α] {f : Function.End α},
LocallyLipschitz f → ∀ (n : ℕ), LocallyLipschitz (f ^ n)
theorem LocallyLipschitzOn.continuousOn E1 #
∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] {f : α → β} {s : Set α},
LocallyLipschitzOn s f → ContinuousOn f s
theorem continuousOn_prod_of_subset_closure_continuousOn_lipschitzOnWith E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : TopologicalSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) {s s' : Set α} {t : Set β},
s' ⊆ s →
s ⊆ closure s' →
∀ (K : NNReal),
(∀ a ∈ s', ContinuousOn (fun y ↦ f (a, y)) t) →
(∀ b ∈ t, LipschitzOnWith K (fun x ↦ f (x, b)) s) → ContinuousOn f (s ×ˢ t)
Consider a function f : α × β → γ. Suppose that it is continuous on each “vertical fiber”
{a} × t, a ∈ s, and is Lipschitz continuous on each “horizontal fiber” s × {b}, b ∈ t
with the same Lipschitz constant K. Then it is continuous on s × t. Moreover, it suffices
to require continuity on vertical fibers for a from a subset s' ⊆ s that is dense in s.
The actual statement uses (Lipschitz) continuity of fun y ↦ f (a, y) and fun x ↦ f (x, b)
instead of continuity of f on subsets of the product space.
theorem continuousOn_prod_of_continuousOn_lipschitzOnWith E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : TopologicalSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) {s : Set α} {t : Set β} (K : NNReal),
(∀ a ∈ s, ContinuousOn (fun y ↦ f (a, y)) t) →
(∀ b ∈ t, LipschitzOnWith K (fun x ↦ f (x, b)) s) → ContinuousOn f (s ×ˢ t)
Consider a function f : α × β → γ. Suppose that it is continuous on each “vertical fiber”
{a} × t, a ∈ s, and is Lipschitz continuous on each “horizontal fiber” s × {b}, b ∈ t
with the same Lipschitz constant K. Then it is continuous on s × t.
The actual statement uses (Lipschitz) continuity of fun y ↦ f (a, y) and fun x ↦ f (x, b)
instead of continuity of f on subsets of the product space.
theorem continuous_prod_of_dense_continuous_lipschitzWith E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : TopologicalSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) (K : NNReal) {s : Set α},
Dense s → (∀ a ∈ s, Continuous fun y ↦ f (a, y)) → (∀ (b : β), LipschitzWith K fun x ↦ f (x, b)) → Continuous f
Consider a function f : α × β → γ. Suppose that it is continuous on each “vertical section”
{a} × univ for a : α from a dense set. Suppose that it is Lipschitz continuous on each
“horizontal section” univ × {b}, b : β with the same Lipschitz constant K. Then it is
continuous.
The actual statement uses (Lipschitz) continuity of fun y ↦ f (a, y) and fun x ↦ f (x, b)
instead of continuity of f on subsets of the product space.
theorem continuous_prod_of_continuous_lipschitzWith E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : PseudoEMetricSpace α] [inst_1 : TopologicalSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) (K : NNReal),
(∀ (a : α), Continuous fun y ↦ f (a, y)) → (∀ (b : β), LipschitzWith K fun x ↦ f (x, b)) → Continuous f
Consider a function f : α × β → γ. Suppose that it is continuous on each “vertical section”
{a} × univ, a : α, and is Lipschitz continuous on each “horizontal section”
univ × {b}, b : β with the same Lipschitz constant K. Then it is continuous.
The actual statement uses (Lipschitz) continuity of fun y ↦ f (a, y) and fun x ↦ f (x, b)
instead of continuity of f on subsets of the product space.
theorem continuousOn_prod_of_subset_closure_continuousOn_lipschitzOnWith' E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : TopologicalSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) {s : Set α} {t t' : Set β},
t' ⊆ t →
t ⊆ closure t' →
∀ (K : NNReal),
(∀ a ∈ s, LipschitzOnWith K (fun y ↦ f (a, y)) t) →
(∀ b ∈ t', ContinuousOn (fun x ↦ f (x, b)) s) → ContinuousOn f (s ×ˢ t)
theorem continuousOn_prod_of_continuousOn_lipschitzOnWith' E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : TopologicalSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) {s : Set α} {t : Set β} (K : NNReal),
(∀ a ∈ s, LipschitzOnWith K (fun y ↦ f (a, y)) t) →
(∀ b ∈ t, ContinuousOn (fun x ↦ f (x, b)) s) → ContinuousOn f (s ×ˢ t)
theorem continuous_prod_of_dense_continuous_lipschitzWith' E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : TopologicalSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) (K : NNReal) {t : Set β},
Dense t → (∀ (a : α), LipschitzWith K fun y ↦ f (a, y)) → (∀ b ∈ t, Continuous fun x ↦ f (x, b)) → Continuous f
theorem continuous_prod_of_continuous_lipschitzWith' E1 #
∀ {α : Type u} {β : Type v} {γ : Type w} [inst : TopologicalSpace α] [inst_1 : PseudoEMetricSpace β]
[inst_2 : PseudoEMetricSpace γ] (f : α × β → γ) (K : NNReal),
(∀ (a : α), LipschitzWith K fun y ↦ f (a, y)) → (∀ (b : β), Continuous fun x ↦ f (x, b)) → Continuous f
Deprecated aliases
| Name | New name | Since |
|---|---|---|
LipschitzWith.subtype_val | LipschitzWith.subtypeVal | 2026-11-10 |