Documentation

CslibFrontier.Probability.Product.MapMeasure

Finite images of product measures #

Applying almost everywhere measurable maps into finite types coordinatewise to an independent sample from a product of probability measures gives an independent sample from the product of the image distributions. This turns statements about a finite statistic of i.i.d. samples on an arbitrary measurable space, such as the number of samples in an event, into statements about the finite product Cslib.Probability.PMF.pi, where the PMF concentration bounds apply: Hoeffding's Cslib.Probability.PMF.pi_sum_abs_sub_mean_ge and the Chernoff bounds such as Cslib.Probability.PMF.pi_sum_le_one_sub_mul.

Main results #

theorem Cslib.Probability.PMF.map_measurePi_eq_toMeasure_pi {ι : Type u_1} [Fintype ι] {Z : ι → Type u_2} {β : ι → Type u_3} [(i : ι) → MeasurableSpace (Z i)] [(i : ι) → MeasurableSpace (β i)] [∀ (i : ι), MeasurableSingletonClass (β i)] [∀ (i : ι), Finite (β i)] (μ : (i : ι) → MeasureTheory.Measure (Z i)) [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] {g : (i : ι) → Z i → β i} (hg : ∀ (i : ι), AEMeasurable (g i) (μ i)) :
MeasureTheory.Measure.map (fun (z : (i : ι) → Z i) (i : ι) => g i (z i)) (MeasureTheory.Measure.pi μ) = (pi fun (i : ι) => (MeasureTheory.Measure.map (g i) (μ i)).toPMF).toMeasure

The image of a product of probability measures under coordinatewise almost everywhere measurable maps into finite types is the measure of the product of the image distributions.