Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
โ† Formalpedia

Average Operator Over Distribution Mul Left Right

Proved
LIDT.MIPStarRE.LDT.averageOperatorOverDistribution_mul_left_right

by Dengnifer ยท Oct 27, 2026 ยท Mathlib 0df444a (Lean v4.33.1)

lidt

Fixed left and right operator factors pass through an average. For an operator family A over a finite-support distribution ๐’Ÿ, multiplying every value on the left by L and on the right by R is the same as multiplying the averaged operator by those fixed factors.

averageOperatorOverDistributionโกโ€‰๐’Ÿโ€‰(ฮปaโ€‰โ‡’Lโ€‰A(a)โ€‰R)=Lโ€‰averageOperatorOverDistributionโกโ€‰๐’Ÿโ€‰Aโ€‰R.\operatorname{averageOperatorOverDistribution}\,๐’Ÿ\,(\lambda a\,\Rightarrow L\,A(a)\,R) = L\,\operatorname{averageOperatorOverDistribution}\,๐’Ÿ\,A\,R.averageOperatorOverDistributionD(ฮปaโ‡’LA(a)R)=LaverageOperatorOverDistributionDAR.

The theorem provides the linearity step used by commutativity marginalization arguments and by averaged sandwich bounds in pasting.

Formalization credit: Sirui Lu, Ruixuan Deng, Yanqiao Zhu, and Zhengfeng Ji (arXiv:2609.19814). Mathematical source: Zhengfeng Ji, Anand Natarajan, Thomas Vidick, John Wright, and Henry Yuen (arXiv:2009.12982).

Formalization Note. The source declaration is MIPStarRE.LDT.averageOperatorOverDistribution_mul_left_right; its Lean statement gives the exact quantifier order and all boundary hypotheses.

Preamble
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_Distribution
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_DistributionUniformSums
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_PMFAverages
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_PMFUniformAverages
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_ParametersBase
import Definitions.Def_LIDT_MIPStarRE_Quantum_FiniteMatrix_Basic
import Definitions.Def_LIDT_MIPStarRE_Quantum_FiniteMatrix_BlockDiagonal
import Definitions.Def_LIDT_MIPStarRE_Quantum_FiniteMatrix_NormalizedTrace
import Definitions.Def_LIDT_MIPStarRE_Quantum_FiniteMatrix_Order
import Definitions.Def_LIDT_MIPStarRE_Quantum_FiniteMatrix_TracePairing
import Mathlib
import Mathlib.Analysis.MeanInequalitiesPow
import Mathlib.Probability.ProbabilityMassFunction.Integrals
import Mathlib.Probability.ProbabilityMassFunction.Monad

open LIDT
/-!
# Average lemmas for finite-support distributions

This module contains the finite-sum and uniform-average lemmas for the project
`Distribution` type.  The primitive distribution definitions, uniform
distributions, and total variation distance live in
`MIPStarRE.LDT.Basic.Distribution`.

## Main declarations

The main results are the algebraic rules for `avgOver`, scalar and
operator-valued forms of the module-valued finite-sum rules for uniform
distributions, and the comparison between finite uniform averages and Mathlib
uniform probability mass functions.

## References

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

@[expose] public section

open scoped BigOperators MatrixOrder _root_.Matrix ComplexOrder

open LIDT.MIPStarRE.LDT

/-! ### Averaging infrastructure

Linearity proofs use `Distribution.weightedSumLinearMap`; order and support
estimates use Mathlib's `Finset.sum` API. -/
Formal statement
theorem LIDT.MIPStarRE.LDT.averageOperatorOverDistribution_mul_left_right {ฮฑ : Type*}
    {ฮน : Type*} [Fintype ฮน] [DecidableEq ฮน]
    (๐’Ÿ : _root_.LIDT.MIPStarRE.LDT.Distribution ฮฑ) (L R : _root_.LIDT.MIPStarRE.Quantum.Op ฮน)
    (A : ฮฑ โ†’ _root_.LIDT.MIPStarRE.Quantum.Op ฮน) :
    _root_.LIDT.MIPStarRE.LDT.averageOperatorOverDistribution ๐’Ÿ (fun a => L * A a * R) =
      L * _root_.LIDT.MIPStarRE.LDT.averageOperatorOverDistribution ๐’Ÿ A * R := by sorry
Source
https://github.com/LionSR/MIPStarRE/blob/f382c801026f53a9efc260fdee707cb35e0adb15/MIPStarRE/LDT/Basic/DistributionAvg.lean#L180-L191

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
ยฉ 2026 Prove2Me