Documentation

MIPStarRE.LDT.Basic.DistributionPMF

PMF expectations associated to project distributions #

This module relates the project Distribution averaging notation to the finite expectation PMF.realWeightedSum on Mathlib probability mass functions. The statements keep the project-facing averages available while allowing later probability arguments to cite the associated Mathlib PMF object directly. The module-valued finite-sum algebra for uniform project distributions lives in MIPStarRE.LDT.Basic.DistributionUniformSums; this file records the additional comparison with PMF.realWeightedSum.

Main declarations #

References #

These are formalization-internal finite probability lemmas for the low individual degree test development.

theorem MIPStarRE.LDT.Distribution.weightedSumLinearMap_eq_toPMF_realWeightedSum {α : Type u_1} {M : Type u_2} [Fintype α] [AddCommMonoid M] [Module Error M] (𝒟 : Distribution α) (h𝒟 : 𝒟.IsProbability) (f : αM) :
(weightedSumLinearMap M 𝒟) f = (𝒟.toPMF h𝒟).realWeightedSum f

The module-valued weighted sum against a probabilistic Distribution agrees with finite expectation against its associated Mathlib probability mass function.

The weighted-sum linear map of a probabilistic Distribution is the finite-expectation linear map of its associated Mathlib probability mass function.

theorem MIPStarRE.LDT.avgOver_eq_toPMF_realWeightedSum {α : Type u_1} [Fintype α] (𝒟 : Distribution α) (h𝒟 : 𝒟.IsProbability) (f : αError) :
avgOver 𝒟 f = (𝒟.toPMF h𝒟).realWeightedSum f

Averaging against a probabilistic project distribution is the finite expectation against its associated Mathlib probability mass function.

Operator-valued averaging against a probabilistic project distribution is the finite expectation against its associated Mathlib probability mass function.

Module-valued finite expectation for the uniform distribution, stated directly in terms of Mathlib's uniform probability mass function.

The uniform average is the finite expectation against Mathlib's uniform probability mass function.

The uniform operator average is the finite expectation against Mathlib's uniform probability mass function.