Documentation

MIPRE.Background.QLD.Combined

Combining the two bases: the joint point measurement #

Blueprint lem:qld-combined-points, the paper's lem:qld-4-10. The expansion stage left two measurements per content --- one in each basis --- that approximately commute (lem:qld-expanded-points). This stage turns them into a single projective measurement returning both values at once.

The route, and how it differs from the paper's #

The paper builds the sandwich R^w_{a,b} = M^Z_b M^X_a M^Z_b, proves it approximately self-consistent and approximately linear in the two probes, orthonormalizes it (cor:ortho-from-consistency), and then applies the quantum linearity test (thm:linearity) to the resulting observables. Three of those four steps are unnecessary here, and the reason is that the strategy is projective, which the paper also assumes:

What remains is the analytic content: the sandwich is close to the ordered product (one commutation), the ordered products are cross-party consistent, and the sandwich is therefore self-consistent (BipartiteModel.one_sub_sum_bornProb_sand_le). The commutation input arrives at the level of the observables, and Parseval is what moves it to the level of the measurement elements (sum_stateSqNorm_hatComm).

In a bipartite model #

Stated in a bipartite model (Phase 5 of planning/mipco-track.md). The expanded state is the register model M.reg (Anc F m) (MIPRE/Background/QLD/Expanded.lean), the hatted measurements are POVMs in Matrix (Anc F m) (Anc F m) ๐’œ (and โ„ฌ), and the commutation input is a state norm there; Parseval is the one of a complex inner product space (sum_norm_trSum2_sq), applied to the vectors ฯ€(X) ฯˆ. The joint measurement is the Halmos dilation with the explicit Kraus family (a, b) โ†ฆ X_a Z_b (QLD.sandDil, from MIPRE/Foundations/HalmosDilation.lean): the Naimark matrix of that family at inl (0, 0) is a partial isometry, and the dilated projections live on a register (F ร— F) โŠ• (F ร— F) adjoined to each player at the basis state |inl (0, 0)โŸฉ (BipartiteModel.jointModel). The two-sided compression BipartiteModel.bornProb_expand_basisVec carries every estimate back to the sandwiches, so combined_points is stated as agreement bounds of the sandwiches in M.reg (Anc F m), with the dilation kept inside the proofs; its constants are those of the matrix statement's dilated deviations, halved, the summed deviation of a projective pair being twice its disagreement. The dilated measurement itself, which the pasting lemma of lem:qld-pairs-of-lines needs, is BipartiteModel.exists_projective_joint (the model form of MIPRE.exists_projective_joint) and, at the content-indexed data of the Pauli basis test, combined_points_dilated. On a unit vector ฯˆ : dA ร— dB โ†’ โ„‚ the statements are read at the tensor-product model BipartiteModel.tensor ฯˆ with the families POVM.toIn.

The Halmos dilation of the sandwich #

theorem MIPRE.QLD.sum_star_mul_sandKraus {R : Type u_1} [Ring R] [StarRing R] {A : Type u_2} [Fintype A] {X Z : A โ†’ R} (hX : IsPVMIn X) (hZ : IsPVMIn Z) :
โˆ‘ q : A ร— A, star (X q.1 * Z q.2) * (X q.1 * Z q.2) = 1

The Kraus family of the sandwich, (a, b) โ†ฆ X_a Z_b: its Gram operators are the sandwiches Z_b X_a Z_b, and they sum to one.

def MIPRE.QLD.sandDil {R : Type u_1} [Ring R] [StarRing R] {A : Type u_2} [Fintype A] [DecidableEq A] (X Z : A โ†’ R) (pโ‚€ p : A ร— A) :
Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) R

The dilated joint measurement: the Halmos projections of the Naimark matrix of the Kraus family (a, b) โ†ฆ X_a Z_b at pโ‚€, on the register (A ร— A) โŠ• (A ร— A).

