E[XY] = E[X]E[Y] for independent random variables
ProvedFamousTheorems.independent_expectation_product_7afor independent random variables. Let be independent real- or complex-valued random variables on a probability space, or more generally on a measure space , that are almost everywhere strongly measurable. Then
This multiplicativity is the basic computational consequence of independence. It gives the additivity of variances of independent variables, and hence the weak law of large numbers by Chebyshev's inequality. It also gives the multiplicativity of characteristic and moment generating functions of sums of independent variables.
Formalization note. Mathlib's ProbabilityTheory.IndepFun.integral_mul_eq_mul_integral. The integral is the Bochner integral, which is for non-integrable functions. The statement therefore also covers the case where or is not integrable, because then both sides are .
import Mathlib
namespace FamousTheorems
open MeasureTheory
theorem independent_expectation_product_7a {Ω 𝕜 : Type*} [RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {X Y : Ω → 𝕜}
(hXY : ProbabilityTheory.IndepFun X Y μ) (hX : AEStronglyMeasurable X μ) (hY : AEStronglyMeasurable Y μ) :
∫ ω, X ω * Y ω ∂μ = (∫ ω, X ω ∂μ) * ∫ ω, Y ω ∂μ := by sorry
end FamousTheorems