Documentation

MIPRE.Background.LIDT.Co.Commutativity.ScalarApproximation.PaperChainPhaseFive

Section 11 commutativity: the phase-five endpoint of the evaluated-slice paper chain #

The paper line-87 removal endpoint and the finite reindexing to the raw scalar G-commutativity stability defect: the counterpart of Commutativity/ScalarApproximation/PaperChainPhaseFive.lean under MIPRE/Background/LIDT/MIPStarRE/LDT/ in the port of planning/c6b-plan.md (milestone M7, section "Port conventions").

The endpoints and defects are real expectations strategy.state.ev (strategy.state.L … * strategy.state.R …) on the symmetric model of the strategy, with the vendored arguments unchanged. phaseFivePaper_fiber_sum_ev takes the symmetric model S where the vendored lemma takes the state ψ, in the same position.

The vendored proof of evaluatedSlice_phaseFivePaper_term_diff computes with Kronecker products and Matrix.smul_kronecker; here it is mul_sub, the keystone's leftTensor_sub and ev_sub, and ring on the scalars. The fiber collapse is Finset.sum_fiberwise after expanding the fiber sum into the left placement, and the last step of the reindexing holds by definitional equality, evaluatedSlicePointMeas being the strategy's point measurement.

Not ported #

Every declaration of the vendored file has a counterpart here.

References #

In LionSR/MIPStarRE at commit 507e8122, not in this repository:

Paper-faithful phase-five removal after the right-register swap #

noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseFivePaperRemoved {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) :

Paper line-87 endpoint after removing the trailing G^x.total.

