ProbabilityTheory.IndepFun.lintegral_ofReal_comp_eq_lintegral_ofReal_integral
Library · theorem
Integrating out an independent factor, real form: if W has law \nu and is independent of U, and F \ge 0 is measurable with F(U(\omega), \cdot) integrable against \nu for almost every \omega, then \int^- F(U, W)\,d\mu = \int^- \Bigl(\int F(U(\omega), w)\,d\nu(w)\Bigr)\,d\mu(\omega)\,. The real form of ProbabilityTheory.IndepFun.lintegral_comp_eq_lintegral_lintegral_of_hasLaw. Upstream candidate.
ProbabilityTheory.IndepFun.lintegral_ofReal_comp_eq_lintegral_ofReal_integral.{u_1, u_2, u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsFiniteMeasure μ] {α : Type u_2}
{β : Type u_3} [MeasurableSpace α] [MeasurableSpace β] {U : Ω → α} {W : Ω → β} {ν : Measure β}
(hUW : U ⟂ᵢ[μ] W) (hU : AEMeasurable U μ) (hW : HasLaw W ν μ) {F : α × β → ℝ} (hF : Measurable F)
(hF0 : ∀ (q : α × β), 0 ≤ F q) (hint : ∀ᵐ (ω : Ω) ∂μ, Integrable (fun w ↦ F (U ω, w)) ν) :
∫⁻ (ω : Ω), ENNReal.ofReal (F (U ω, W ω)) ∂μ =
∫⁻ (ω : Ω), ENNReal.ofReal (∫ (w : β), F (U ω, w) ∂ν) ∂μImport NLAlib.ForMathlib.Probability.Independence.Basic.