Conditioning on the past of an i.i.d. sequence
Library · Source module
Conditioning on the past of an i.i.d. sequence
An i.i.d. sequence with law \nu is a random variable \xi : \Omega \to (\mathbb{N} \to \beta) with law Measure.infinitePi fun _ : ℕ => ν. A measurable function F of the sequence that depends only on its first q terms is independent of the q-th term, so an expectation of a function of the pair (F(\xi), \xi_q) is the expectation over the past of the average over a fresh sample, \int f(F(\xi), \xi_q)\,d\mu = \int\!\int f(F(\xi), s)\,d\nu(s)\,d\mu. This is the one probabilistic step of every expectation bound for an iterated random method (randomized Kaczmarz, sketch-and-project) without conditional expectations.
Mathlib has the product measure and the independence of its coordinates (ProbabilityTheory.iIndepFun_iff_hasLaw_Pi_infinitePi) but not this statement. Upstream candidate for Mathlib/Probability/Independence/InfinitePi.lean.
## Main results
* ProbabilityTheory.HasLaw.integral_comp_eq_integral_integral_of_dependsOn: conditioning on the past of an i.i.d. sequence.