NLA-lib Explorer

NLAlib.minimaxError_le_of_lipschitzOnWith

Library · theorem

Jackson's theorem for the minimax error: an L-Lipschitz real f on [a, \mathbf{b}], a < \mathbf{b}, satisfies <!-- value jacksonApproximationConstant --> E_N(f; [a, \mathbf{b}]) \le \frac{\pi L(\mathbf{b} - a)}{2(N + 2)} (the constant is jacksonApproximationConstant). [ChenTrogdonUbaru2022, Appendix C, Theorem 38]; there on [-1, 1] with the factor \pi^2/2; [Rivlin1981, Ch. 1] (locator to check), the classical E_N form. Result: jackson-lipschitz

NLAlib.minimaxError_le_of_lipschitzOnWith {f : ℝ → ℝ} {L : ℝ≥0} {a b : ℝ} (hab : a < b)
  (hf : LipschitzOnWith L f (Set.Icc a b)) (N : ℕ) :
  minimaxError f (Set.Icc a b) N ≤ jacksonApproximationConstant * ↑L * (b - a) / (2 * (↑N + 2))

Full source on GitHub

Import NLAlib.Polynomial.Approximation.Jackson.