NLA-lib Explorer

LipschitzWith.exists_contDiff_lipschitzWith_dist_le

Library · theorem

Smoothing a Lipschitz function: on a finite-dimensional space, a K-Lipschitz function f is uniformly within \varepsilon > 0 of a C^\infty function g that is again K-Lipschitz: \operatorname{dist}(g(\mathbf{x}), f(\mathbf{x})) \le \varepsilon for all \mathbf{x} (convolve with a normed bump function supported in a ball of radius \varepsilon / (K + 1)).

LipschitzWith.exists_contDiff_lipschitzWith_dist_le.{u_1, u_2} {G : Type u_1} {F : Type u_2}
  [NormedAddCommGroup G] [NormedSpace ℝ G] [HasContDiffBump G] [FiniteDimensional ℝ G]
  [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] {f : G → F} {K : ℝ≥0}
  (hf : LipschitzWith K f) {ε : ℝ} (hε : 0 < ε) :
  ∃ g, ContDiff ℝ (↑⊤) g ∧ LipschitzWith K g ∧ ∀ (x : G), dist (g x) (f x) ≤ ε

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.Calculus.BumpFunction.Convolution.