NLA-lib Explorer

NLAlib.minimaxError_add_le

Library · theorem

The minimax error is subadditive: for s compact and f, g continuous on s, E_n(f + g; s) \le E_n(f; s) + E_n(g; s). [Rivlin1981, Ch. 1] (locator to check).

NLAlib.minimaxError_add_le {f g : ℝ → ℝ} {s : Set ℝ} (hs : IsCompact s) (hf : ContinuousOn f s)
  (hg : ContinuousOn g s) (n : ℕ) :
  minimaxError (fun x ↦ f x + g x) s n ≤ minimaxError f s n + minimaxError g s n

Full source on GitHub

Import NLAlib.Polynomial.Approximation.MinimaxError.