Documentation

MIPRE.Background.QLD.PaddedLIDT

The global polynomial measurements: applying the seeded soundness theorem #

lem:qld-global-pvm. By lem:qld-global-success (padStrat_value), the padded strategy (padStrat hm hm4 S.projA, padStrat hm hm4 S.projB) wins the seeded low individual degree test at (q, 4m, d, 1) in the expanded model M.reg (Anc F m) with probability at least 1 - δ_GS, where δ_GS = 5 m² δ_P(ε, md/q + 1/q) + 4 δ_Q(ε) + (md + 1)/q. This file feeds it to the seeded soundness theorem and reads the conclusion back in the form stages 4b and 4c consume.

The dilation, and where the soundness theorem is applied #

The padded strategy is a pair of families of POVMs (its point answers are sandwich combinations, its line answers averages of pasted measurements), and the soundness theorem is about projective strategies. So each player's family is Halmos-dilated (exists_pvm_dilation_ge) on the padding register PadAnc F m d K, both at one common size K (exists_padDilation): the dilated families are a projective strategy D of the padded model padModel (Anc F m) F m d M K, the register model extended by each player's padding register in the product vector |t₀⟩ ⊗ |t₀⟩ (MIPRE/Background/QLD/PhysModel.lean), whose reference entries are the padded strategy's. A Born probability of the padded model is the Born probability of the reference entries (BipartiteModel.bornProb_expand_basisVec), so D has the padded strategy's value (BipartiteModel.povmValue_expand_basisVec).

The soundness theorem enters as a hypothesis hL on the model: the seeded test is sound (LIDT.Simul.SoundIn) in every extension M.expand e of M by a unit vector. The padded model is such an extension up to associativity, so the test is sound in it (soundIn_padModel), and it is applied to D at one codeword (r = 1). Its conclusion is read back along Fin 1 → F ≃ F (BipartiteModel.inconsistency_map_equiv), and the dilated point measurements are replaced by the padded point measurements extended by the identity on the padding register (their pushforward along the inert embedding of the register model): both have the padded point measurement as reference entry, so every inconsistency on the padded model is the same (BipartiteModel.inconsistency_expand_basisVec_congr). The final form, exists_globalPair, mentions no dilation.

The interface GlobalPair #

A GlobalPair M S K ι δ is the output of the lemma in any model K into which the register model embeds along ι (BipartiteModel.Embedding): two projective low-degree measurements GA, GB in K's algebras, consistent with the opposite party's padded point measurements carried along ι, and with each other. Stages 4b and 4c are theorems about a GlobalPair, and every expectation of an operator carried along ι is its expectation in the register model, so the conclusions of stages 2 and 3 transfer. exists_globalPair gives one at K = padModel …, ι the inert embedding, for every padding size beyond a threshold, so that the two runs of stage 4 (at S and at the strategy with the players exchanged) can share one padding size. GlobalPair.toSimulPair builds the interface SimulPair in the same model, with no reindexing.

The error #

δ_ld = deltaLD q m d ε = deltaSim q (4m) d 1 (deltaGS q m d ε): the seeded soundness theorem's error at (q, 4m, d, 1), one codeword, for a strategy of value 1 - δ_GS. It is of the blueprint's displayed form A (md)^A ((δ_GS)^b + q^{-b} + 2^{-bmd}), since (4md)^A = 4^A (md)^A and 2^{-4bmd} ≤ 2^{-bmd}.

The recovered polynomials live on F^{4m}, while the point measurements read only the 2m + 2 coordinates xBlk, zBlk, alph, bet. The Schwartz--Zippel argument that the polynomials mostly do not read the remaining dummy coordinates is MIPRE/Background/QLD/Dummy.lean; GlobalPair.sum_bad_mass_A_le is lem:qld-global-dummy for the measurements produced here.

Stated in a bipartite model #

Stated in a bipartite model (Phase 5 of planning/mipco-track.md). The matrix proof applied the vendored seeded soundness theorem through LIDT/Adapter/Registers.lean, which Naimark-dilated the padded POVM strategy on an answer ancilla, packaged it on Fin (card) and read the conclusion back on the twice-padded state vector padState ψ along Matrix.reindex. Here the soundness theorem is the hypothesis hL, the dilation is the Halmos dilation in the players' algebras, the twice-padded state is the padded model padModel (with no F × F register: stage 3's joint measurement is internal to the padded strategy), its compressions are the two-sided compression at |t₀⟩ ⊗ |t₀⟩, the doubly extended operators of the matrix statements are operators carried along an embedding (liftOp, liftPt), the swapped padded state is the model K.swap, and GlobalPair is generic in its model, so that toSimulPair needs no register transport.

