NLAlib.exists_integral_sub_integral_eval_eq
Library · theorem
The mean-value step of the Gauss, Radau and Lobatto remainders: for a finite measure \mu supported in [a, \mathbf{b}], a < \mathbf{b}, f continuous on [a, \mathbf{b}] and C^n on (a, \mathbf{b}), and a polynomial \mathbf{H}, if for every \mathbf{x} \in [a, \mathbf{b}] there is \xi_\mathbf{x} \in (a, \mathbf{b}) with f(\mathbf{x}) - \mathbf{H}(\mathbf{x}) = f^{(n)}(\xi_\mathbf{x})\,W(\mathbf{x})/n!, W integrable and of one sign \mu-almost everywhere, then one \xi \in (a, \mathbf{b}) serves the integral: \int f\,d\mu - \int \mathbf{H}\,d\mu = \frac{f^{(n)}(\xi)}{n!}\int W\,d\mu\,.
NLAlib.exists_integral_sub_integral_eval_eq {μ : Measure ℝ} [IsFiniteMeasure μ] {a b : ℝ}
(hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a b) (hab : a < b) {n : ℕ} {f W : ℝ → ℝ}
(hf : ContinuousOn f (Set.Icc a b)) (hf' : ContDiffOn ℝ (↑n) f (Set.Ioo a b))
(hW : Integrable W μ) (hWs : (∀ᵐ (x : ℝ) ∂μ, 0 ≤ W x) ∨ ∀ᵐ (x : ℝ) ∂μ, W x ≤ 0) {H : Polynomial ℝ}
(hpt :
∀ x ∈ Set.Icc a b,
∃ ξ ∈ Set.Ioo a b, f x - Polynomial.eval x H = iteratedDeriv n f ξ / ↑n.factorial * W x) :
∃ ξ ∈ Set.Ioo a b,
∫ (x : ℝ), f x ∂μ - ∫ (x : ℝ), Polynomial.eval x H ∂μ =
iteratedDeriv n f ξ / ↑n.factorial * ∫ (x : ℝ), W x ∂μImport NLAlib.Polynomial.Orthogonal.Gauss.