A mean value theorem for integrals of pointwise intermediate values
Library · Source module
A mean value theorem for integrals of pointwise intermediate values
If F(\mathbf{x}) = D(\xi_\mathbf{x})W(\mathbf{x}) almost everywhere with \xi_\mathbf{x} in a connected set s, D continuous on s and W of constant sign, then \int F = D(\xi)\int W for a single \xi \in s. The pointwise points \xi_\mathbf{x} need not depend measurably on \mathbf{x}: the proof compares \int F with d\int W for the average d and uses only that D(s) is an interval. This turns a pointwise interpolation remainder into the integral (quadrature) remainder. Mathlib's exists_eq_const_mul_setIntegral_of_ae_nonneg needs the integrand in the form f(\mathbf{x})g(\mathbf{x}) with f continuous, which a pointwise remainder is not. Upstream candidate for Mathlib.MeasureTheory.Integral.MeanValue.
## Main results
* exists_integral_eq_mul_integral_of_ae_nonneg: nonnegative weight. * exists_integral_eq_mul_integral_of_ae_nonpos: nonpositive weight.