NLAlib.exists_degree_le_isUniformApproxOn_Icc_of_differentiableOn
Library ยท theorem
Headline of bernstein-ellipse-approx (provisional)
Polynomial approximation of analytic functions on an interval. On [a,\mathbf{b}] with a<\mathbf{b}, a compatible extension of the affine pullback of f, holomorphic and bounded by \mathbf{M} on the open Bernstein ellipse, gives a polynomial of degree at most N with uniform error \frac{2\mathbf{M}}{\rho^N(\rho-1)}\,. An affine-rescaling corollary of [Trefethen2019, Theorem 8.2], generalized to RCLike values. The polynomial is obtained from the canonical truncation, including N=0.
Result: bernstein-ellipse-approx
NLAlib.exists_degree_le_isUniformApproxOn_Icc_of_differentiableOn.{u_1} {๐ : Type u_1} [RCLike ๐]
{f : โ โ ๐} {F : โ โ โ} {a b ฯ M : โ} (hab : a < b) (hฯ : 1 < ฯ)
(hFd : DifferentiableOn โ F (openBernsteinEllipse ฯ))
(hM : Metric.IsUniformApproxOn F (fun x โฆ 0) (openBernsteinEllipse ฯ) M)
(hExt :
Set.EqOn (fun t โฆ RCLike.toComplex (f (((b - a) * t + b + a) / 2))) (fun t โฆ F โt)
(Set.Icc (-1) 1))
(N : โ) :
โ p,
p.degree โค โN โง
Metric.IsUniformApproxOn (fun x โฆ Polynomial.eval (โx) p) f (Set.Icc a b)
(2 * M / (ฯ ^ N * (ฯ - 1)))Import NLAlib.Polynomial.Approximation.AnalyticApproximation.