The error #

noncomputable def MIPRE.QLD.deltaLD (q m d : ℕ) (ε : ℝ) :

δ_ld: the seeded soundness theorem's error at (q, 4m, d, 1), at one codeword, for a strategy of value 1 - δ_GS.

Equations
Instances For

    The expanded point measurements, carried to another model #

    noncomputable def MIPRE.QLD.liftOp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {R : Type u_2} {R' : Type u_3} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] [Ring R'] [StarRing R'] [Algebra ℂ R'] (f : Matrix (Anc F m) (Anc F m) R →⋆ₙₐ[ℂ] R') (P : Question F m → POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) (a : F) :
    R'

    A party's expanded point measurement, carried to another algebra along a ⋆-homomorphism (the first or the second player's map of an embedding): the matrix proof's double extension by the identity.

    Equations
    Instances For
      theorem MIPRE.QLD.isPVM_liftOp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {R : Type u_2} {R' : Type u_3} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] [Ring R'] [StarRing R'] [Algebra ℂ R'] {f : Matrix (Anc F m) (Anc F m) R →⋆ₙₐ[ℂ] R'} (hf : f 1 = 1) {P : Question F m → POVMIn (Answer F m d) R} (hP : ∀ (q : Question F m), IsPVMIn (P q).op) (W : Bas) (u : LIDT.Point F m) :
      IsPVMIn (liftOp f P W u)
      theorem MIPRE.QLD.sandComb_liftOp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {R : Type u_2} {R' : Type u_3} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] [Ring R'] [StarRing R'] [Algebra ℂ R'] (f : Matrix (Anc F m) (Anc F m) R →⋆ₙₐ[ℂ] R') (P : Question F m → POVMIn (Answer F m d) R) (u : LIDT.Point F (4 * m)) (c : F) :
      sandComb (liftOp f P Bas.X) (liftOp f P Bas.Z) u c = f (ptComb (sand (hatMats P Bas.X (xBlk u)) (hatMats P Bas.Z (zBlk u))) (alph u) (bet u) c)

      The sandwich combination of the carried measurements is the carried padded point measurement.

      theorem MIPRE.QLD.comm_liftOp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {R : Type u_2} {R' : Type u_3} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] [Ring R'] [StarRing R'] [Algebra ℂ R'] (f : Matrix (Anc F m) (Anc F m) R →⋆ₙₐ[ℂ] R') (P : Question F m → POVMIn (Answer F m d) R) (x z : LIDT.Point F m) (p : F × F) :
      comm (liftOp f P Bas.X x) (liftOp f P Bas.Z z) p = f (hatComm P x z p.1 p.2)
      theorem MIPRE.QLD.padPt_aOp_mats {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {R : Type u_2} {R' : Type u_3} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] [Ring R'] [StarRing R'] [Algebra ℂ R'] [PartialOrder R'] [StarOrderedRing R'] (f : Matrix (Anc F m) (Anc F m) R →⋆ₙₐ[ℂ] R') (hf : f 1 = 1) {S : Question F m → POVMIn (Answer F m d) R} (hS : ∀ (q : Question F m), IsPVMIn (S q).op) (u : LIDT.Point F (4 * m)) (a : F) :
      (POVMIn.pushforward f hf (padPt hS u)).op a = f (ptComb (sand (hatMats S Bas.X (xBlk u)) (hatMats S Bas.Z (zBlk u))) (alph u) (bet u) a)

      The padded point measurement, carried to another algebra along a unital ⋆-homomorphism: the expanded sandwich combination, carried.

      noncomputable def MIPRE.QLD.liftPt {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {R : Type u_2} {R' : Type u_3} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] [Ring R'] [StarRing R'] [Algebra ℂ R'] [PartialOrder R'] [StarOrderedRing R'] (f : Matrix (Anc F m) (Anc F m) R →⋆ₙₐ[ℂ] R') (hf : f 1 = 1) (P : Question F m → POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) :
      POVMIn F R'

      The opposite party's expanded point measurement, carried to another algebra along a unital ⋆-homomorphism.

      Equations
      Instances For
        theorem MIPRE.QLD.liftPt_mats {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {R : Type u_2} {R' : Type u_3} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] [Ring R'] [StarRing R'] [Algebra ℂ R'] [PartialOrder R'] [StarOrderedRing R'] (f : Matrix (Anc F m) (Anc F m) R →⋆ₙₐ[ℂ] R') (hf : f 1 = 1) (P : Question F m → POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) (a : F) :
        (liftPt f hf P W u).op a = liftOp f P W u a

        The commutator weights of the two strategies, carried to another model #

        theorem MIPRE.QLD.sum_comm_liftOp_B_le {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_2} {𝒜 : Type u_3} {ℬ : Type u_4} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ ℬ] [StarProper ℬ] {𝒞' : Type u_5} {𝒜' : Type u_6} {ℬ' : Type u_7} [Ring 𝒞'] [StarRing 𝒞'] [Algebra ℂ 𝒞'] [Ring 𝒜'] [StarRing 𝒜'] [Algebra ℂ 𝒜'] [Ring ℬ'] [StarRing ℬ'] [Algebra ℂ ℬ'] {M : BipartiteModel 𝒞 𝒜 ℬ} {PA : Question F m → POVMIn (Answer F m d) 𝒜} {PB : Question F m → POVMIn (Answer F m d) ℬ} {ε : ℝ} {K : BipartiteModel 𝒞' 𝒜' ℬ'} (hM : ‖M.ψ‖ = 1) (hPB : ∀ (q : Question F m), IsPVMIn (PB q).op) (hfail : 1 - M.povmValue (qldGame hm) PA PB ≤ ε) (ι : (M.reg (Anc F m)).Embedding K) :
        ∑ x : LIDT.Point F m, ∑ z : LIDT.Point F m, uniform (LIDT.Point F m) x * uniform (LIDT.Point F m) z * ∑ p : F × F, K.swap.stateSqNorm (comm (liftOp ι.ΦB PB Bas.X x) (liftOp ι.ΦB PB Bas.Z z) p) ≤ 57676416 * ε

        Bob's commutator weight, from lem:qld-combined-points, carried along an embedding of the register model.

        theorem MIPRE.QLD.sum_comm_liftOp_A_le {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_2} {𝒜 : Type u_3} {ℬ : Type u_4} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] {𝒞' : Type u_5} {𝒜' : Type u_6} {ℬ' : Type u_7} [Ring 𝒞'] [StarRing 𝒞'] [Algebra ℂ 𝒞'] [Ring 𝒜'] [StarRing 𝒜'] [Algebra ℂ 𝒜'] [Ring ℬ'] [StarRing ℬ'] [Algebra ℂ ℬ'] {M : BipartiteModel 𝒞 𝒜 ℬ} {PA : Question F m → POVMIn (Answer F m d) 𝒜} {PB : Question F m → POVMIn (Answer F m d) ℬ} {ε : ℝ} {K : BipartiteModel 𝒞' 𝒜' ℬ'} (hM : ‖M.ψ‖ = 1) (hPA : ∀ (q : Question F m), IsPVMIn (PA q).op) (hfail : 1 - M.povmValue (qldGame hm) PA PB ≤ ε) (ι : (M.reg (Anc F m)).Embedding K) :
        ∑ x : LIDT.Point F m, ∑ z : LIDT.Point F m, uniform (LIDT.Point F m) x * uniform (LIDT.Point F m) z * ∑ p : F × F, K.stateSqNorm (comm (liftOp ι.ΦA PA Bas.X x) (liftOp ι.ΦA PA Bas.Z z) p) ≤ 57676416 * ε

        Alice's commutator weight, carried along an embedding of the register model.

        The output of the lemma, as a structure #

        structure MIPRE.QLD.GlobalPair {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) (δ : ℝ) :
        Type (max (max u_1 u_6) u_7)

        The output of lem:qld-global-pvm, as a structure, for a projective strategy S of the Pauli basis test in a bipartite model M, in a model K into which the expanded model M.reg (Anc F m) embeds along ι: two projective low-degree measurements in K's algebras, the two point consistencies against the opposite party's padded point measurements carried along ι, and their mutual consistency, all with error δ. Stages 4b and 4c are theorems about a GlobalPair.

        Instances For
          theorem MIPRE.QLD.GlobalPair.ψ_unit {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 : GlobalPair M S K ι δ) :

          The state of the model of a GlobalPair is a unit vector, the strategy's being one.

          The lemma #

          theorem MIPRE.QLD.exists_padDilation {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} (hm4 : 4 * m ∣ Fintype.card F) (S : M.ProjStrat (qldGame hm)) :
          ∃ (K₀ : ℕ), ∀ (K : ℕ), K₀ ≤ K → ∃ (D : (padModel (Anc F m) F m d M K).ProjStrat (LIDT.CL.clGame hm4)), (∀ (y : LIDT.CL.Question F (4 * m)) (a : LIDT.CL.Answer F (4 * m) d 1), (D.PA y).op a t₀ t₀ = (padStrat hm hm4 ⋯ y).op a) ∧ ∀ (y : LIDT.CL.Question F (4 * m)) (b : LIDT.CL.Answer F (4 * m) d 1), (D.PB y).op b t₀ t₀ = (padStrat hm hm4 ⋯ y).op b

          The Halmos dilation of the padded strategy, both players at one padding size: for every padding size beyond a threshold, a projective strategy of the padded model for the seeded test whose reference entries are the padded strategy's.

          theorem MIPRE.QLD.exists_global_pvm {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ε : ℝ} (hL : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → LIDT.Simul.SoundIn (M.expand e)) (hm4 : 4 * m ∣ Fintype.card F) (S : M.ProjStrat (qldGame hm)) (hε : 0 ≤ ε) (hfail : 1 - S.value ≤ ε) (hlegA : LegalSupport S.PA) (hlegB : LegalSupport S.PB) (hd : 1 ≤ d) :
          ∃ (K₀ : ℕ), ∀ (K : ℕ), K₀ ≤ K → ∃ (D : (padModel (Anc F m) F m d M K).ProjStrat (LIDT.CL.clGame hm4)) (GA : POVMIn LIDT.LowIndDegPoly (Matrix (PadAnc F m d K) (PadAnc F m d K) (Matrix (Anc F m) (Anc F m) 𝒜))) (GB : POVMIn LIDT.LowIndDegPoly (Matrix (PadAnc F m d K) (PadAnc F m d K) (Matrix (Anc F m) (Anc F m) ℬ))), (∀ (u : LIDT.Point F (4 * m)) (a : F), (POVMIn.map LIDT.CL.Answer.toValue (D.PA (LIDT.CL.Question.point u))).op a t₀ t₀ = (padPt ⋯ u).op a) ∧ (∀ (u : LIDT.Point F (4 * m)) (b : F), (POVMIn.map LIDT.CL.Answer.toValue (D.PB (LIDT.CL.Question.point u))).op b t₀ t₀ = (padPt ⋯ u).op b) ∧ IsPVMIn GA.op ∧ IsPVMIn GB.op ∧ (padModel (Anc F m) F m d M K).inconsistency (uniform (LIDT.Point F (4 * m))) (fun (u : LIDT.Point F (4 * m)) => POVMIn.map LIDT.CL.Answer.toValue (D.PA (LIDT.CL.Question.point u))) (evalPOVMIn GB) ≤ deltaLD (Fintype.card F) m d ε ∧ ((padModel (Anc F m) F m d M K).inconsistency (uniform (LIDT.Point F (4 * m))) (evalPOVMIn GA) fun (u : LIDT.Point F (4 * m)) => POVMIn.map LIDT.CL.Answer.toValue (D.PB (LIDT.CL.Question.point u))) ≤ deltaLD (Fintype.card F) m d ε ∧ ((padModel (Anc F m) F m d M K).inconsistency (uniform Unit) (fun (x : Unit) => GA) fun (x : Unit) => GB) ≤ deltaLD (Fintype.card F) m d ε

          lem:qld-global-pvm, as the soundness theorem returns it. For a legal projective strategy of the Pauli basis test of value 1 - ε, if the seeded test is sound in every extension of the model by a unit vector: for every padding size beyond a threshold, a projective dilation D of the padded strategy in the padded model, whose point measurements have the padded point measurements as reference entries, and projective low-degree measurements GA, GB in the padded model's algebras, with the two point-consistency estimates against D and the full-polynomial consistency, all with error δ_ld.

          theorem MIPRE.QLD.exists_global_pvm_hat {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ε : ℝ} (hL : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → LIDT.Simul.SoundIn (M.expand e)) (hm4 : 4 * m ∣ Fintype.card F) (S : M.ProjStrat (qldGame hm)) (hε : 0 ≤ ε) (hfail : 1 - S.value ≤ ε) (hlegA : LegalSupport S.PA) (hlegB : LegalSupport S.PB) (hd : 1 ≤ d) :
          ∃ (K₀ : ℕ), ∀ (K : ℕ), K₀ ≤ K → ∃ (GA : POVMIn LIDT.LowIndDegPoly (Matrix (PadAnc F m d K) (PadAnc F m d K) (Matrix (Anc F m) (Anc F m) 𝒜))) (GB : POVMIn LIDT.LowIndDegPoly (Matrix (PadAnc F m d K) (PadAnc F m d K) (Matrix (Anc F m) (Anc F m) ℬ))), IsPVMIn GA.op ∧ IsPVMIn GB.op ∧ (padModel (Anc F m) F m d M K).inconsistency (uniform (LIDT.Point F (4 * m))) (fun (u : LIDT.Point F (4 * m)) => POVMIn.pushforward ((M.reg (Anc F m)).inertEmb (basisVec t₀ t₀) ⋯).ΦA ⋯ (padPt ⋯ u)) (evalPOVMIn GB) ≤ deltaLD (Fintype.card F) m d ε ∧ ((padModel (Anc F m) F m d M K).inconsistency (uniform (LIDT.Point F (4 * m))) (evalPOVMIn GA) fun (u : LIDT.Point F (4 * m)) => POVMIn.pushforward ((M.reg (Anc F m)).inertEmb (basisVec t₀ t₀) ⋯).ΦB ⋯ (padPt ⋯ u)) ≤ deltaLD (Fintype.card F) m d ε ∧ ((padModel (Anc F m) F m d M K).inconsistency (uniform Unit) (fun (x : Unit) => GA) fun (x : Unit) => GB) ≤ deltaLD (Fintype.card F) m d ε

          lem:qld-global-pvm, with the dilation's point measurements replaced. As exists_global_pvm, with the consistencies against the padded point measurements extended by the identity on the padding register (carried along the inert embedding of the register model into the padded model): no dilation appears in the statement.

          theorem MIPRE.QLD.exists_globalPair {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ε : ℝ} (hL : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → LIDT.Simul.SoundIn (M.expand e)) (hm4 : 4 * m ∣ Fintype.card F) (S : M.ProjStrat (qldGame hm)) (hε : 0 ≤ ε) (hfail : 1 - S.value ≤ ε) (hlegA : LegalSupport S.PA) (hlegB : LegalSupport S.PB) (hd : 1 ≤ d) :
          ∃ (K₀ : ℕ), ∀ (K : ℕ), K₀ ≤ K → Nonempty (GlobalPair M S (padModel (Anc F m) F m d M K) ((M.reg (Anc F m)).inertEmb (basisVec t₀ t₀) ⋯) (deltaLD (Fintype.card F) m d ε))

          lem:qld-global-pvm, packaged: for a legal projective strategy of value 1 - ε, if the seeded test is sound in every extension of the model by a unit vector, then for every padding size beyond a threshold the padded model has a GlobalPair with error δ_ld, along the inert embedding of the register model. The threshold lets the two runs of stage 4 share one padding size.

          theorem MIPRE.QLD.exists_globalPair_swap {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ε : ℝ} (hL : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → LIDT.Simul.SoundIn (M.expand e)) (hm4 : 4 * m ∣ Fintype.card F) (S : M.ProjStrat (qldGame hm)) (hε : 0 ≤ ε) (hfail : 1 - S.value ≤ ε) (hlegA : LegalSupport S.PA) (hlegB : LegalSupport S.PB) (hd : 1 ≤ d) :
          ∃ (K₀ : ℕ), ∀ (K : ℕ), K₀ ≤ K → Nonempty (GlobalPair M.swap (S.swap (qldGame hm)) (padModel (Anc F m) F m d M.swap K) ((M.swap.reg (Anc F m)).inertEmb (basisVec t₀ t₀) ⋯) (deltaLD (Fintype.card F) m d ε))

          lem:qld-global-pvm for the strategy with the players exchanged: exists_globalPair for S.swap in the model M.swap, from the soundness of the seeded test in the extensions of M (the test is symmetric in the players, LIDT.Simul.soundIn_swap_expand_of_norm). This is the second run of stage 4; with exists_globalPair it gives both runs at any common padding size beyond the two thresholds.

          Stage 4b, on a GlobalPair #

          theorem MIPRE.QLD.GlobalPair.sum_bad_mass_A_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 : GlobalPair M S K ι δ) (hq : 16 * m * d ≤ Fintype.card F) :
          ∑ g : LIDT.LowIndDegPoly with ¬WIndep g, K.bornProb (P.GA.op g) 1 ≤ 4 * δ

          lem:qld-global-dummy for Alice's global measurement: under 16 m d ≤ q, the outcomes that read a dummy coordinate weigh at most 4δ.

          theorem MIPRE.QLD.GlobalPair.sum_bad_mass_B_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 : GlobalPair M S K ι δ) (hq : 16 * m * d ≤ Fintype.card F) :
          ∑ g : LIDT.LowIndDegPoly with ¬WIndep g, K.bornProb 1 (P.GB.op g) ≤ 4 * δ

          lem:qld-global-dummy for Bob's global measurement.

          theorem MIPRE.QLD.GlobalPair.cons_sandComb_A {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 : GlobalPair M S K ι δ) :
          1 - δ ≤ ∑ u : LIDT.Point F (4 * m), uniform (LIDT.Point F (4 * m)) u * ∑ g : LIDT.LowIndDegPoly, K.bornProb (P.GA.op g) (sandComb (liftOp ι.ΦB S.PB Bas.X) (liftOp ι.ΦB S.PB Bas.Z) u (g.eval u))

          Alice's global measurement is consistent with the sandwich combination of Bob's carried point measurements: the form lem:qld-global-products consumes.

          theorem MIPRE.QLD.GlobalPair.cons_sandComb_B {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 : GlobalPair M S K ι δ) :
          1 - δ ≤ ∑ u : LIDT.Point F (4 * m), uniform (LIDT.Point F (4 * m)) u * ∑ g : LIDT.LowIndDegPoly, K.swap.bornProb (P.GB.op g) (sandComb (liftOp ι.ΦA S.PA Bas.X) (liftOp ι.ΦA S.PA Bas.Z) u (g.eval u))

          Bob's version, in the model with the players exchanged.

          theorem MIPRE.QLD.GlobalPair.products_ZX_A {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 : GlobalPair M S K ι δ) {ε : ℝ} (hfail : 1 - S.value ≤ ε) :
          ∑ u : LIDT.Point F (4 * m), uniform (LIDT.Point F (4 * m)) u * ∑ g : LIDT.LowIndDegPoly, K.snorm (K.πA (P.GA.op g) * K.πB (1 - ordComb ordZX (liftOp ι.ΦB S.PB Bas.X) (liftOp ι.ΦB S.PB Bas.Z) u (g.eval u))) ^ 2 ≤ 2 * δ + 2 * (57676416 * ε)

          lem:qld-global-products, Alice's measurement against Bob's Z_b X_a.

          theorem MIPRE.QLD.GlobalPair.products_XZ_A {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 : GlobalPair M S K ι δ) {ε : ℝ} (hfail : 1 - S.value ≤ ε) :
          ∑ u : LIDT.Point F (4 * m), uniform (LIDT.Point F (4 * m)) u * ∑ g : LIDT.LowIndDegPoly, K.snorm (K.πA (P.GA.op g) * K.πB (1 - ordComb ordXZ (liftOp ι.ΦB S.PB Bas.X) (liftOp ι.ΦB S.PB Bas.Z) u (g.eval u))) ^ 2 ≤ 2 * δ + 2 * (57676416 * ε)

          lem:qld-global-products, Alice's measurement against Bob's X_a Z_b.

          theorem MIPRE.QLD.GlobalPair.products_ZX_B {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 : GlobalPair M S K ι δ) {ε : ℝ} (hfail : 1 - S.value ≤ ε) :
          ∑ u : LIDT.Point F (4 * m), uniform (LIDT.Point F (4 * m)) u * ∑ g : LIDT.LowIndDegPoly, K.swap.snorm (K.swap.πA (P.GB.op g) * K.swap.πB (1 - ordComb ordZX (liftOp ι.ΦA S.PA Bas.X) (liftOp ι.ΦA S.PA Bas.Z) u (g.eval u))) ^ 2 ≤ 2 * δ + 2 * (57676416 * ε)

          lem:qld-global-products, Bob's measurement against Alice's Z_b X_a, in the model with the players exchanged.

          theorem MIPRE.QLD.GlobalPair.products_XZ_B {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 : GlobalPair M S K ι δ) {ε : ℝ} (hfail : 1 - S.value ≤ ε) :
          ∑ u : LIDT.Point F (4 * m), uniform (LIDT.Point F (4 * m)) u * ∑ g : LIDT.LowIndDegPoly, K.swap.snorm (K.swap.πA (P.GB.op g) * K.swap.πB (1 - ordComb ordXZ (liftOp ι.ΦA S.PA Bas.X) (liftOp ι.ΦA S.PA Bas.Z) u (g.eval u))) ^ 2 ≤ 2 * δ + 2 * (57676416 * ε)

          lem:qld-global-products, Bob's measurement against Alice's X_a Z_b.

          theorem MIPRE.QLD.GlobalPair.sum_bad_linear_mass_A_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) :
          (1 - 2 * ((1 + 2 * ↑d + 4 * ↑m * ↑d) / ↑(Fintype.card F))) * ∑ g : LIDT.LowIndDegPoly with ¬IsLinAB g, K.bornProb (P.GA.op g) 1 ≤ 2 * (2 * δ + 2 * (57676416 * ε))

          lem:qld-global-linear for Alice's global measurement: the outcomes that are not linear in the combining coordinates (α, β) weigh at most 2Δ / (1 - 2η), where Δ = 2δ + 2 · 57676416 ε is the X_a Z_b products bound and η = (1 + 2d + 4md)/q.

          theorem MIPRE.QLD.GlobalPair.sum_bad_linear_mass_B_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) :
          (1 - 2 * ((1 + 2 * ↑d + 4 * ↑m * ↑d) / ↑(Fintype.card F))) * ∑ g : LIDT.LowIndDegPoly with ¬IsLinAB g, K.bornProb 1 (P.GB.op g) ≤ 2 * (2 * δ + 2 * (57676416 * ε))

          lem:qld-global-linear for Bob's global measurement.

          theorem MIPRE.QLD.GlobalPair.sum_not_isGood_mass_A_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) :
          (1 - 2 * ((2 + 2 * ↑d + 8 * ↑m * ↑d) / ↑(Fintype.card F))) * ∑ g : LIDT.LowIndDegPoly with ¬IsGood g, K.bornProb (P.GA.op g) 1 ≤ 4 * (2 * δ + 2 * (57676416 * ε))

          lem:qld-global-separate for Alice's global measurement: the outcomes that are not of the form α g_X(x) + β g_Z(z) weigh at most 4Δ / (1 - 2η), where Δ = 2δ + 2 · 57676416 ε is the bound of lem:qld-global-products for either order and η = (2 + 2d + 8md)/q.

          theorem MIPRE.QLD.GlobalPair.sum_not_isGood_mass_B_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) :
          (1 - 2 * ((2 + 2 * ↑d + 8 * ↑m * ↑d) / ↑(Fintype.card F))) * ∑ g : LIDT.LowIndDegPoly with ¬IsGood g, K.bornProb 1 (P.GB.op g) ≤ 4 * (2 * δ + 2 * (57676416 * ε))

          lem:qld-global-separate for Bob's global measurement.

          The errors of stage 4c #

          def MIPRE.QLD.deltaProd (δ ε : ℝ) :

          Δ, the ordered-products bound of lem:qld-global-products for a GlobalPair of error δ on a strategy of failure ε: 2 δ + 2 κ with κ = 57676416 ε.

          Equations
          Instances For
            def MIPRE.QLD.deltaSep (δ ε : ℝ) :

            δ_G, the weight of the outcomes that are not of the separated form α g_X(x) + β g_Z(z): 8 Δ, from lem:qld-global-separate under 48 m d ≤ q.

            Equations
            Instances For
              noncomputable def MIPRE.QLD.deltaS (q : ℕ) (δ ε : ℝ) :

              δ_S, the error of lem:qld-simultaneous: the marginal estimate 2 √Δ + 2/q + δ_G.

              Equations
              Instances For
                theorem MIPRE.QLD.GlobalPair.one_sub_two_eta_ge {F : Type u_1} [Field F] [Fintype F] {m d : ℕ} [NeZero m] (hd : 1 ≤ d) (hq : 48 * m * d ≤ Fintype.card F) :
                1 / 2 ≤ 1 - 2 * ((2 + 2 * ↑d + 8 * ↑m * ↑d) / ↑(Fintype.card F))

                Under 48 m d ≤ q the factor 1 - 2η of lem:qld-global-separate is at least 1/2.

                theorem MIPRE.QLD.GlobalPair.sum_not_isGood_mass_A_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) :
                ∑ g : LIDT.LowIndDegPoly with ¬IsGood g, K.bornProb (P.GA.op g) 1 ≤ deltaSep δ ε

                lem:qld-global-separate, solved for the weight: under 48 m d ≤ q the outcomes of Alice's global measurement that are not of the separated form weigh at most δ_G.

                theorem MIPRE.QLD.GlobalPair.sum_not_isGood_mass_B_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) :
                ∑ g : LIDT.LowIndDegPoly with ¬IsGood g, K.swap.bornProb (P.GB.op g) 1 ≤ deltaSep δ ε

                lem:qld-global-separate, solved for the weight, for Bob's global measurement, in the model with the players exchanged.

                The evaluated marginals of the completed pair measurement #

                theorem MIPRE.QLD.GlobalPair.inconsistency_evalMarg_A_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) (W : Bas) :
                (K.inconsistency (uniform (LIDT.Point F m)) (fun (u : LIDT.Point F m) => evalMarg (pairMeas hd P.GA) W u) fun (u : LIDT.Point F m) => liftPt ι.ΦB ⋯ S.PB W u) ≤ deltaS (Fintype.card F) δ ε

                lem:qld-global-sandwich for Alice's completed pair measurement: its evaluated W marginal is consistent with Bob's expanded (Point, W) measurement carried along ι, with error δ_S.

                theorem MIPRE.QLD.GlobalPair.inconsistency_evalMarg_B_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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) (W : Bas) :
                (K.inconsistency (uniform (LIDT.Point F m)) (fun (u : LIDT.Point F m) => liftPt ι.ΦA ⋯ S.PA W u) fun (u : LIDT.Point F m) => evalMarg (pairMeas hd P.GB) W u) ≤ deltaS (Fintype.card F) δ ε

                lem:qld-global-sandwich for Bob's completed pair measurement, read in the model with the players exchanged.

                The interface instance #

                noncomputable def MIPRE.QLD.GlobalPair.toSimulPair {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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) :
                SimulPair M S K ι (deltaS (Fintype.card F) δ ε)

                lem:qld-simultaneous: the completed pair measurements of a GlobalPair are a SimulPair in the same model, along the same embedding, of error δ_S = 2 √Δ + 2/q + δ_G.

                Equations
                Instances For
                  @[simp]
                  theorem MIPRE.QLD.GlobalPair.toSimulPair_SA {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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) :
                  (P.toSimulPair hd hfail hq).SA = pairMeas hd P.GA
                  @[simp]
                  theorem MIPRE.QLD.GlobalPair.toSimulPair_SB {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 : GlobalPair M S K ι δ) {ε : ℝ} (hd : 1 ≤ d) (hfail : 1 - S.value ≤ ε) (hq : 48 * m * d ≤ Fintype.card F) :
                  (P.toSimulPair hd hfail hq).SB = pairMeas hd P.GB

                  lem:qld-simultaneous, from the strategy #

                  theorem MIPRE.QLD.exists_simulPair {F : Type} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : ℕ} [NeZero m] {hm : m ∣ Fintype.card F} {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] [StarModule ℂ 𝒜] [StarProper 𝒜] [StarModule ℂ ℬ] [StarProper ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ε : ℝ} (hL : ∀ {α β : Type} [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : Fintype β] [inst_3 : DecidableEq β] (e : α × β → ℂ), ‖evec e‖ = 1 → LIDT.Simul.SoundIn (M.expand e)) (S : M.ProjStrat (qldGame hm)) (hε : 0 ≤ ε) (hfail : 1 - S.value ≤ ε) (hlegA : LegalSupport S.PA) (hlegB : LegalSupport S.PB) (hd : 1 ≤ d) (hq : 48 * m * d ≤ Fintype.card F) :
                  ∃ (K₀ : ℕ), ∀ (K : ℕ), K₀ ≤ K → Nonempty (SimulPair M S (padModel (Anc F m) F m d M K) ((M.reg (Anc F m)).inertEmb (basisVec t₀ t₀) ⋯) (deltaS (Fintype.card F) (deltaLD (Fintype.card F) m d ε) ε))

                  lem:qld-simultaneous: for a legal projective strategy of the Pauli basis test of value 1 - ε, if the seeded test is sound in every extension of the model by a unit vector, then inside the regime 48 m d ≤ q, for every padding size beyond a threshold, the padded model has a simultaneous pair measurement with error δ_S(q, δ_ld, ε) = 2 √Δ + 2/q + 8 Δ, Δ = 2 δ_ld + 2 · 57676416 ε.