NLA-lib Explorer

NLAlib.Ops.integral_comp_of_indepFun

Library · theorem

The integral of a function of an independent pair: integrate the second variable out.

NLAlib.Ops.integral_comp_of_indepFun {Ω : Type} {mΩ : MeasurableSpace Ω} {α β : Type}
  [MeasurableSpace α] [MeasurableSpace β] {P : Measure Ω} [IsProbabilityMeasure P] {X : Ω → α}
  {W : Ω → β} {φ : α → β → ℝ} (hXW : X ⟂ᵢ[P] W) (hX : Measurable X) (hW : Measurable W)
  (hφ : Measurable (Function.uncurry φ)) (hint : Integrable (fun ω ↦ φ (X ω) (W ω)) P) :
  ∫ (ω : Ω), φ (X ω) (W ω) ∂P = ∫ (ω : Ω), ∫ (w : β), φ (X ω) w ∂Measure.map W P ∂P

Full source on GitHub

Import NLAlib.Ops.TapeLaw.