Theorem (isUniformApproxOn_chebyshevResidual).Chebyshev residual bound. On [a,\mathbf{b}], where 0<a<\mathbf{b}, the residual satisfies \lvert r_q(\mathbf{x})\rvert\le T_q((\mathbf{b}+a)/(\mathbf{b}-a))^{-1}. [Saad2003, Theorem 6.25 and following corollary].
Headline (provisional)
Lean statement and details
NLAlib.isUniformApproxOn_chebyshevResidual {a b : ℝ} (q : ℕ) (ha : 0 < a) (hab : a < b) :
Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x (chebyshevResidual a b q)) (fun x ↦ 0)
(Set.Icc a b) (Polynomial.eval ((b + a) / (b - a)) (Polynomial.Chebyshev.T ℝ ↑q))⁻¹
Theorem (isUniformApproxOn_chebyshevResidual_two_mul_pow).Chebyshev residual bound (geometric form). For 0<a<\mathbf{b}, the uniform residual bound has geometric form \lvert r_q(\mathbf{x})\rvert\le2\left(\frac{\sqrt \mathbf{b}-\sqrt a}{\sqrt \mathbf{b}+\sqrt a}\right)^q \quad(\mathbf{x}\in[a,\mathbf{b}]). At q=0 this remains valid with residual one and upper bound two. [Saad2003, proof of Theorem 6.29, Eq. (6.128)], stated as a scalar residual estimate.
Lean statement and details
NLAlib.isUniformApproxOn_chebyshevResidual_two_mul_pow {a b : ℝ} (q : ℕ) (ha : 0 < a)
(hab : a < b) :
Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x (chebyshevResidual a b q)) (fun x ↦ 0)
(Set.Icc a b) (2 * ((√b - √a) / (√b + √a)) ^ q)