At question q = ((u,x),(v,y)) and outcome (a,b), this is G^{u,x}_a G^{v,y}_b āŠ— A^{u,x}_a A^{v,y}_b.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseSixFirstReverse {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) :

    Paper line 101 endpoint after reversing the first eq:add-an-a insertion.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseSixFirstRemoved {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) :

      Paper line 102 endpoint after simplifying the first-coordinate projector.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseSevenGonnaCite {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) :

        Paper line 104 endpoint eq:gonna-cite-this-in-just-a-bit.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseEightTailRight {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) :

          Paper line 118 endpoint after moving the second factor to the right register.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseFivePaperOrderedDefect {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (G : MIPStarRE.LDT.Fq params → SubMeas (MIPStarRE.LDT.Polynomial params) š”“) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) :

            Ordered missing-mass defect for the paper phase-five removal.

            This is the defect before swapping the two right-register point measurements: G^{u,x}_a G^{v,y}_b (1-G^x) āŠ— A^{u,x}_a A^{v,y}_b.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseFivePaperSwappedDefect {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (G : MIPStarRE.LDT.Fq params → SubMeas (MIPStarRE.LDT.Polynomial params) š”“) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) :

              Swapped missing-mass defect for the paper phase-five removal.

              After the right-register point swap, this reindexes to gCommStabilityTwoRawScalarDefect: the right register is A^{v,y}_b A^{u,x}_a.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MIPRE.LIDT.Co.Commutativity.evaluatedSlice_phaseFivePaper_term_diff {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (G : MIPStarRE.LDT.Fq params → SubMeas (MIPStarRE.LDT.Polynomial params) š”“) (hG : āˆ€ (x : MIPStarRE.LDT.Fq params), G x = (family.meas x).toSubMeas) (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) (a b : MIPStarRE.LDT.Fq params) :
                strategy.state.ev (strategy.state.L ((evaluatedSliceFirstFactor params family q).outcome a * (evaluatedSliceSecondFactor params family q).outcome b * (evaluatedSliceFirstFactor params family q).total) * strategy.state.R ((evaluatedSlicePointMeas params strategy q.1).outcome a * (evaluatedSlicePointMeas params strategy q.2).outcome b)) - strategy.state.ev (strategy.state.L ((evaluatedSliceFirstFactor params family q).outcome a * (evaluatedSliceSecondFactor params family q).outcome b) * strategy.state.R ((evaluatedSlicePointMeas params strategy q.1).outcome a * (evaluatedSlicePointMeas params strategy q.2).outcome b)) = -strategy.state.ev (strategy.state.L ((evaluatedSliceFirstFactor params family q).outcome a * (evaluatedSliceSecondFactor params family q).outcome b * (1 - (G (MIPStarRE.LDT.pointHeight params q.1)).total)) * strategy.state.R ((evaluatedSlicePointMeas params strategy q.1).outcome a * (evaluatedSlicePointMeas params strategy q.2).outcome b))

                Pointwise algebra for the paper phase-five removal.

                The swapped phase-four endpoint contains the left factor A_a B_b G^x.total; subtracting the line-87 removed endpoint gives the negative of the ordered defect A_a B_b (1-G^x.total).

                theorem MIPRE.LIDT.Co.Commutativity.evaluatedSlice_phaseFivePaper_avg_diff_eq_neg_orderedDefect {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (G : MIPStarRE.LDT.Fq params → SubMeas (MIPStarRE.LDT.Polynomial params) š”“) (hG : āˆ€ (x : MIPStarRE.LDT.Fq params), G x = (family.meas x).toSubMeas) :
                have š’Ÿ := MIPStarRE.LDT.uniformDistribution (MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params); have inserted := fun (q : MIPStarRE.LDT.Commutativity.EvaluatedSliceQuestion params) => āˆ‘ a : MIPStarRE.LDT.Fq params, āˆ‘ b : MIPStarRE.LDT.Fq params, strategy.state.ev (strategy.state.L ((evaluatedSliceFirstFactor params family q).outcome a * (evaluatedSliceSecondFactor params family q).outcome b * (evaluatedSliceFirstFactor params family q).total) * strategy.state.R ((evaluatedSlicePointMeas params strategy q.1).outcome a * (evaluatedSlicePointMeas params strategy q.2).outcome b)); have removed := evaluatedSlicePhaseFivePaperRemoved params strategy family; MIPStarRE.LDT.avgOver š’Ÿ inserted - MIPStarRE.LDT.avgOver š’Ÿ removed = -MIPStarRE.LDT.avgOver š’Ÿ (evaluatedSlicePhaseFivePaperOrderedDefect params strategy family G)

                Average the paper phase-five algebra over evaluated-slice questions.

                theorem MIPRE.LIDT.Co.Commutativity.phaseFivePaper_fiber_sum_ev {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (S : SymModel š”“ K) (u : MIPStarRE.LDT.Point params) (B T Pā‚‚ : š”“) (Gx : SubMeas (MIPStarRE.LDT.Polynomial params) š”“) (P₁ : MIPStarRE.LDT.Fq params → š”“) :
                āˆ‘ a : MIPStarRE.LDT.Fq params, S.ev (S.L ((āˆ‘ g : MIPStarRE.LDT.Polynomial params with g.toFun u = a, Gx.outcome g) * B * T) * S.R (Pā‚‚ * P₁ a)) = āˆ‘ g : MIPStarRE.LDT.Polynomial params, S.ev (S.L (Gx.outcome g * B * T) * S.R (Pā‚‚ * P₁ (g.toFun u)))

                Collapse the first-coordinate postprocessing fiber in the raw paper defect.

                For fixed (u,x) and right prefix Pā‚‚, summing over evaluated outcomes a expands G^{u,x}_a = āˆ‘_{g : g(u)=a} G^x_g and collapses to a polynomial sum.

                theorem MIPRE.LIDT.Co.Commutativity.evaluatedSlicePhaseFivePaperSwappedDefect_appendPoint_expansion {š”“ : Type u_1} [CStarAlgebra š”“] [PartialOrder š”“] [StarOrderedRing š”“] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ā„‚ K] [CompleteSpace K] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : SymStrat params.next š”“ K) (family : IdxPolyFamily params š”“) (G : MIPStarRE.LDT.Fq params → SubMeas (MIPStarRE.LDT.Polynomial params) š”“) (hG : āˆ€ (x : MIPStarRE.LDT.Fq params), G x = (family.meas x).toSubMeas) (x : MIPStarRE.LDT.Fq params) (u : MIPStarRE.LDT.Point params) (vy : MIPStarRE.LDT.Point params.next) :
                evaluatedSlicePhaseFivePaperSwappedDefect params strategy family G (MIPStarRE.LDT.appendPoint params u x, vy) = āˆ‘ g : MIPStarRE.LDT.Polynomial params, āˆ‘ b : MIPStarRE.LDT.Fq params, strategy.state.ev (strategy.state.L ((G x).outcome g * (evaluatedPointFamily params family vy).outcome b * (1 - (G x).total)) * strategy.state.R ((evaluatedSlicePointMeas params strategy vy).outcome b * (evaluatedSlicePointMeas params strategy (MIPStarRE.LDT.appendPoint params u x)).outcome (g.toFun u)))

                Pointwise expansion of the swapped paper defect after writing the first point as (u,x).

                The statement keeps point measurements in the local evaluatedSlicePointMeas notation; the final reindexing lemma rewrites those to strategy.pointMeasurement when matching gCommStabilityTwoRawScalarDefect.

                Exact reindexing of the swapped paper defect to the raw scalar stability defect.

                The proof decomposes the first evaluated-slice coordinate q.1 = appendPoint params u x, because the defect reads pointHeight params q.1 and the first-coordinate point outcome evaluatedSlicePointMeas params strategy q.1. There is no gamma parameter in this reindexing lemma: the only gamma loss in phase five is the separate right-register point-measurement swap.