Average lemmas for operator-valued averages over finite-support distributions #
This is the counterpart, in the port of the low-individual-degree test to the symmetric model
(planning/c6b-plan.md, milestone M0, and its section "Port conventions"), of the operator part
of MIPRE/Background/LIDT/MIPStarRE/LDT/Basic/DistributionAvg.lean: the operator-valued forms
of the module-valued finite-sum rules for uniform distributions, the comparison of operator
averages with Mathlib probability mass functions, and the factoring of fixed left and right
multiplications through an average.
As in MIPRE/Background/LIDT/Co/Basic/Distribution.lean, the operators live in any real module
R; the multiplication lemma asks for a (not necessarily unital or associative) semiring 𝒜
(named so because the vendored lemma calls its right factor R) whose real scalars commute and
associate with the product (IsScalarTower ℝ 𝒜 𝒜, SMulCommClass ℝ 𝒜 𝒜), and the bound by
the identity the order structure of averageOperatorOverDistribution_le_one_of_isProbability.
The local C*-algebra and K →L[ℂ] K have all of these instances.
Not ported #
The scalar averaging lemmas of the vendored file, which this file imports:
avgOver_zero: classical, imported.avgOver_mono: classical, imported.avgOver_nonneg: classical, imported.avgOver_add: classical, imported.avgOver_sub: classical, imported.avgOver_const_mul: classical, imported.avgOver_mul_const: classical, imported.avgOver_sum: classical, imported.avgOver_finset_sum: classical, imported.avgOver_comm: classical, imported.avgOver_congr: classical, imported.avgOver_congr_on_support: classical, imported.avgOver_mono_on_support: classical, imported.avgOver_const: classical, imported.avgOver_const_of_isProbability: classical, imported.avgOver_le_of_weight_sum_le_one: classical, imported.avgOver_eq_toPMF_support_sum: classical, imported.avgOver_eq_toPMF_sum: classical, imported.avgOver_eq_toPMF_integral: classical, imported.Distribution.IsProbability.avgOver_le_of_forall_le_on_support: classical, imported.totalVariationDistance_eq_sum_max_sub: classical, imported.avgOver_le_avgOver_add_totalVariationDistance: classical, imported.avgOver_uniform_const: classical, imported.avgOver_uniform_eq_pmf_sum: classical, imported.avgOver_uniformOnFinset_eq_pmf_sum: classical, imported.avgOver_uniformOnFinset_eq_pmf_integral: classical, imported.avgOver_uniform_eq_pmf_integral: classical, imported.avgOver_uniformOnFinset_eq_subtype: classical, imported.avgOver_uniform_le_of_forall_le_on_support: classical, imported.avgOver_uniform_le_const: classical, imported.avgOver_uniform_equiv: classical, imported.avgOver_uniformOnFinset_equiv: classical, imported.avgOver_uniformOnFinset_filter_eq_subtype: classical, imported.avgOver_uniformOnFinset_filter_equiv: classical, imported.avgOver_uniform_prod: classical, imported.avgOver_uniform_comm: classical, imported.avgOver_uniform_prod_swap: classical, imported.avgOver_uniform_sum_eq_card_mul_prod: classical, imported.avgOver_uniform_equiv_prod: classical, imported.avgOver_uniform_equiv_prod_swap: classical, imported.avgOver_uniform_equiv_fst: classical, imported.avgOver_uniform_equiv_snd: classical, imported.avgOver_uniform_fst: classical, imported.avgOver_uniform_snd: classical, imported.
Fixed left and right multiplications factor through an operator average.
Operator-valued averaging against a probabilistic project distribution is the finite operator sum over the stored support against the associated Mathlib probability mass function.
Operator-valued averaging against a probabilistic project distribution is the finite sum against its associated Mathlib probability mass function.
The uniform operator average is the finite operator sum weighted by
PMF.uniformOfFintype.
A finite-support uniform operator average is the corresponding Mathlib uniform PMF sum.
Reindexing a uniform operator average along an equivalence preserves its value.
A uniform operator average over a finite support is the same as the uniform operator average over the corresponding finite subtype.
A uniform operator average over a finite support may be reindexed by any finite type equivalent to that support subtype.
A uniform operator average over a filtered finite support is the uniform operator average over the finite subtype satisfying the predicate.
A uniform operator average over a filtered finite type may be reindexed by any finite seed type equivalent to the predicate subtype.
A uniform average of effects is again bounded above by the identity operator.