NLAlib.eq_of_isUniformApproxOn_minimaxError
Library · theorem
The best approximation is unique: for a < \mathbf{b} and f continuous on [a, \mathbf{b}], two real polynomials p, q of degree at most n that are both within E_n(f; [a, \mathbf{b}]) of f on [a, \mathbf{b}] are equal. [Trefethen2019, Theorem 10.1]; [Rivlin1981, Ch. 1] (locators to check). Result: best-approximation-uniqueness
NLAlib.eq_of_isUniformApproxOn_minimaxError {f : ℝ → ℝ} {a b : ℝ} (hab : a < b)
(hf : ContinuousOn f (Set.Icc a b)) {n : ℕ} {p q : Polynomial ℝ} (hp : p.degree ≤ ↑n)
(hq : q.degree ≤ ↑n)
(hpb :
Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x p) f (Set.Icc a b)
(minimaxError f (Set.Icc a b) n))
(hqb :
Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x q) f (Set.Icc a b)
(minimaxError f (Set.Icc a b) n)) :
p = qImport NLAlib.Polynomial.Approximation.Equioscillation.