NLAlib.exists_degree_lt_isUniformApproxOn_inv
Library · theorem
Headline of inverse-polynomial-approx (provisional)
Polynomial approximation of the inverse. For 0<a<\mathbf{b}, there is a polynomial of degree less than q such that \left\lvert p(\mathbf{x})-\mathbf{x}^{-1}\right\rvert\le\frac2a \left(\frac{\sqrt \mathbf{b}-\sqrt a}{\sqrt \mathbf{b}+\sqrt a}\right)^q\quad(\mathbf{x}\in[a,\mathbf{b}]). This is a scalar inverse-approximation corollary of [Saad2003, Theorem 6.25 and proof of Theorem 6.29], obtained by factoring 1-r_q=Xp. The WithBot degree includes q=0: the zero polynomial has degree \bot<0, and error at most 1/a\le2/a.
Result: inverse-polynomial-approx
NLAlib.exists_degree_lt_isUniformApproxOn_inv {a b : ℝ} (q : ℕ) (ha : 0 < a) (hab : a < b) :
∃ p,
p.degree < ↑q ∧
Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x p) (fun x ↦ x⁻¹) (Set.Icc a b)
(2 / a * ((√b - √a) / (√b + √a)) ^ q)Import NLAlib.Polynomial.Approximation.Inverse.