Documentation

MIPRE.Background.QLD.Multilinear

The mass at non-multilinear outcomes (lem:qld-exact-paulis, the approximate half) #

The Pauli construction of MIPRE/Background/QLD/ExactPauli.lean reads an outcome g of the simultaneous measurement through the multilinear interpolant of its values on the boolean cube, Coded(g) ยท ind_m(u), rather than through g(u) itself. The two agree exactly when g is multilinear and not otherwise, so the construction is consistent with the strategy's point measurement up to the mass the simultaneous measurement puts on non-multilinear outcomes.

That mass is what the paper's lem:qld-construct-the-paulis bounds, in an argument it repaired twice. The repair is to compare the outcome not with the point measurement --- whose label depends on the sampled point --- but with a projective family indexed by cube data, which does not. Then the point is independent of the operators, and Schwartz--Zippel applies in the direction it is true in: two distinct polynomials of total degree md agree on at most an md/q fraction.

This file is the aggregation step, stated so that its two inputs are visible: a lower bound on the agreement with the cube-data family, and a uniform bound on the probability that a bad outcome agrees with any one of its labels.

Stated in a bipartite model #

Stated in a bipartite model (Phase 5 of planning/mipco-track.md). The pair measurement is a SimulPair M S K ฮน ฮด of a projective strategy S of a bipartite model M: its marginals are POVMs in K's first algebra, and the second player's expanded measurements --- the hatted point measurement and the hatted Pauli basis measurement hatPauli, POVMs of the register model M.reg (Anc F m) --- are read in K through the embedding ฮน. The aggregation and substitution steps are stated in any bipartite model; the squared distance they meet is carried from the register model to K exactly (SimulPair.normSq_stateVecB_aOp). The projectivity of the strategy, a hypothesis of the matrix statements, is a field of S.

