NLA-lib Explorer

Jackson's theorem on an interval

Library ยท Result group

Theorem (exists_degree_le_isUniformApproxOn_Icc_of_lipschitzOnWith). Jackson's theorem on an interval: an L-Lipschitz f on [a, \mathbf{b}], a < \mathbf{b}, is within <!-- value jacksonApproximationConstant --> \frac{\pi L(\mathbf{b} - a)}{2(N + 2)} of a polynomial of degree at most N on [a, \mathbf{b}] (the constant is jacksonApproximationConstant). The affine image of isUniformApproxOn_jacksonApprox_of_lipschitz. [ChenTrogdonUbaru2022, Appendix C, Theorem 38]; there on [-1, 1] with the factor \pi^2/2.

Headline (provisional)

Lean statement and details
NLAlib.exists_degree_le_isUniformApproxOn_Icc_of_lipschitzOnWith.{u_1} {๐•œ : Type u_1} [RCLike ๐•œ]
  {f : โ„ โ†’ ๐•œ} {L : โ„โ‰ฅ0} {a b : โ„} (hab : a < b) (hf : LipschitzOnWith L f (Set.Icc a b)) (N : โ„•) :
  โˆƒ p,
    p.degree โ‰ค โ†‘N โˆง
      Metric.IsUniformApproxOn (fun x โ†ฆ Polynomial.eval (โ†‘x) p) f (Set.Icc a b)
        (jacksonApproximationConstant * โ†‘L * (b - a) / (2 * (โ†‘N + 2)))

Full source on GitHub

Copy link

Other forms

Theorem (isUniformApproxOn_jacksonApprox_of_lipschitz). Jackson's theorem for Lipschitz functions. Jackson damping gives a degree-N approximation for any L-Lipschitz function on [-1,1] with uniform error at most <!-- value jacksonApproximationConstant --> \frac{\pi L}{N+2}. [ChenTrogdonUbaru2022, Appendix C, Theorem 38] proves the source bound \pi^2L/(2(N+2)). The chord/Young estimate here proves the smaller displayed bound for the same construction and extends it to RCLike values, keeping full-coefficient normalization. The assertion includes N=0, L=0 and both endpoints; values outside the segment play no role.

Lean statement and details
NLAlib.isUniformApproxOn_jacksonApprox_of_lipschitz.{u_1} {๐•œ : Type u_1} [RCLike ๐•œ] {f : โ„ โ†’ ๐•œ}
  {L : โ„โ‰ฅ0} (hf : LipschitzOnWith L f (Set.Icc (-1) 1)) (N : โ„•) :
  Metric.IsUniformApproxOn (fun x โ†ฆ Polynomial.eval (โ†‘x) (jacksonApprox f N)) f (Set.Icc (-1) 1)
    (jacksonApproximationConstant * โ†‘L / (โ†‘N + 2))

Full source on GitHub

Copy link

Theorem (minimaxError_le_of_lipschitzOnWith). Jackson's theorem for the minimax error: an L-Lipschitz real f on [a, \mathbf{b}], a < \mathbf{b}, satisfies <!-- value jacksonApproximationConstant --> E_N(f; [a, \mathbf{b}]) \le \frac{\pi L(\mathbf{b} - a)}{2(N + 2)} (the constant is jacksonApproximationConstant). [ChenTrogdonUbaru2022, Appendix C, Theorem 38]; there on [-1, 1] with the factor \pi^2/2; [Rivlin1981, Ch. 1] (locator to check), the classical E_N form.

Lean statement and details
NLAlib.minimaxError_le_of_lipschitzOnWith {f : โ„ โ†’ โ„} {L : โ„โ‰ฅ0} {a b : โ„} (hab : a < b)
  (hf : LipschitzOnWith L f (Set.Icc a b)) (N : โ„•) :
  minimaxError f (Set.Icc a b) N โ‰ค jacksonApproximationConstant * โ†‘L * (b - a) / (2 * (โ†‘N + 2))

Full source on GitHub

Copy link