NLA-lib Explorer

EuclideanSpace.lipschitzWith_ofLp_iff

Library · theorem

Lipschitz for the Euclidean norm, as an inequality on n → ℝ: f is L-Lipschitz on EuclideanSpace ℝ n if and only if \lvert f(\mathbf{x}) - f(\mathbf{y})\rvert \le L \|\mathbf{x} - \mathbf{y}\| for all \mathbf{x}, \mathbf{y}.

EuclideanSpace.lipschitzWith_ofLp_iff.{u_2} {n : Type u_2} [Fintype n] {f : (n → ℝ) → ℝ} {L : ℝ≥0} :
  (LipschitzWith L fun x ↦ f x.ofLp) ↔ ∀ (x y : n → ℝ), |f x - f y| ≤ ↑L * ‖WithLp.toLp 2 (x - y)‖

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.InnerProductSpace.PiL2.