QPBT definitions: Games / DistributionMarginals
DefinitionQPBT_QPBT_Games_DistributionMarginalsqpbt
This bundle records the uniform-distribution marginal identity used by low-degree sampling laws. The identity is independent of the auxiliary finiteness and decidability data chosen to construct the distributions.
Principal definitions:
MIPStarRE.QPBT.uniformDistribution_map_fst_of_equiv: the first-coordinate marginal of a uniform distribution transported through an equivalence.
Formalization Credit. This Lean declaration is part of the Quantum Pauli basis test formalization by Ruixuan Deng. The source code was generated by AI agents; Ruixuan Deng is the responsible maintainer.
Mathematical Source. The mathematical source is Ji, Natarajan, Vidick, Wright, and Yuen, MIP*=RE, arXiv:2001.04383v3.
Definition code
-- Generated from QPBT/Games/DistributionMarginals.lean by skeleton subtraction.
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_AxisParallelLine
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_DiagonalLine
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_Distribution
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_LinePolynomials
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_LowDegreePolynomial
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_OpFamily
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_ParametersBase
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_ParametersFiniteAnswers
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_QuantumState
import Definitions.Def_LIDT_MIPStarRE_LDT_CommutativityPoints_Defs
import Definitions.Def_LIDT_MIPStarRE_LDT_ExpansionHypercubeGraph_Defs_Core
import Definitions.Def_LIDT_MIPStarRE_LDT_GlobalVariance_Defs_Core
import Definitions.Def_LIDT_MIPStarRE_LDT_MakingMeasurementsProjective_Defs
import Definitions.Def_LIDT_MIPStarRE_LDT_Pasting_Defs_Families
import Definitions.Def_LIDT_MIPStarRE_LDT_Pasting_Defs_Interpolation
import Definitions.Def_LIDT_MIPStarRE_LDT_Tactic_AvgCongr
import Definitions.Def_LIDT_MIPStarRE_LDT_Test_StrategyCore
import Definitions.Def_QPBT_QPBT_Games_DistributionAux
namespace LIDT.MIPStarRE.LDT
end LIDT.MIPStarRE.LDT
namespace MIPStarRE.QPBT
end MIPStarRE.QPBT
/-!
# Products, marginals, and restrictions of finite distributions
The finite-distribution push-forward calculus gives corresponding identities
for probability mass functions and for projections transported across finite
equivalences. These forms are used by the directly indexed low-degree
line-point laws and by the correspondence between the seed-indexed and directly
indexed question distributions. Products can be expressed as dependent mixtures, and
conditioning on an event of one factor preserves the independence of the other.
## References
- `references/qpbt-paper/08_classical_and_quantum_low_degree_tests.tex:243-272`
- `references/qpbt-paper/14_analysis_of_the_pauli_basis_test.tex:1063-1116`
- `docs/paper-gaps/qpbt_ld-dimension-divisibility.tex`
-/
@[expose] public section
open scoped BigOperators
namespace MIPStarRE.QPBT
open LIDT.MIPStarRE.LDT
/-- Formalization-only lemma for the low-degree sampling laws: if an
equivalence identifies a nonempty finite set with the product of two nonempty
finite sets and a map agrees with the first projection, then the map sends the
uniform law to the uniform law on the first factor. This is
`lem:uniform-first-marginal-after-equivalence` in blueprint chapter 13. -/
theorem uniformDistribution_map_fst_of_equiv
{alpha beta gamma : Type*}
[Fintype alpha] [DecidableEq alpha] [Nonempty alpha]
[Fintype beta] [DecidableEq beta] [Nonempty beta]
[Finite gamma] [Nonempty gamma]
(e : alpha ≃ beta × gamma) (f : alpha → beta)
(hf : ∀ a, f a = (e a).1) :
(_root_.LIDT.MIPStarRE.LDT.uniformDistribution alpha).map f = _root_.LIDT.MIPStarRE.LDT.uniformDistribution beta := by
classical
letI : Fintype gamma := Fintype.ofFinite gamma
calc
(_root_.LIDT.MIPStarRE.LDT.uniformDistribution alpha).map f =
(_root_.LIDT.MIPStarRE.LDT.uniformDistribution alpha).map (fun a => (e a).1) := by
congr 1
funext a
exact hf a
_ = ((_root_.LIDT.MIPStarRE.LDT.uniformDistribution alpha).map e).map Prod.fst :=
(_root_.MIPStarRE.QPBT.Distribution.map_map _ _ _).symm
_ = (_root_.LIDT.MIPStarRE.LDT.uniformDistribution (beta × gamma)).map Prod.fst := by
rw [_root_.MIPStarRE.QPBT.uniformDistribution_map_equiv]
_ = _root_.LIDT.MIPStarRE.LDT.uniformDistribution beta := _root_.MIPStarRE.QPBT.uniformDistribution_map_fst
/-! ## Nonemptiness of the support of a probability law -/
/-! ## Push-forward of one factor of a product -/
/-! ## The first marginal of a product -/
/-! ## A product as a dependent mixture -/
/-! ## The support and the weight of a product -/
/-! ## Push-forward along a bijection -/
/-! ## Push-forward of the second factor of a product -/
/-! ## Uniform laws on products -/
/-! ## Conditioning one factor of a product -/
/-! ## Conditioning the first factor of a product -/
/-! ## Restriction of a push-forward -/
end MIPStarRE.QPBT
Source