MeasureTheory.integral_eq_sum_measureReal_singleton_mul
Library · theorem
The integral against a finite measure carried by a finite set: if the finite measure \mu on \mathbb{R} is carried by the finite set s, then for every f : \mathbb{R} \to \mathbb{R}, \int f\,d\mu = \sum_{\mathbf{x}\in s}\mu(\{\mathbf{x}\})f(\mathbf{x}); no integrability or measurability of f is needed.
MeasureTheory.integral_eq_sum_measureReal_singleton_mul {μ : Measure ℝ} [IsFiniteMeasure μ]
{s : Finset ℝ} (hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ s) (f : ℝ → ℝ) :
∫ (x : ℝ), f x ∂μ = ∑ x ∈ s, μ.real {x} * f xImport NLAlib.ForMathlib.MeasureTheory.Integral.Bochner.SumMeasure.