theorem MIPRE.sum_mass_off_le {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {G : Type u_4} {K : Type u_5} {X : Type u_6} [Fintype G] [DecidableEq G] [Fintype K] [Fintype X] {F : Type u_7} [DecidableEq F] {ฮผ : X โ†’ โ„} (hฮผ0 : โˆ€ (x : X), 0 โ‰ค ฮผ x) (hฮผ : โˆ‘ x : X, ฮผ x = 1) {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : โ€–M.ฯˆโ€– = 1) {S : G โ†’ ๐’œ} (hS : IsPVMIn S) {N : K โ†’ โ„ฌ} (hN : IsPVMIn N) (val : K โ†’ X โ†’ F) (ev : G โ†’ X โ†’ F) {ML : Finset G} {ฮท c : โ„} (hc : 0 โ‰ค c) (hlow : 1 - ฮท โ‰ค โˆ‘ g : G, โˆ‘ x : X, ฮผ x * โˆ‘ k : K with val k x = ev g x, M.bornProb (S g) (N k)) (hagree : โˆ€ g โˆ‰ ML, โˆ€ (k : K), (โˆ‘ x : X, ฮผ x * if val k x = ev g x then 1 else 0) โ‰ค c) :
โˆ‘ g โˆˆ Finset.univ \ ML, M.bornProb (S g) 1 โ‰ค ฮท + c

The aggregation step. S is a projective measurement of one player and N one of the other, val and ev two labellings by a field element at each question, and the agreement of S with N under matching labels is at least 1 - ฮท. If off a set ML every outcome of S matches every label of N with probability at most c, the mass of S off ML is at most ฮท + c.

theorem MIPRE.abs_sum_weighted_bornProb_le {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] {X : Type u_6} [Fintype X] {C : Type u_7} [Fintype C] {ฮผ : X โ†’ โ„} (hฮผ0 : โˆ€ (x : X), 0 โ‰ค ฮผ x) (hฮผ : โˆ‘ x : X, ฮผ x = 1) {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : โ€–M.ฯˆโ€– = 1) {T : X โ†’ C โ†’ ๐’œ} (hT : โˆ€ (x : X), IsPVMIn (T x)) (D : X โ†’ C โ†’ โ„ฌ) :
|โˆ‘ x : X, ฮผ x * โˆ‘ c : C, M.bornProb (T x c) (D x c)| โ‰ค โˆš(โˆ‘ x : X, ฮผ x * โˆ‘ c : C, M.swap.stateSqNorm (D x c))

The averaged substitution estimate. Against a projective family at each question, an agreement with any family of the other player is bounded by the root of that family's average weight: Cauchy--Schwarz at each question, then Jensen for the average.

theorem MIPRE.sum_filter_bornProb_eq {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {G : Type u_4} {K : Type u_5} [Fintype G] [Fintype K] {C : Type u_7} [Fintype C] [DecidableEq C] (M : BipartiteModel ๐’ž ๐’œ โ„ฌ) (S : POVMIn G ๐’œ) (N : POVMIn K โ„ฌ) (ev : G โ†’ C) (val : K โ†’ C) :
โˆ‘ g : G, โˆ‘ k : K with val k = ev g, M.bornProb (S.op g) (N.op k) = โˆ‘ c : C, M.bornProb ((POVMIn.map ev S).op c) ((POVMIn.map val N).op c)

Grouping an agreement by the common label. Summing the Born probabilities of all outcome pairs whose labels match is the same as summing the two coarse-grained measurements against each other at each label. This is what lets the helper's agreement, which is stated at an outcome in F_q, be read as an agreement between the polynomial-indexed marginal and a point-independent family of the other player.

theorem MIPRE.sum_bornProb_map_eq {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] {G : Type u_4} [Fintype G] {C : Type u_7} [Fintype C] [DecidableEq C] (M : BipartiteModel ๐’ž ๐’œ โ„ฌ) (S : POVMIn G ๐’œ) (ev : G โ†’ C) (N : C โ†’ โ„ฌ) :
โˆ‘ c : C, M.bornProb ((POVMIn.map ev S).op c) (N c) = โˆ‘ g : G, M.bornProb (S.op g) (N (ev g))

Reading a coarse-grained measurement against a family indexed by the labels is reading the original measurement against the family at its own label.

theorem MIPRE.abs_sum_weighted_sub_le {X : Type u_6} [Fintype X] {ฮผ : X โ†’ โ„} (hฮผ0 : โˆ€ (x : X), 0 โ‰ค ฮผ x) (hฮผ : โˆ‘ x : X, ฮผ x = 1) (f g : X โ†’ โ„) {B : โ„} (h : โˆ€ (x : X), |f x - g x| โ‰ค B) :
|โˆ‘ x : X, ฮผ x * f x - โˆ‘ x : X, ฮผ x * g x| โ‰ค B

Averaging a pointwise bound on a difference.

Multilinear outcomes, and Schwartz--Zippel against every cube datum at once #

def MIPRE.QLD.IsML {F : Type u_1} [Field F] {m d : โ„•} (g : LIDT.LowIndDegPoly) :

A multilinear outcome: every monomial has each exponent at most one, so the outcome is its own multilinear interpolant.

Equations
Instances For
    @[instance_reducible]
    Equations

    A non-multilinear outcome has an individual degree above one, so it is distinct from the interpolant of every cube datum.

    theorem MIPRE.QLD.sum_uniform_agree_ldEnc_le {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] (hd : 1 โ‰ค d) {g : LIDT.LowIndDegPoly} (hg : ยฌIsML g) (k : Anc F m) :
    (โˆ‘ u : LIDT.Point F m, uniform (LIDT.Point F m) u * if Weyl.dotF k (LowDegree.indVec u) = g.eval u then 1 else 0) โ‰ค โ†‘m * โ†‘d / โ†‘(Fintype.card F)

    Schwartz--Zippel, in the direction the repair needs: a non-multilinear outcome agrees with the interpolant of a cube datum at a uniform point with probability at most md/q, and the bound does not depend on the datum.

    Outcomes the Pauli construction reads correctly #

    mTilde labels the outcome g not by g(u) but by \coded(g) . ind_m(u), the value at u of the low-degree encoding of g's values on the boolean cube. The two agree exactly on the outcomes that are their own encoding, and the appendix's repair is to bound the mass off that set. IsML is the syntactic version of the set; IsInterp is the semantic one, and it is the one the construction needs, because it is also what makes Schwartz--Zippel apply off it.

    def MIPRE.QLD.cubeData {F : Type u_1} [Field F] {m d : โ„•} (g : LIDT.LowIndDegPoly) :
    Anc F m

    The cube data of an outcome: its values on {0,1}^m, the paper's \coded(g).

    Equations
    Instances For
      def MIPRE.QLD.IsInterp {F : Type u_1} [Field F] {m d : โ„•} (g : LIDT.LowIndDegPoly) :

      An outcome that is the low-degree encoding of its own cube data.

      Equations
      Instances For
        theorem MIPRE.QLD.cubeData_eq_of_eq_ldEnc {F : Type u_1} [Field F] {m d : โ„•} {g : LIDT.LowIndDegPoly} {k : Anc F m} (h : g.toMv = LowDegree.ldEnc k) :

        The cube data of an encoding is the data it encodes.

        theorem MIPRE.QLD.isInterp_of_exists {F : Type u_1} [Field F] {m d : โ„•} {g : LIDT.LowIndDegPoly} (h : โˆƒ (k : Anc F m), g.toMv = LowDegree.ldEnc k) :

        So being some encoding is being one's own.

        An outcome that is not an interpolant is distinct from the encoding of every cube datum, which is what makes the Schwartz--Zippel bound below uniform in the datum.

        theorem MIPRE.QLD.dotF_cubeData_indVec {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {g : LIDT.LowIndDegPoly} (hg : IsInterp g) (u : LIDT.Point F m) :

        On an interpolant the construction's label is the outcome's own value, which is exactly why the substitution is free there.

        theorem MIPRE.QLD.sum_uniform_agree_ldEnc_le_of_not_isInterp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] (hd : 1 โ‰ค d) {g : LIDT.LowIndDegPoly} (hg : ยฌIsInterp g) (k : Anc F m) :
        (โˆ‘ u : LIDT.Point F m, uniform (LIDT.Point F m) u * if Weyl.dotF k (LowDegree.indVec u) = g.eval u then 1 else 0) โ‰ค โ†‘m * โ†‘d / โ†‘(Fintype.card F)

        Schwartz--Zippel off the interpolants, uniformly in the cube datum.

        The marginal indexed by polynomials #

        evalMarg reads the pair measurement's W component through its value at the sampled point, so the family it names depends on the point. The repaired argument needs a family that does not: the Schwartz--Zippel bound is applied to a fixed outcome operator against a point drawn afterwards. polyMarg is that family, and evalMarg is its coarse-graining at each point.

        def MIPRE.QLD.polyMarg {F : Type u_1} [Fintype F] [DecidableEq F] {m d : โ„•} {R : Type u_2} [Ring R] [StarRing R] [PartialOrder R] [StarOrderedRing R] (S : POVMIn (PolyPair F m d) R) (W : Bas) :

        The W marginal of a pair measurement, indexed by polynomials.

        Equations
        Instances For
          theorem MIPRE.QLD.evalMarg_eq_map_polyMarg {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {m d : โ„•} {R : Type u_2} [Ring R] [StarRing R] [PartialOrder R] [StarOrderedRing R] (S : POVMIn (PolyPair F m d) R) (W : Bas) (u : LIDT.Point F m) :
          evalMarg S W u = POVMIn.map (fun (g : LIDT.LowIndDegPoly) => g.eval u) (polyMarg S W)

          The evaluated marginal is the polynomial marginal read at the point.

          theorem MIPRE.QLD.isPVM_polyMarg {F : Type u_1} [Fintype F] [DecidableEq F] {m d : โ„•} {R : Type u_2} [Ring R] [StarRing R] [PartialOrder R] [StarOrderedRing R] {S : POVMIn (PolyPair F m d) R} (hS : IsPVMIn S.op) (W : Bas) :

          The polynomial marginal of a projective pair measurement is projective.

          The mass the simultaneous measurement puts on non-multilinear outcomes #

          theorem MIPRE.QLD.isPVM_hatPauli {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_2} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] {P : Question F m โ†’ POVMIn (Answer F m d) R} (hP : โˆ€ (q : Question F m), IsPVMIn (P q).op) (W : Bas) :

          The hatted Pauli family is projective: a product of two projective measurements, coarse grained along the sum of their outcomes.

          theorem MIPRE.QLD.SimulPair.sum_bornProb_hatPauli_ge {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {๐’ž : Type u_2} {๐’œ : Type u_3} {โ„ฌ : Type u_4} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] {๐’ž' : Type u_5} {๐’œ' : Type u_6} {โ„ฌ' : Type u_7} [Ring ๐’ž'] [StarRing ๐’ž'] [Algebra โ„‚ ๐’ž'] [Ring ๐’œ'] [StarRing ๐’œ'] [Algebra โ„‚ ๐’œ'] [Ring โ„ฌ'] [StarRing โ„ฌ'] [Algebra โ„‚ โ„ฌ'] [PartialOrder ๐’œ'] [StarOrderedRing ๐’œ'] [PartialOrder โ„ฌ'] [StarOrderedRing โ„ฌ'] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {S : M.ProjStrat (qldGame hm)} {K : BipartiteModel ๐’ž' ๐’œ' โ„ฌ'} {ฮน : (M.reg (Anc F m)).Embedding K} {ฮด : โ„} (P : SimulPair M S K ฮน ฮด) {ฮต : โ„} (hfail : 1 - S.value โ‰ค ฮต) (W : Bas) :
          1 - ฮด - โˆš(688 * ฮต) โ‰ค โˆ‘ u : LIDT.Point F m, uniform (LIDT.Point F m) u * โˆ‘ a : F, K.bornProb ((evalMarg P.SA W u).op a) (ฮน.ฮฆB ((POVMIn.map (fun (k : (Fin m โ†’ Bool) โ†’ F) => Weyl.dotF k (LowDegree.indVec u)) (hatPauli S.PB W)).op a))

          The substitution. Replacing Bob's expanded point measurement by the point-independent hatted Pauli family inside the helper's agreement costs sqrt (688 eps): one Cauchy--Schwarz at each point against Alice's projective marginal, then Jensen for the average over points.

          theorem MIPRE.QLD.SimulPair.sum_bornProb_off_le {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {๐’ž : Type u_2} {๐’œ : Type u_3} {โ„ฌ : Type u_4} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] {๐’ž' : Type u_5} {๐’œ' : Type u_6} {โ„ฌ' : Type u_7} [Ring ๐’ž'] [StarRing ๐’ž'] [Algebra โ„‚ ๐’ž'] [Ring ๐’œ'] [StarRing ๐’œ'] [Algebra โ„‚ ๐’œ'] [Ring โ„ฌ'] [StarRing โ„ฌ'] [Algebra โ„‚ โ„ฌ'] [PartialOrder ๐’œ'] [StarOrderedRing ๐’œ'] [PartialOrder โ„ฌ'] [StarOrderedRing โ„ฌ'] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {S : M.ProjStrat (qldGame hm)} {K : BipartiteModel ๐’ž' ๐’œ' โ„ฌ'} {ฮน : (M.reg (Anc F m)).Embedding K} {ฮด : โ„} (P : SimulPair M S K ฮน ฮด) {ฮต : โ„} (hfail : 1 - S.value โ‰ค ฮต) (W : Bas) {ML : Finset LIDT.LowIndDegPoly} {c : โ„} (hc : 0 โ‰ค c) (hagree : โˆ€ g โˆ‰ ML, โˆ€ (k : Anc F m), (โˆ‘ u : LIDT.Point F m, uniform (LIDT.Point F m) u * if Weyl.dotF k (LowDegree.indVec u) = g.eval u then 1 else 0) โ‰ค c) :
          โˆ‘ g โˆˆ Finset.univ \ ML, K.bornProb ((polyMarg P.SA W).op g) 1 โ‰ค ฮด + โˆš(688 * ฮต) + c

          The mass off a set of outcomes, the critical step of lem:qld-construct-the-paulis. Alice's polynomial-indexed marginal agrees, at a point sampled after the operators are fixed, with the point-independent hatted Pauli family; if off ML an outcome can agree with any one cube datum with probability at most c, the mass the marginal puts off ML is at most the sum of the two errors.

          theorem MIPRE.QLD.SimulPair.sum_bornProb_not_isML_le {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {๐’ž : Type u_2} {๐’œ : Type u_3} {โ„ฌ : Type u_4} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] {๐’ž' : Type u_5} {๐’œ' : Type u_6} {โ„ฌ' : Type u_7} [Ring ๐’ž'] [StarRing ๐’ž'] [Algebra โ„‚ ๐’ž'] [Ring ๐’œ'] [StarRing ๐’œ'] [Algebra โ„‚ ๐’œ'] [Ring โ„ฌ'] [StarRing โ„ฌ'] [Algebra โ„‚ โ„ฌ'] [PartialOrder ๐’œ'] [StarOrderedRing ๐’œ'] [PartialOrder โ„ฌ'] [StarOrderedRing โ„ฌ'] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {S : M.ProjStrat (qldGame hm)} {K : BipartiteModel ๐’ž' ๐’œ' โ„ฌ'} {ฮน : (M.reg (Anc F m)).Embedding K} {ฮด : โ„} (P : SimulPair M S K ฮน ฮด) {ฮต : โ„} (hfail : 1 - S.value โ‰ค ฮต) (hd : 1 โ‰ค d) (W : Bas) :
          โˆ‘ g โˆˆ Finset.univ \ Finset.filter IsML Finset.univ, K.bornProb ((polyMarg P.SA W).op g) 1 โ‰ค ฮด + โˆš(688 * ฮต) + โ†‘m * โ†‘d / โ†‘(Fintype.card F)

          The mass at non-multilinear outcomes.

          theorem MIPRE.QLD.SimulPair.sum_bornProb_not_isInterp_le {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {๐’ž : Type u_2} {๐’œ : Type u_3} {โ„ฌ : Type u_4} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] {๐’ž' : Type u_5} {๐’œ' : Type u_6} {โ„ฌ' : Type u_7} [Ring ๐’ž'] [StarRing ๐’ž'] [Algebra โ„‚ ๐’ž'] [Ring ๐’œ'] [StarRing ๐’œ'] [Algebra โ„‚ ๐’œ'] [Ring โ„ฌ'] [StarRing โ„ฌ'] [Algebra โ„‚ โ„ฌ'] [PartialOrder ๐’œ'] [StarOrderedRing ๐’œ'] [PartialOrder โ„ฌ'] [StarOrderedRing โ„ฌ'] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {S : M.ProjStrat (qldGame hm)} {K : BipartiteModel ๐’ž' ๐’œ' โ„ฌ'} {ฮน : (M.reg (Anc F m)).Embedding K} {ฮด : โ„} (P : SimulPair M S K ฮน ฮด) {ฮต : โ„} (hfail : 1 - S.value โ‰ค ฮต) (hd : 1 โ‰ค d) (W : Bas) :
          โˆ‘ g โˆˆ Finset.univ \ Finset.filter IsInterp Finset.univ, K.bornProb ((polyMarg P.SA W).op g) 1 โ‰ค ฮด + โˆš(688 * ฮต) + โ†‘m * โ†‘d / โ†‘(Fintype.card F)

          The mass at outcomes that are not the encoding of their own cube data --- the form the Pauli construction consumes, since it is exactly off this set that its label differs from the outcome's own value.

          theorem MIPRE.QLD.SimulPair.sum_bornProb_polyMarg_ge {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {๐’ž : Type u_2} {๐’œ : Type u_3} {โ„ฌ : Type u_4} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] {๐’ž' : Type u_5} {๐’œ' : Type u_6} {โ„ฌ' : Type u_7} [Ring ๐’ž'] [StarRing ๐’ž'] [Algebra โ„‚ ๐’ž'] [Ring ๐’œ'] [StarRing ๐’œ'] [Algebra โ„‚ ๐’œ'] [Ring โ„ฌ'] [StarRing โ„ฌ'] [Algebra โ„‚ โ„ฌ'] [PartialOrder ๐’œ'] [StarOrderedRing ๐’œ'] [PartialOrder โ„ฌ'] [StarOrderedRing โ„ฌ'] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {S : M.ProjStrat (qldGame hm)} {K : BipartiteModel ๐’ž' ๐’œ' โ„ฌ'} {ฮน : (M.reg (Anc F m)).Embedding K} {ฮด : โ„} (P : SimulPair M S K ฮน ฮด) (W : Bas) :
          1 - ฮด โ‰ค โˆ‘ u : LIDT.Point F m, uniform (LIDT.Point F m) u * โˆ‘ g : LIDT.LowIndDegPoly, K.bornProb ((polyMarg P.SA W).op g) (ฮน.ฮฆB (hatMats S.PB W u (g.eval u)))

          The helper's agreement, regrouped by the outcome polynomial rather than by its value.

          theorem MIPRE.QLD.SimulPair.sum_bornProb_cubeData_ge {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {๐’ž : Type u_2} {๐’œ : Type u_3} {โ„ฌ : Type u_4} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] {๐’ž' : Type u_5} {๐’œ' : Type u_6} {โ„ฌ' : Type u_7} [Ring ๐’ž'] [StarRing ๐’ž'] [Algebra โ„‚ ๐’ž'] [Ring ๐’œ'] [StarRing ๐’œ'] [Algebra โ„‚ ๐’œ'] [Ring โ„ฌ'] [StarRing โ„ฌ'] [Algebra โ„‚ โ„ฌ'] [PartialOrder ๐’œ'] [StarOrderedRing ๐’œ'] [PartialOrder โ„ฌ'] [StarOrderedRing โ„ฌ'] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {S : M.ProjStrat (qldGame hm)} {K : BipartiteModel ๐’ž' ๐’œ' โ„ฌ'} {ฮน : (M.reg (Anc F m)).Embedding K} {ฮด : โ„} (P : SimulPair M S K ฮน ฮด) {ฮต : โ„} (hfail : 1 - S.value โ‰ค ฮต) (hd : 1 โ‰ค d) (W : Bas) :
          1 - (ฮด + 2 * (ฮด + โˆš(688 * ฮต) + โ†‘m * โ†‘d / โ†‘(Fintype.card F))) โ‰ค โˆ‘ u : LIDT.Point F m, uniform (LIDT.Point F m) u * โˆ‘ g : LIDT.LowIndDegPoly, K.bornProb ((polyMarg P.SA W).op g) (ฮน.ฮฆB (hatMats S.PB W u (Weyl.dotF (cubeData g) (LowDegree.indVec u))))

          lem:qld-exact-paulis, item 1, as the agreement the appendix's chain establishes.

          mTilde reads the outcome g through the value at u of the encoding of its cube data, \coded(g) . ind_m(u), and not through g(u); expanding its definition and contracting the generalized Pauli on the opposite party's ancilla against the strategy's point measurement turns the agreement of mTilde with M^{(Point,W),u} into the left-hand side below. It differs from the helper's agreement only at outcomes that are not their own encoding, where the two labels can differ, and each term is at most the outcome's own weight; so twice the mass off the interpolants pays for the substitution.