NLA-lib Explorer

ProbabilityTheory.IndepFun.lintegral_comp_eq_lintegral_lintegral_of_hasLaw

Library · theorem

Integrating out an independent factor, in [0, \infty]: if W has law \nu and is independent of U, and f \ge 0 is measurable, then \int^- f(U, W)\,d\mu = \int^- \int^- f(U(\omega), w)\,d\nu(w)\,d\mu(\omega)\,. The conditioning step of a two-sketch proof, with the inner integral against the named law. Upstream candidate.

ProbabilityTheory.IndepFun.lintegral_comp_eq_lintegral_lintegral_of_hasLaw.{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 : α × β → ℝ≥0∞}
  (hf : Measurable f) : ∫⁻ (ω : Ω), f (U ω, W ω) ∂μ = ∫⁻ (ω : Ω), ∫⁻ (w : β), f (U ω, w) ∂ν ∂μ

Full source on GitHub

Import NLAlib.ForMathlib.Probability.Independence.Basic.