Equations
Instances For
    theorem MIPRE.QLD.isPVMIn_sandDil {R : Type u_1} [Ring R] [StarRing R] {A : Type u_2} [Fintype A] [DecidableEq A] {X Z : A โ†’ R} (hX : IsPVMIn X) (hZ : IsPVMIn Z) (pโ‚€ : A ร— A) :
    IsPVMIn (sandDil X Z pโ‚€)

    The dilated joint measurement is projective.

    theorem MIPRE.QLD.sandDil_inl_inl {R : Type u_1} [Ring R] [StarRing R] {A : Type u_2} [Fintype A] [DecidableEq A] {X Z : A โ†’ R} (hX : IsPVMIn X) (hZ : IsPVMIn Z) (pโ‚€ p : A ร— A) :
    sandDil X Z pโ‚€ p (Sum.inl pโ‚€) (Sum.inl pโ‚€) = sand X Z p

    The dilated joint measurement compresses to the sandwich at |inl pโ‚€โŸฉ.

    The dilated joint measurement in a bipartite model #

    @[reducible, inline]
    noncomputable abbrev MIPRE.BipartiteModel.jointModel {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) :
    BipartiteModel (Matrix ((A ร— A โŠ• A ร— A) ร— (A ร— A โŠ• A ร— A)) ((A ร— A โŠ• A ร— A) ร— (A ร— A โŠ• A ร— A)) ๐’ž) (Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) ๐’œ) (Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) โ„ฌ)

    The model of the dilated joint measurement: N extended by one dilation register (A ร— A) โŠ• (A ร— A) for each player, both in the basis state |inl pโ‚€โŸฉ.

    Equations
    Instances For
      theorem MIPRE.BipartiteModel.jointModel_bornProb {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) (X : Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) ๐’œ) (Y : Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) โ„ฌ) :
      (N.jointModel pโ‚€).bornProb X Y = N.bornProb (X (Sum.inl pโ‚€) (Sum.inl pโ‚€)) (Y (Sum.inl pโ‚€) (Sum.inl pโ‚€))

      The two-sided compression: a Born probability of the joint model is the Born probability of the two reference entries.

      theorem MIPRE.BipartiteModel.jointModel_stateSqNorm {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) {Q : Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) ๐’œ} (hQ : IsStarProjection Q) :
      (N.jointModel pโ‚€).stateSqNorm Q = N.bornProb (Q (Sum.inl pโ‚€) (Sum.inl pโ‚€)) 1

      The squared state norm of a projection of the joint model is the expectation of its reference entry.

      theorem MIPRE.BipartiteModel.jointModel_swap_stateSqNorm {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) {Q : Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) โ„ฌ} (hQ : IsStarProjection Q) :
      (N.jointModel pโ‚€).swap.stateSqNorm Q = N.bornProb 1 (Q (Sum.inl pโ‚€) (Sum.inl pโ‚€))

      The same for the second player.

      theorem MIPRE.BipartiteModel.jointModel_swap_stateSqNorm_smulKron_one {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) (Y : โ„ฌ) :

      A second-player operator with an inert dilation register has the state norm it had.

      theorem MIPRE.BipartiteModel.norm_jointModel_ฯˆ {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) :

      The state of the joint model has the norm of the state of N.

      theorem MIPRE.BipartiteModel.jointModel_stateSqNorm_smulKron_one {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) (X : ๐’œ) :

      A first-player operator with an inert dilation register has the state norm it had.

      theorem MIPRE.BipartiteModel.jointModel_xSqNorm_smulKron_one {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (pโ‚€ : A ร— A) {X : ๐’œ} (hX : star X = X) (Y : โ„ฌ) :
      (N.jointModel pโ‚€).xSqNorm (smulKron X 1) (smulKron Y 1) = N.xSqNorm X Y

      Two operators with inert dilation registers have the cross-party deviation they had: the model form of the matrix xSqNorm_extVec2_aOp.

      theorem MIPRE.BipartiteModel.jointModel_sum_xSqNorm_smulKron {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] (hฯˆ : โ€–N.ฯˆโ€– = 1) (pโ‚€ : A ร— A) {ฮบ : Type u_5} [Fintype ฮบ] {Q : ฮบ โ†’ Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) ๐’œ} (hQ : IsPVMIn Q) (S : ฮบ โ†’ โ„ฌ) :
      โˆ‘ k : ฮบ, (N.jointModel pโ‚€).xSqNorm (Q k) (smulKron (S k) 1) = 1 + โˆ‘ k : ฮบ, N.swap.stateSqNorm (S k) - 2 * โˆ‘ k : ฮบ, N.bornProb (Q k (Sum.inl pโ‚€) (Sum.inl pโ‚€)) (S k)

      The deviation of a dilated projective measurement from a second-player family with an inert register, summed: the expectations of the compressions, the second player's squared norms, and twice the agreement of the compressions with the family.

      theorem MIPRE.BipartiteModel.exists_projective_joint {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] (N : BipartiteModel ๐’ž ๐’œ โ„ฌ) {A : Type u_4} [Fintype A] [DecidableEq A] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {ฮน : Type u_5} [Fintype ฮน] {w : ฮน โ†’ โ„} (hw0 : โˆ€ (i : ฮน), 0 โ‰ค w i) (hw1 : โˆ‘ i : ฮน, w i = 1) (hฯˆ : โ€–N.ฯˆโ€– = 1) (pโ‚€ : A ร— A) {X Z : ฮน โ†’ A โ†’ ๐’œ} {X' Z' : ฮน โ†’ A โ†’ โ„ฌ} (hX : โˆ€ (i : ฮน), IsPVMIn (X i)) (hZ : โˆ€ (i : ฮน), IsPVMIn (Z i)) (hX' : โˆ€ (i : ฮน), IsPVMIn (X' i)) (hZ' : โˆ€ (i : ฮน), IsPVMIn (Z' i)) {cA cB ฮฑ ฮฒ : โ„} (hcA : โˆ‘ i : ฮน, w i * โˆ‘ p : A ร— A, N.stateSqNorm (X i p.1 * Z i p.2 - Z i p.2 * X i p.1) โ‰ค cA) (hcB : โˆ‘ i : ฮน, w i * โˆ‘ p : A ร— A, N.swap.stateSqNorm (X' i p.1 * Z' i p.2 - Z' i p.2 * X' i p.1) โ‰ค cB) (hฮฑ : โˆ‘ i : ฮน, w i * โˆ‘ a : A, N.xSqNorm (X i a) (X' i a) โ‰ค ฮฑ) (hฮฒ : โˆ‘ i : ฮน, w i * โˆ‘ b : A, N.xSqNorm (Z i b) (Z' i b) โ‰ค ฮฒ) :
      โˆƒ (QA : ฮน โ†’ A ร— A โ†’ Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) ๐’œ) (QB : ฮน โ†’ A ร— A โ†’ Matrix (A ร— A โŠ• A ร— A) (A ร— A โŠ• A ร— A) โ„ฌ), (โˆ€ (i : ฮน), IsPVMIn (QA i)) โˆง (โˆ€ (i : ฮน), IsPVMIn (QB i)) โˆง (โˆ€ (i : ฮน) (p : A ร— A), QA i p (Sum.inl pโ‚€) (Sum.inl pโ‚€) = sand (X i) (Z i) p) โˆง (โˆ€ (i : ฮน) (p : A ร— A), QB i p (Sum.inl pโ‚€) (Sum.inl pโ‚€) = sand (X' i) (Z' i) p) โˆง โˆ‘ i : ฮน, w i * โˆ‘ p : A ร— A, (N.jointModel pโ‚€).xSqNorm (QA i p) (QB i p) โ‰ค 2 * (โˆšcA + โˆšcB + โˆš(ฮฑ / 2) + ฮฒ / 2) โˆง โˆ‘ i : ฮน, w i * โˆ‘ p : A ร— A, (N.jointModel pโ‚€).xSqNorm (QA i p) (smulKron (Z' i p.2 * X' i p.1) 1) โ‰ค 4 * (โˆšcA + โˆšcB + โˆš(ฮฑ / 2) + ฮฒ / 2) + 2 * cB โˆง โˆ‘ i : ฮน, w i * โˆ‘ p : A ร— A, (N.jointModel pโ‚€).xSqNorm (QA i p) (smulKron (X' i p.1 * Z' i p.2) 1) โ‰ค 4 * (โˆšcA + โˆšcB + โˆš(ฮฑ / 2) + ฮฒ / 2) + 8 * cB

      Two approximately commuting projective measurements on each party admit a joint projective measurement, on each party's algebra enlarged by one dilation register, which is self-consistent across the parties and consistent with both ordered products of the originals --- all at errors independent of the number of outcomes. The model form of MIPRE.exists_projective_joint, with the same constants: the joint measurement is the Halmos dilation QLD.sandDil of the sandwich Z_b X_a Z_b, whose reference entry is the sandwich (the third and fourth conclusions), which is what carries every estimate (jointModel_bornProb).

      The hatted point measurement, indexed by the point #

      hatPOVM is indexed by a content, but it depends on it only through the point of the relevant basis --- not through the probes, the seed or the diagonal direction. Saying so once, by re-indexing, is what lets the probe average be separated from the point average later.

      noncomputable def MIPRE.QLD.hatPtPOVM {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) :
      POVMIn F (Matrix (Anc F m) (Anc F m) R)

      The hatted point measurement at a point: the strategy's point measurement at u, convolved with the ancilla's syndrome measurement there.

      Equations
      Instances For
        theorem MIPRE.QLD.hatPOVM_eq {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (hm : m โˆฃ Fintype.card F) (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (c : Content F m) :
        hatPOVM hm P W c = hatPtPOVM P W (c.pt W)
        noncomputable def MIPRE.QLD.hatMats {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) (a : F) :
        Matrix (Anc F m) (Anc F m) R

        The elements of the hatted point measurement.

        Equations
        Instances For

          The hatted observable at an arbitrary probe #

          hatObs is the hatted point observable at the probe the content itself carries. The transform needs the whole family, one observable for each r in F_q, and hatObsAt_self is the identification at the content's own probe.

          noncomputable def MIPRE.QLD.hatObsAt {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) (r : F) :
          Matrix (Anc F m) (Anc F m) R

          The hatted point measurement's binary observable at the probe r.

          Equations
          Instances For
            theorem MIPRE.QLD.trFourier_hatObsAt {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) (a : F) :
            (โ†‘(Fintype.card F))โปยน โ€ข โˆ‘ r : F, sgn ((Algebra.trace (ZMod 2) F) (a * r)) โ€ข hatObsAt P W u r = hatMats P W u a

            The measurement is the transform of its observables.

            theorem MIPRE.QLD.hatObsAt_eq {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (u : LIDT.Point F m) (r : F) :
            hatObsAt P W u r = smulKron (โˆ‘ a : F, sgn ((Algebra.trace (ZMod 2) F) (a * r)) โ€ข (POVMIn.map rdVal (P (Question.point W u))).op a) (trObs (fun (a : F) => โ†‘((synPOVM W u).mats a)) r)

            A product family's transform splits: the hatted observable is the strategy's observable tensored with the ancilla's.

            theorem MIPRE.QLD.trObs_ptVal {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [PartialOrder R] [StarOrderedRing R] (hm : m โˆฃ Fintype.card F) (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (c : Content F m) :
            โˆ‘ a : F, sgn ((Algebra.trace (ZMod 2) F) (a * c.omega.r W)) โ€ข (POVMIn.map rdVal (P (Question.point W (c.pt W)))).op a = ptObs hm P W c

            The strategy's factor, at the content's own probe, is ptObs.

            theorem MIPRE.QLD.trObs_synPOVM {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m : โ„•} [NeZero m] (W : Bas) (u : LIDT.Point F m) (r : F) :
            trObs (fun (a : F) => โ†‘((synPOVM W u).mats a)) r = weylOf W (r โ€ข LowDegree.indVec u)

            The ancilla's factor is the Weyl operator at r . ind_m(u): the syndrome projectors are the spectral projectors of the Weyl family, so their signed sum is the operator itself.

            theorem MIPRE.QLD.hatObsAt_self {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (hm : m โˆฃ Fintype.card F) (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (c : Content F m) :
            hatObsAt P W (c.pt W) (c.omega.r W) = hatObs hm P W c

            At the content's own probe, the transform is hatObs.

            Parseval: from the observables' commutator to the elements' #

            The commutation input of lem:qld-expanded-points is about the observables, one pair for each (r, s). What the sandwich needs is the commutator of the measurement elements, one pair for each (a, b). Parseval exchanges the two at no cost: the sum over outcomes of the one is the average over probes of the other.

            noncomputable def MIPRE.QLD.hatComm {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (x z : LIDT.Point F m) (a b : F) :
            Matrix (Anc F m) (Anc F m) R

            The commutator of the two bases' hatted measurement elements.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def MIPRE.QLD.hatObsComm {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (x z : LIDT.Point F m) (r s : F) :
              Matrix (Anc F m) (Anc F m) R

              The commutator of the two bases' hatted observables.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MIPRE.QLD.hatComm_eq_fourierOf {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (x z : LIDT.Point F m) (a b : F) :
                hatComm P x z a b = ((โ†‘(Fintype.card F))โปยน * (โ†‘(Fintype.card F))โปยน) โ€ข โˆ‘ p : F ร— F, sgn ((Algebra.trace (ZMod 2) F) (a * p.1) + (Algebra.trace (ZMod 2) F) (b * p.2)) โ€ข hatObsComm P x z p.1 p.2

                The elements' commutator is the transform of the observables': the two-field transform against the characters (r, s) โ†ฆ (-1)^{tr(a r) + tr(b s)}.

                theorem MIPRE.QLD.sum_stateSqNorm_hatComm {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 ๐’œ] (M : BipartiteModel ๐’ž ๐’œ โ„ฌ) (P : Question F m โ†’ POVMIn (Answer F m d) ๐’œ) (x z : LIDT.Point F m) :
                โˆ‘ p : F ร— F, (M.reg (Anc F m)).stateSqNorm (hatComm P x z p.1 p.2) = (โ†‘(Fintype.card F))โปยน * (โ†‘(Fintype.card F))โปยน * โˆ‘ p : F ร— F, (M.reg (Anc F m)).stateSqNorm (hatObsComm P x z p.1 p.2)

                Parseval, for the commutator.

                Projectivity #

                The sandwich is a POVM only because the Z-side hatted measurement is projective, so the strategy has to be; every strategy of the Pauli basis test is. Projectivity passes through the convolution: a product of projective measurements is projective, and so is a coarse-graining of one.

                theorem MIPRE.QLD.isPVM_hatMats {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [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) (u : LIDT.Point F m) :

                The hatted point measurement is projective when the strategy is.

                Splitting the content #

                The content average includes the uniform average over the two probes (r_X, r_Z), independently of everything else it carries. That is exactly what Parseval needs: the sum over outcomes of the elements' commutator is the average over probes of the observables' (sum_stateSqNorm_hatComm), and the content average of the second is the content average of the commutator at the content's own probes --- which is what lem:qld-expanded-points bounds.

                The content, split into what the measurements see and the two probes.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem MIPRE.QLD.sum_content_split {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m : โ„•} [NeZero m] {M : Type u_5} [AddCommMonoid M] (f : Content F m โ†’ M) :
                  โˆ‘ c : Content F m, f c = โˆ‘ k : LIDT.Point F m ร— LIDT.Point F m ร— F ร— LIDT.Point F m, โˆ‘ p : F ร— F, f { uX := k.1, uZ := k.2.1, s := k.2.2.1, v := k.2.2.2, rX := p.1, rZ := p.2 }
                  theorem MIPRE.QLD.sum_content_split' {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m : โ„•} [NeZero m] {M : Type u_5} [AddCommMonoid M] (f : LIDT.Point F m โ†’ LIDT.Point F m โ†’ F โ†’ LIDT.Point F m โ†’ F โ†’ F โ†’ M) :
                  โˆ‘ c : Content F m, f c.uX c.uZ c.s c.v c.rX c.rZ = โˆ‘ k : LIDT.Point F m ร— LIDT.Point F m ร— F ร— LIDT.Point F m, โˆ‘ p : F ร— F, f k.1 k.2.1 k.2.2.1 k.2.2.2 p.1 p.2

                  The same, with the content's fields as separate arguments: the form the consumers use.

                  theorem MIPRE.QLD.sum_content_avg_probe {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m : โ„•} [NeZero m] (g : LIDT.Point F m โ†’ LIDT.Point F m โ†’ F โ†’ F โ†’ โ„) :
                  โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * ((โ†‘(Fintype.card F))โปยน * (โ†‘(Fintype.card F))โปยน * โˆ‘ p : F ร— F, g c.uX c.uZ p.1 p.2) = โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * g c.uX c.uZ c.rX c.rZ

                  The probe average is free. Averaging a probe-independent quantity over the content's own probes changes nothing, so a bound stated at the content's probes is a bound on the average over all probes --- which is the form Parseval produces.

                  The element-level commutator bound #

                  theorem MIPRE.QLD.sum_content_hatComm_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 โ„ฌ] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {PA : Question F m โ†’ POVMIn (Answer F m d) ๐’œ} {PB : Question F m โ†’ POVMIn (Answer F m d) โ„ฌ} {ฮต : โ„} [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] (hM : โ€–M.ฯˆโ€– = 1) (hPA : โˆ€ (q : Question F m), IsPVMIn (PA q).op) (hfail : 1 - M.povmValue (qldGame hm) PA PB โ‰ค ฮต) :
                  โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, (M.reg (Anc F m)).stateSqNorm (hatComm PA c.uX c.uZ p.1 p.2) โ‰ค 57676416 * ฮต

                  The elements of the two bases' hatted point measurements commute on the expanded state, on average over the content, at the constant of lem:qld-obs-commutation. This is hatObs_commutation moved from the observables to the measurement elements by Parseval, which costs nothing --- the probe average the transform introduces is the one the content already carries.

                  theorem MIPRE.QLD.sum_content_hatComm_le_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 โ„ฌ] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {PA : Question F m โ†’ POVMIn (Answer F m d) ๐’œ} {PB : Question F m โ†’ POVMIn (Answer F m d) โ„ฌ} {ฮต : โ„} [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] (hM : โ€–M.ฯˆโ€– = 1) (hPB : โˆ€ (q : Question F m), IsPVMIn (PB q).op) (hfail : 1 - M.povmValue (qldGame hm) PA PB โ‰ค ฮต) :
                  โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, (M.reg (Anc F m)).swap.stateSqNorm (hatComm PB c.uX c.uZ p.1 p.2) โ‰ค 57676416 * ฮต

                  The same for the other player, by the game's symmetry in the two players: the second player's state norm on the expanded model.

                  The cross-party consistency, at the points #

                  theorem MIPRE.QLD.hatPOVM_mats_eq {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (hm : m โˆฃ Fintype.card F) (P : Question F m โ†’ POVMIn (Answer F m d) R) (W : Bas) (c : Content F m) (a : F) :
                  (hatPOVM hm P W c).op a = hatMats P W (c.pt W) a

                  lem:qld-expanded-points's first item, re-indexed by the point.

                  theorem MIPRE.QLD.sum_content_hatMats_consistency {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 โ„ฌ] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {PA : Question F m โ†’ POVMIn (Answer F m d) ๐’œ} {PB : Question F m โ†’ POVMIn (Answer F m d) โ„ฌ} {ฮต : โ„} [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] (hM : โ€–M.ฯˆโ€– = 1) (hfail : 1 - M.povmValue (qldGame hm) PA PB โ‰ค ฮต) (W : Bas) :
                  โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ a : F, (M.reg (Anc F m)).xSqNorm (hatMats PA W (c.pt W) a) (hatMats PB W (c.pt W) a) โ‰ค 172 * ฮต

                  The lemma #

                  noncomputable def MIPRE.QLD.deltaQ (ฮต : โ„) :

                  The error of lem:qld-combined-points, the paper's delta_Q(eps) = poly(eps). The square roots are the three Cauchy--Schwarz steps of the sandwich's self-consistency chain; the linear term is the Z-consistency, which enters without one.

                  Equations
                  Instances For
                    theorem MIPRE.QLD.sum_uniform_content {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m : โ„•} [NeZero m] :
                    โˆ‘ _c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน = 1
                    theorem MIPRE.QLD.deltaQ_eq (ฮต : โ„) :
                    โˆš(57676416 * ฮต) + โˆš(57676416 * ฮต) + โˆš(172 * ฮต / 2) + 172 * ฮต / 2 = deltaQ ฮต
                    theorem MIPRE.QLD.combined_points_dilated {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 โ„ฌ] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {PA : Question F m โ†’ POVMIn (Answer F m d) ๐’œ} {PB : Question F m โ†’ POVMIn (Answer F m d) โ„ฌ} {ฮต : โ„} [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] (hM : โ€–M.ฯˆโ€– = 1) (hfail : 1 - M.povmValue (qldGame hm) PA PB โ‰ค ฮต) (hPA : โˆ€ (q : Question F m), IsPVMIn (PA q).op) (hPB : โˆ€ (q : Question F m), IsPVMIn (PB q).op) :
                    โˆƒ (QA : Content F m โ†’ F ร— F โ†’ Matrix (F ร— F โŠ• F ร— F) (F ร— F โŠ• F ร— F) (Matrix (Anc F m) (Anc F m) ๐’œ)) (QB : Content F m โ†’ F ร— F โ†’ Matrix (F ร— F โŠ• F ร— F) (F ร— F โŠ• F ร— F) (Matrix (Anc F m) (Anc F m) โ„ฌ)), (โˆ€ (c : Content F m), IsPVMIn (QA c)) โˆง (โˆ€ (c : Content F m), IsPVMIn (QB c)) โˆง (โˆ€ (c : Content F m) (p : F ร— F), QA c p (Sum.inl (0, 0)) (Sum.inl (0, 0)) = sand (hatMats PA Bas.X c.uX) (hatMats PA Bas.Z c.uZ) p) โˆง (โˆ€ (c : Content F m) (p : F ร— F), QB c p (Sum.inl (0, 0)) (Sum.inl (0, 0)) = sand (hatMats PB Bas.X c.uX) (hatMats PB Bas.Z c.uZ) p) โˆง โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, ((M.reg (Anc F m)).jointModel (0, 0)).xSqNorm (QA c p) (QB c p) โ‰ค 2 * deltaQ ฮต โˆง โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, ((M.reg (Anc F m)).jointModel (0, 0)).xSqNorm (QA c p) (smulKron (hatMats PB Bas.Z c.uZ p.2 * hatMats PB Bas.X c.uX p.1) 1) โ‰ค 4 * deltaQ ฮต + 115352832 * ฮต โˆง โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, ((M.reg (Anc F m)).jointModel (0, 0)).xSqNorm (QA c p) (smulKron (hatMats PB Bas.X c.uX p.1 * hatMats PB Bas.Z c.uZ p.2) 1) โ‰ค 4 * deltaQ ฮต + 461411328 * ฮต

                    lem:qld-combined-points, the dilated measurement. For each pair of points (x, z) there is a projective measurement in each player's algebra of the expanded model, enlarged by one dilation register (F ร— F) โŠ• (F ร— F) in the state |inl (0, 0)โŸฉ, which returns the X-value at x and the Z-value at z at once; it is self-consistent across the two parties on average over the content, and consistent with both ordered products of the expanded point measurements. The measurement is the Halmos dilation of the sandwich M-hat^{Z,z}_b M-hat^{X,x}_a M-hat^{Z,z}_b, and the third and fourth conclusions record the compression identity, which is what carries the estimates. This is the form the pasting lemma of lem:qld-pairs-of-lines consumes; the agreement form of the same estimates, in the expanded model itself, is combined_points.

                    theorem MIPRE.QLD.combined_points {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 โ„ฌ] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {PA : Question F m โ†’ POVMIn (Answer F m d) ๐’œ} {PB : Question F m โ†’ POVMIn (Answer F m d) โ„ฌ} {ฮต : โ„} [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] (hM : โ€–M.ฯˆโ€– = 1) (hfail : 1 - M.povmValue (qldGame hm) PA PB โ‰ค ฮต) (hPA : โˆ€ (q : Question F m), IsPVMIn (PA q).op) (hPB : โˆ€ (q : Question F m), IsPVMIn (PB q).op) :
                    1 - โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, (M.reg (Anc F m)).bornProb (sand (hatMats PA Bas.X c.uX) (hatMats PA Bas.Z c.uZ) p) (sand (hatMats PB Bas.X c.uX) (hatMats PB Bas.Z c.uZ) p) โ‰ค deltaQ ฮต โˆง 1 - โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, (M.reg (Anc F m)).bornProb (sand (hatMats PA Bas.X c.uX) (hatMats PA Bas.Z c.uZ) p) (hatMats PB Bas.Z c.uZ p.2 * hatMats PB Bas.X c.uX p.1) โ‰ค (4 * deltaQ ฮต + 115352832 * ฮต) / 2 โˆง 1 - โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ p : F ร— F, (M.reg (Anc F m)).bornProb (sand (hatMats PA Bas.X c.uX) (hatMats PA Bas.Z c.uZ) p) (hatMats PB Bas.X c.uX p.1 * hatMats PB Bas.Z c.uZ p.2) โ‰ค (4 * deltaQ ฮต + 461411328 * ฮต) / 2

                    lem:qld-combined-points, as agreement bounds of the sandwiches in the expanded model. The sandwich R_{a,b} = M-hat^{Z,z}_b M-hat^{X,x}_a M-hat^{Z,z}_b is a POVM in each player's algebra of M.reg (Anc F m) (POVMIn.sand); on average over the content the two players' sandwiches disagree with probability at most delta_Q, and the first player's sandwich disagrees with each ordered product of the second player's expanded point measurements at most half the constants of the matrix statement. The constants are those of the dilated measurement of combined_points_dilated, halved: the summed deviation of a projective pair is twice its disagreement, and the dilation compresses to the sandwich (BipartiteModel.jointModel_bornProb), so the dilation stays inside the proof.

                    The padded point measurement #

                    Blueprint lem:qld-padded-points. A point of the padded space F_q^{4m} is u = (x, z, alpha, beta, w), and the measurement returns the combined value alpha g_X(x) + beta g_Z(z): the combined point measurement of lem:qld-combined-points, coarse-grained along the linear form (a, b) |-> alpha a + beta b. It depends on u only through (x, z, alpha, beta), which is what ``independent of the dummy coordinates'' means, and it is indexed by those here.

                    The two conclusions are free for opposite reasons. Self-consistency survives the coarse-graining at no cost because both families are projective, so the deviation and the agreement determine each other and agreement only increases (BipartiteModel.sum_xSqNorm_map_le). Consistency with the ordered products does not survive it unaided --- the fibres have q elements and a triangle inequality would cost exactly that factor --- and what saves it is Parseval over F_q (BipartiteModel.sum_avg_xSqNorm_fibre_eq), whose zero-probe term vanishes because the deviation family sums to zero: both sum_{a,b} Q-hat_{a,b} and sum_{a,b} M-hat^Z_b M-hat^X_a are the identity. The measurement is the dilated one of combined_points_dilated, coarse-grained, so the statement is in the model of the dilation.

                    noncomputable def MIPRE.QLD.hatOrdZX {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (x z : LIDT.Point F m) (p : F ร— F) :
                    Matrix (Anc F m) (Anc F m) R

                    Bob's ordered product, Z then X.

                    Equations
                    Instances For
                      noncomputable def MIPRE.QLD.hatOrdXZ {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [Ring R] [StarRing R] [Algebra โ„‚ R] [StarModule โ„‚ R] [PartialOrder R] [StarOrderedRing R] [StarProper R] (P : Question F m โ†’ POVMIn (Answer F m d) R) (x z : LIDT.Point F m) (p : F ร— F) :
                      Matrix (Anc F m) (Anc F m) R

                      Bob's ordered product, X then Z.

                      Equations
                      Instances For
                        theorem MIPRE.QLD.sum_hatOrdZX {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [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) (x z : LIDT.Point F m) :
                        โˆ‘ p : F ร— F, hatOrdZX P x z p = 1
                        theorem MIPRE.QLD.sum_hatOrdXZ {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {m d : โ„•} [NeZero m] {R : Type u_5} [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) (x z : LIDT.Point F m) :
                        โˆ‘ p : F ร— F, hatOrdXZ P x z p = 1
                        theorem MIPRE.QLD.sum_avg_xSqNorm_fibre_eq {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] [Algebra (ZMod 2) F] {๐’ž' : Type u_5} {๐’œ' : Type u_6} {โ„ฌ' : Type u_7} [Ring ๐’ž'] [StarRing ๐’ž'] [Algebra โ„‚ ๐’ž'] [Ring ๐’œ'] [StarRing ๐’œ'] [Algebra โ„‚ ๐’œ'] [Ring โ„ฌ'] [StarRing โ„ฌ'] [Algebra โ„‚ โ„ฌ'] (N : BipartiteModel ๐’ž' ๐’œ' โ„ฌ') {Q : F ร— F โ†’ ๐’œ'} {B : F ร— F โ†’ โ„ฌ'} (hQ : โˆ‘ p : F ร— F, Q p = 1) (hB : โˆ‘ p : F ร— F, B p = 1) :
                        โˆ‘ ab : F ร— F, (โ†‘(Fintype.card F))โปยน * (โ†‘(Fintype.card F))โปยน * โˆ‘ v : F, N.xSqNorm (โˆ‘ p : F ร— F with ab.1 * p.1 + ab.2 * p.2 = v, Q p) (โˆ‘ p : F ร— F with ab.1 * p.1 + ab.2 * p.2 = v, B p) = (1 - (โ†‘(Fintype.card F))โปยน) * โˆ‘ p : F ร— F, N.xSqNorm (Q p) (B p)

                        Parseval for the padded coarse-graining. On average over (alpha, beta) the summed deviation of the two families coarse-grained along (a, b) |-> alpha a + beta b is 1 - 1/q times the families' own --- in particular no worse, although the fibres have q elements. The two normalizations are what make the zero probe drop out. This is BipartiteModel.sum_avg_xSqNorm_fibre_eq (MIPRE/Foundations/ModelCalculus.lean).

                        theorem MIPRE.QLD.padded_points {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 โ„ฌ] {hm : m โˆฃ Fintype.card F} {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} {PA : Question F m โ†’ POVMIn (Answer F m d) ๐’œ} {PB : Question F m โ†’ POVMIn (Answer F m d) โ„ฌ} {ฮต : โ„} [StarModule โ„‚ ๐’œ] [StarProper ๐’œ] [StarModule โ„‚ โ„ฌ] [StarProper โ„ฌ] (hM : โ€–M.ฯˆโ€– = 1) (hfail : 1 - M.povmValue (qldGame hm) PA PB โ‰ค ฮต) (hPA : โˆ€ (q : Question F m), IsPVMIn (PA q).op) (hPB : โˆ€ (q : Question F m), IsPVMIn (PB q).op) :
                        โˆƒ (QA : Content F m โ†’ F ร— F โ†’ F โ†’ Matrix (F ร— F โŠ• F ร— F) (F ร— F โŠ• F ร— F) (Matrix (Anc F m) (Anc F m) ๐’œ)) (QB : Content F m โ†’ F ร— F โ†’ F โ†’ Matrix (F ร— F โŠ• F ร— F) (F ร— F โŠ• F ร— F) (Matrix (Anc F m) (Anc F m) โ„ฌ)), (โˆ€ (c : Content F m) (ab : F ร— F), IsPVMIn (QA c ab)) โˆง (โˆ€ (c : Content F m) (ab : F ร— F), IsPVMIn (QB c ab)) โˆง (โˆ€ (ab : F ร— F), โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ v : F, ((M.reg (Anc F m)).jointModel (0, 0)).xSqNorm (QA c ab v) (QB c ab v) โ‰ค 2 * deltaQ ฮต) โˆง โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ ab : F ร— F, (โ†‘(Fintype.card F))โปยน * (โ†‘(Fintype.card F))โปยน * โˆ‘ v : F, ((M.reg (Anc F m)).jointModel (0, 0)).xSqNorm (QA c ab v) (โˆ‘ p : F ร— F with ab.1 * p.1 + ab.2 * p.2 = v, smulKron (hatOrdZX PB c.uX c.uZ p) 1) โ‰ค 4 * deltaQ ฮต + 115352832 * ฮต โˆง โˆ‘ c : Content F m, (โ†‘(Fintype.card (Content F m)))โปยน * โˆ‘ ab : F ร— F, (โ†‘(Fintype.card F))โปยน * (โ†‘(Fintype.card F))โปยน * โˆ‘ v : F, ((M.reg (Anc F m)).jointModel (0, 0)).xSqNorm (QA c ab v) (โˆ‘ p : F ร— F with ab.1 * p.1 + ab.2 * p.2 = v, smulKron (hatOrdXZ PB c.uX c.uZ p) 1) โ‰ค 4 * deltaQ ฮต + 461411328 * ฮต

                        lem:qld-padded-points. The padded space's point measurement: the combined XZ measurement coarse-grained along (a, b) |-> alpha a + beta b, so that it returns the single field element alpha g_X(x) + beta g_Z(z). It is indexed by (x, z, alpha, beta) --- which is what ``independent of the dummy coordinates'' means --- projective, self-consistent, and consistent with both ordered products of the expanded point measurements, coarse-grained the same way.