Restrict Prod Snd
ProvedMIPStarRE.QPBT.Distribution.restrict_prod_sndRestricting a product law to an event depending on the second factor alone leaves the first factor unchanged and independent of the conditioned second factor. Blueprint lem:qld-sublines, paper references/qpbt-paper/14_analysis_of_the_pauli_basis_test.tex:1063-1116.
All objects, parameters, typeclass assumptions, and hypotheses are quantified in the accompanying formal statement; each symbol denotes the object of the displayed Lean type with that name. The conclusion is the proposition
This result is an importable reduction step in the formal dependency graph for the quantum Pauli basis test completeness or soundness argument.
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.
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` -/ open scoped BigOperators open MIPStarRE.QPBT open LIDT.MIPStarRE.LDT /-! ## 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 -/
theorem MIPStarRE.QPBT.Distribution.restrict_prod_snd {α β : Type*} [DecidableEq α]
[DecidableEq β] (μ : _root_.LIDT.MIPStarRE.LDT.Distribution α) (ν : _root_.LIDT.MIPStarRE.LDT.Distribution β)
(hμ : μ.IsProbability) (p : β → Prop) [DecidablePred p]
(hpos : 0 < ∑ b ∈ ν.support.filter p, ν.weight b)
(hpos' : 0 < ∑ w ∈ (_root_.MIPStarRE.QPBT.Distribution.prod μ ν).support.filter
(fun w => p w.2), (_root_.MIPStarRE.QPBT.Distribution.prod μ ν).weight w) :
_root_.MIPStarRE.QPBT.Distribution.restrict (_root_.MIPStarRE.QPBT.Distribution.prod μ ν) (fun w => p w.2) hpos' =
_root_.MIPStarRE.QPBT.Distribution.prod μ (_root_.MIPStarRE.QPBT.Distribution.restrict ν p hpos) := by sorry