Uniform PMF finite-expectation identities #
This module contains high-level uniform-expectation identities for Mathlib
probability mass functions. The statements are phrased in terms of
PMF.realWeightedSum, rather than finite sums, so that product,
marginalization, equivalence-transport, and finite push-forward arguments can
be carried out directly in the probability-mass-function language.
Main declarations #
PMF.realWeightedSum_uniformOfFintype_commPMF.realWeightedSum_uniformOfFintype_prod_swapPMF.realWeightedSum_uniformOfFintype_equiv_prodPMF.realWeightedSum_uniformOfFintype_equiv_prod_swapPMF.realWeightedSum_uniformOfFintype_equiv_fstPMF.realWeightedSum_uniformOfFintype_equiv_sndPMF.realWeightedSum_uniformOfFintype_fstPMF.realWeightedSum_uniformOfFintype_sndPMF.realWeightedSum_map_uniformOfFintype_factor_equivPMF.realWeightedSum_map_uniformOfFintype_factor_equiv_fstPMF.realWeightedSum_map_uniformOfFintype_factor_equiv_snd
References #
These are formalization-internal finite probability lemmas for the low individual degree test development.
Swap two nested finite expectations against uniform probability mass functions.
Split a finite expectation against the uniform PMF on a product into iterated finite expectations, with the second coordinate averaged first.
Transport a finite expectation against a uniform PMF through an equivalence whose target is a product, then split the product expectation.
Transport a finite expectation against a uniform PMF through an equivalence whose target is a product, then split the product expectation with the second coordinate averaged first.
A finite expectation against a uniform PMF marginalizes a function depending only on the first coordinate of a product equivalence.
A finite expectation against a uniform PMF marginalizes a function depending only on the second coordinate of a product equivalence.
A finite expectation against the uniform PMF on a product marginalizes a function depending only on the first coordinate.
A finite expectation against the uniform PMF on a product marginalizes a function depending only on the second coordinate.
A pushed-forward uniform PMF has the uniform expectation induced by an equivalent observed coordinate.
A pushed-forward uniform PMF has the first-coordinate uniform marginal when the seed is equivalent to a product.
A pushed-forward uniform PMF has the second-coordinate uniform marginal when the seed is equivalent to a product.