NLAlib.exists_eval_eq_of_isUniformApproxOn_minimaxError
Library · theorem
Headline of best-approximant-interpolates
The best approximation interpolates: for a < \mathbf{b}, f continuous on [a, \mathbf{b}] and p a best approximation of degree at most n, there are n + 1 distinct points of (a, \mathbf{b}) at which p = f; p is the Lagrange interpolant of f there (Lagrange.eq_interpolate_of_eval_eq). [Trefethen2019, Ch. 10] (locator to check); there on [-1, 1]. Result: best-approximant-interpolates
NLAlib.exists_eval_eq_of_isUniformApproxOn_minimaxError {f : ℝ → ℝ} {a b : ℝ} (hab : a < b)
(hf : ContinuousOn f (Set.Icc a b)) {n : ℕ} {p : Polynomial ℝ} (hp : p.degree ≤ ↑n)
(hbest :
Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x p) f (Set.Icc a b)
(minimaxError f (Set.Icc a b) n)) :
∃ t, t.card = n + 1 ∧ ↑t ⊆ Set.Ioo a b ∧ ∀ x ∈ t, Polynomial.eval x p = f xImport NLAlib.Polynomial.Approximation.Equioscillation.