Documentation

MIPRE.Background.LIDT.Co.Doubling.Unsymmetrization

Unsymmetrization in the doubled model #

Theorem E of reports/c6b-paper-proofs.md, ยง4.2 (Lemma 13), for the doubled model Doubling.model hM hฯˆ of Co/Doubling/Model.lean and the symmetric strategy Doubling.symmStrat of Co/Doubling/Strategy.lean. The main induction returns one polynomial measurement G of the doubled local algebra Loc M; its components are a measurement of ๐’œ and one of โ„ฌ, and the point consistency of G in the doubled model bounds each component's point consistency against the other player's point measurements in M by twice as much.

New here #

This file has no vendored counterpart. Every declaration is new:

Not ported #

This file replaces the vendored LDT/Test/StrategyBiProjUnsymmetrization.lean, which is not ported (the pairing script reads only ported files, so it is recorded here):

The role-register symmetrization LDT/Test/StrategyBiProjRoleAverage/Final.lean is likewise not ported; it is replaced by symmStrat and symmStrat_isGood_three_mul.

The components of a measurement #

noncomputable def MIPRE.LIDT.Co.Doubling.measA {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (G : Measurement O (Loc M)) :
Measurement O ๐’œ

The first component of a measurement of the doubled local algebra, a measurement of ๐’œ (the report's Gยน): the image under the unital โ‹†-homomorphism compA.

Equations
Instances For
    noncomputable def MIPRE.LIDT.Co.Doubling.measB {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (G : Measurement O (Loc M)) :
    Measurement O โ„ฌ

    The second component of a measurement of the doubled local algebra, a measurement of โ„ฌ (the report's Gยฒ): the image under the unital โ‹†-homomorphism compB.

    Equations
    Instances For
      @[simp]
      theorem MIPRE.LIDT.Co.Doubling.measA_toSubMeas {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (G : Measurement O (Loc M)) :

      The first component of a measurement, as a submeasurement, is the first component of its submeasurement.

      @[simp]
      theorem MIPRE.LIDT.Co.Doubling.measB_toSubMeas {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (G : Measurement O (Loc M)) :

      The second component of a measurement, as a submeasurement, is the second component of its submeasurement.

      @[simp]
      theorem MIPRE.LIDT.Co.Doubling.measA_outcome {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (G : Measurement O (Loc M)) (a : O) :
      (measA hM G).outcome a = (compA hM) (G.outcome a)

      The outcome operators of the first component are the first components of the outcome operators.

      @[simp]
      theorem MIPRE.LIDT.Co.Doubling.measB_outcome {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (G : Measurement O (Loc M)) (a : O) :
      (measB hM G).outcome a = (compB hM) (G.outcome a)

      The outcome operators of the second component are the second components of the outcome operators.

      The paired measurement #

      noncomputable def MIPRE.LIDT.Co.Doubling.pairMeasurement {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : Measurement O ๐’œ) (B : Measurement O โ„ฌ) :

      The paired measurement in the doubled model: the componentwise pairing of a measurement A of ๐’œ and B of โ„ฌ, translated to the doubled local algebra Loc M along Doubling.equiv; the counterpart of pairProjMeas for measurements.

      Equations
      Instances For
        theorem MIPRE.LIDT.Co.Doubling.pairMeasurement_outcome {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : Measurement O ๐’œ) (B : Measurement O โ„ฌ) (a : O) :

        The outcomes of a paired measurement are the translated pairs of outcomes.

        @[simp]
        theorem MIPRE.LIDT.Co.Doubling.subMeasA_pairMeasurement {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : Measurement O ๐’œ) (B : Measurement O โ„ฌ) :

        The first components of a paired measurement are the first measurement.

        @[simp]
        theorem MIPRE.LIDT.Co.Doubling.subMeasB_pairMeasurement {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : Measurement O ๐’œ) (B : Measurement O โ„ฌ) :

        The second components of a paired measurement are the second measurement.

        @[simp]
        theorem MIPRE.LIDT.Co.Doubling.measA_pairMeasurement {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : Measurement O ๐’œ) (B : Measurement O โ„ฌ) :
        measA hM (pairMeasurement hM A B) = A

        The first component of a paired measurement is the first measurement.

        @[simp]
        theorem MIPRE.LIDT.Co.Doubling.measB_pairMeasurement {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : Measurement O ๐’œ) (B : Measurement O โ„ฌ) :
        measB hM (pairMeasurement hM A B) = B

        The second component of a paired measurement is the second measurement.

        The diagonal identity #

        theorem MIPRE.LIDT.Co.Doubling.bipartiteConsError_model_diag {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) (hฯˆ : โ€–M.ฯˆโ€– = 1) {Question : Type u_4} {Outcome : Type u_5} [Fintype Outcome] [DecidableEq Outcome] (๐’Ÿ : MIPStarRE.LDT.Distribution Question) (X : IdxSubMeas Question Outcome (Loc M)) :
        (model hM hฯˆ).bipartiteConsError ๐’Ÿ X X = bipartiteConsError M ๐’Ÿ (fun (q : Question) => subMeasA hM (X q)) fun (q : Question) => subMeasB hM (X q)

        The diagonal identity (Theorem C at X = Y): the doubled consistency error of a family of the doubled model with itself is the two-space consistency error of its first components against its second components, exactly.

        Evaluation commutes with taking components #

        theorem MIPRE.LIDT.Co.Doubling.polynomialEvaluationFamily_subMeasA {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {params : MIPStarRE.LDT.Parameters} [MIPStarRE.LDT.FieldModel params.q] (G : SubMeas (MIPStarRE.LDT.Polynomial params) (Loc M)) (u : MIPStarRE.LDT.Point params) :

        Evaluation commutes with the first component: the evaluations of the first component of a polynomial submeasurement are the first components of its evaluations.

        theorem MIPRE.LIDT.Co.Doubling.polynomialEvaluationFamily_subMeasB {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {params : MIPStarRE.LDT.Parameters} [MIPStarRE.LDT.FieldModel params.q] (G : SubMeas (MIPStarRE.LDT.Polynomial params) (Loc M)) (u : MIPStarRE.LDT.Point params) :

        Evaluation commutes with the second component: the evaluations of the second component of a polynomial submeasurement are the second components of its evaluations.

        theorem MIPRE.LIDT.Co.Doubling.constSubMeasFamily_subMeasA {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : SubMeas O (Loc M)) (q : Unit) :

        The constant family of the first component is the first component of the constant family.

        theorem MIPRE.LIDT.Co.Doubling.constSubMeasFamily_subMeasB {๐’ž : Type u_1} {๐’œ : Type u_2} {โ„ฌ : Type u_3} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] {M : BipartiteModel ๐’ž ๐’œ โ„ฌ} (hM : M.IsFinitePair) {O : Type u_4} [Fintype O] (A : SubMeas O (Loc M)) (q : Unit) :

        The constant family of the second component is the second component of the constant family.

        Theorem E #

        theorem MIPRE.LIDT.Co.Doubling.symmStrat_pointConsistency_unsymmetrize {params : MIPStarRE.LDT.Parameters} [MIPStarRE.LDT.FieldModel params.q] {๐’ž : Type u_1} [Ring ๐’ž] [StarRing ๐’ž] [Algebra โ„‚ ๐’ž] {๐’œ : Type u_2} [Ring ๐’œ] [StarRing ๐’œ] [Algebra โ„‚ ๐’œ] [PartialOrder ๐’œ] [StarOrderedRing ๐’œ] {โ„ฌ : Type u_3} [Ring โ„ฌ] [StarRing โ„ฌ] [Algebra โ„‚ โ„ฌ] [PartialOrder โ„ฌ] [StarOrderedRing โ„ฌ] (strategy : ProjStrat params ๐’ž ๐’œ โ„ฌ) (hM : strategy.state.IsFinitePair) (G : Measurement (MIPStarRE.LDT.Polynomial params) (Loc strategy.state)) {ฯƒ : โ„} (h : (symmStrat strategy hM).state.ConsRel (MIPStarRE.LDT.uniformDistribution (MIPStarRE.LDT.Point params)) (symmStrat strategy hM).pointMeasurement.toIdxSubMeas (polynomialEvaluationFamily params G.toSubMeas) ฯƒ) :

        Unsymmetrization at the vendored cut (Theorem E of reports/c6b-paper-proofs.md, ยง4.2, Lemma 13): if the paired point measurements of the symmetric strategy symmStrat strategy hM are ฯƒ-consistent with the evaluations of a polynomial measurement G of the doubled local algebra, then in the two-space model strategy.state the first player's point measurements are 2ฯƒ-consistent with the evaluations of G's second component measB hM G, and the evaluations of G's first component measA hM G with the second player's point measurements. These are the constants of the vendored sourceRoleRegisterPointConsistency_ofSymConsistency.