Finset.abs_sum_mul_le_of_lipschitzOnWith
Library · theorem
Abel summation against a Lipschitz function, absolute form: if every point of the finite set s lies in [a, \mathbf{b}], a \le \mathbf{b}, f is L-Lipschitz on [a, \mathbf{b}], K \ge 0, and every partial sum \sum_{y\in s,\,y\le \mathbf{x}} d(y) with \mathbf{x} \in s is at most K in absolute value, then \Bigl\lvert\sum_{\mathbf{x}\in s} f(\mathbf{x})d(\mathbf{x})\Bigr\rvert \le (\lvert f(\mathbf{b})\rvert + L(\mathbf{b} - a))K\,. The term \lvert f(\mathbf{b})\rvert K bounds f(\mathbf{b}) times the total, the partial sum at the largest point.
Finset.abs_sum_mul_le_of_lipschitzOnWith {s : Finset ℝ} {a b : ℝ} (hs : ∀ x ∈ s, x ∈ Set.Icc a b)
(hab : a ≤ b) {f : ℝ → ℝ} {L : ℝ≥0} (hf : LipschitzOnWith L f (Set.Icc a b)) (d : ℝ → ℝ) {K : ℝ}
(hK0 : 0 ≤ K) (hK : ∀ x ∈ s, |∑ y ∈ s with y ≤ x, d y| ≤ K) :
|∑ x ∈ s, f x * d x| ≤ (|f b| + ↑L * (b - a)) * KImport NLAlib.ForMathlib.Topology.MetricSpace.Lipschitz.