NLA-lib Explorer

NLAlib.exists_eq_sum_smul_chebyshevOn_of_isUniformApproxOn

Library · theorem

Chebyshev expansion of a polynomial on [\alpha, \beta] with bounded coefficients: a real polynomial of degree at most m bounded by \mathbf{M} on [\alpha, \beta] is \sum_{i \le m} a_i\hat T_i with \lvert a_0\rvert \le \mathbf{M} and \lvert a_i\rvert \le 2\mathbf{M}. [Trefethen2019, Theorem 3.1]; the finite case of NLAlib.chebyshevTrunc_eval, scaled.

NLAlib.exists_eq_sum_smul_chebyshevOn_of_isUniformApproxOn {α β : ℝ} (hαβ : α < β)
  {p : Polynomial ℝ} {m : ℕ} (hp : p.degree ≤ ↑m) {M : ℝ}
  (hM : Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x p) (fun x ↦ 0) (Set.Icc α β) M) :
  ∃ a,
    p = ∑ i ∈ Finset.range (m + 1), a i • chebyshevOn α β i ∧
      |a 0| ≤ M ∧ ∀ (i : ℕ), 1 ≤ i → |a i| ≤ 2 * M

Full source on GitHub

Import NLAlib.Polynomial.Chebyshev.Interval.