NLA-lib Explorer

ProbabilityTheory.HasLaw.integral_comp_eq_integral_integral_of_dependsOn

Library · theorem

Conditioning on the past of an i.i.d. sequence (Fubini): for an i.i.d. sequence \xi = (\xi_0, \xi_1, \dots) with law \nu (the hypothesis HasLaw ξ (Measure.infinitePi fun _ : ℕ => ν) μ), a measurable F of the sequence that depends only on \xi_0, \dots, \xi_{q-1}, and f integrable for the product of the law of F(\xi) and \nu, \int f(F(\xi), \xi_q)\,d\mu = \int\!\!\int f(F(\xi), s)\,d\nu(s)\,d\mu\,. The q-th term is independent of F(\xi) (ProbabilityTheory.iIndepFun.indepFun_comp_of_dependsOn), and the joint law is the product. Upstream candidate.

ProbabilityTheory.HasLaw.integral_comp_eq_integral_integral_of_dependsOn.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {β : Type u_2} {α : Type u_3}
  {E : Type u_4} [MeasurableSpace β] [MeasurableSpace α] [NormedAddCommGroup E] [NormedSpace ℝ E]
  {ν : Measure β} [IsProbabilityMeasure ν] {ξ : Ω → ℕ → β}
  (hξ : HasLaw ξ (Measure.infinitePi fun x ↦ ν) μ) {q : ℕ} {F : (ℕ → β) → α} (hF : Measurable F)
  (hFq : DependsOn F (Set.Iio q)) {f : α × β → E}
  (hf : Integrable f ((Measure.map (fun ω ↦ F (ξ ω)) μ).prod ν)) :
  ∫ (ω : Ω), f (F (ξ ω), ξ ω q) ∂μ = ∫ (ω : Ω), ∫ (s : β), f (F (ξ ω), s) ∂ν ∂μ

Full source on GitHub

Import NLAlib.ForMathlib.Probability.Independence.InfinitePi.