NLA-lib Explorer

NLAlib.AlternatesOn.exists_le_abs_sub_eval

Library · theorem

De la Vallée Poussin's theorem, pointwise. If \deg p \le n and f - p alternates on s at n + 2 points with level \varepsilon, then every real polynomial q of degree at most n has \varepsilon \le \lvert f(\mathbf{x}) - q(\mathbf{x}) \rvert at some \mathbf{x} \in s. No continuity of f and no structure of s are needed. [Rivlin1981, Ch. 1]; [Trefethen2019, Ch. 10] (locators to check).

NLAlib.AlternatesOn.exists_le_abs_sub_eval {f : ℝ → ℝ} {s : Set ℝ} {n : ℕ} {p : Polynomial ℝ}
  {ε : ℝ} (h : AlternatesOn (fun x ↦ f x - Polynomial.eval x p) s (n + 2) ε) (hp : p.degree ≤ ↑n)
  {q : Polynomial ℝ} (hq : q.degree ≤ ↑n) : ∃ x ∈ s, ε ≤ |f x - Polynomial.eval x q|

Full source on GitHub

Import NLAlib.Polynomial.Approximation.Equioscillation.