Documentation

MIPRE.Background.LIDT.Co.Basic.DistributionAvg

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:

theorem MIPRE.LIDT.Co.averageOperatorOverDistribution_mul_left_right {α : Type u_1} {𝒜 : Type u_2} [NonUnitalNonAssocSemiring 𝒜] [Module ℝ 𝒜] [IsScalarTower ℝ 𝒜 𝒜] [SMulCommClass ℝ 𝒜 𝒜] (𝒟 : MIPStarRE.LDT.Distribution α) (L R : 𝒜) (A : α → 𝒜) :
(averageOperatorOverDistribution 𝒟 fun (a : α) => L * A a * R) = L * averageOperatorOverDistribution 𝒟 A * R

Fixed left and right multiplications factor through an operator average.

theorem MIPRE.LIDT.Co.averageOperatorOverDistribution_eq_toPMF_support_sum {α : Type u_1} (𝒟 : MIPStarRE.LDT.Distribution α) (h𝒟 : 𝒟.IsProbability) {R : Type u_2} [AddCommMonoid R] [Module ℝ R] (f : α → R) :
averageOperatorOverDistribution 𝒟 f = ∑ a ∈ 𝒟.support, ((𝒟.toPMF h𝒟) a).toReal • f a

Operator-valued averaging against a probabilistic project distribution is the finite operator sum over the stored support against the associated Mathlib probability mass function.

theorem MIPRE.LIDT.Co.averageOperatorOverDistribution_eq_toPMF_sum {α : Type u_1} [Fintype α] (𝒟 : MIPStarRE.LDT.Distribution α) (h𝒟 : 𝒟.IsProbability) {R : Type u_2} [AddCommMonoid R] [Module ℝ R] (f : α → R) :
averageOperatorOverDistribution 𝒟 f = ∑ a : α, ((𝒟.toPMF h𝒟) a).toReal • f a

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.