Documentation

MIPRE.Background.LIDT.Co.Commutativity.Transport.FullSlice.Averages

Full-slice averages and index equivalences #

Zero-family definition, shared average-reindexing helpers, and averaged scalar and tensor quantities for the full-slice outcome space: the counterpart of MIPRE/Background/LIDT/MIPStarRE/LDT/Commutativity/Transport/FullSlice/Averages.lean in the port of planning/c6b-plan.md (milestone M7, section "Port conventions").

The averages are real expectations strategy.state.ev … on the symmetric model of a strategy strategy : SymStrat params.next 𝔓 K, the vendored leftTensor (ΞΉβ‚‚ := ΞΉ) and rightTensor (ι₁ := ΞΉ) being strategy.state.L and strategy.state.R. The tensor-form averages are internal to the scalar/tensor comparison recorded upstream in docs/decisions/713-scalar-tensor-decision.md; downstream code should use the scalar API.

zeroFullSliceOpFamily is generic over any type with a zero, so a dependant names the operator type, zeroFullSliceOpFamily (R := K β†’L[β„‚] K) params, where the vendored text has (ΞΉ := ΞΉ). The two swap identities of fullSliceCommutation_avg_swap_terms are one private reindexing helper applied twice, in place of the vendored product-average calculation. The data-reindexing equivalences and the point-marginal lemma are classical and imported from the vendored file, which this file imports alongside its mirrored imports.

Not ported #

References #

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

theorem MIPRE.LIDT.Co.Commutativity.fullSliceCommutation_avg_swap_terms {𝔓 : 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 𝔓) :

Swapping the full-slice question and outcome identifies the averaged BAB/ABA terms and the averaged BABA/ABAB terms.

The zero operator family on the full-slice outcome space.

Equations
Instances For
    noncomputable def MIPRE.LIDT.Co.Commutativity.fullSliceABAAvg {𝔓 : 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 𝔓) :

    Full-slice ABA scalar average: E_{x,y} βˆ‘_{g,h} ⟨ψ| G^x_g G^y_h G^x_g βŠ— I |ψ⟩.

    Full-polynomial analog of the evaluated evaluatedSliceABATerm; obtained from it by replacing the evaluated outcomes a,b with polynomial outcomes g,h summed over FullSliceOutcome.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MIPRE.LIDT.Co.Commutativity.fullSliceABABAvg {𝔓 : 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 𝔓) :

      Full-slice ABAB scalar average: E_{x,y} βˆ‘_{g,h} ⟨ψ| G^x_g G^y_h G^x_g G^y_h βŠ— I |ψ⟩.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSliceABAAvg {𝔓 : 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 𝔓) :

        Evaluated-slice ABA scalar average: E_{u,v,x,y} βˆ‘_{a,b} ⟨ψ| G^x_[g(u)=a] G^y_[h(v)=b] G^x_[g(u)=a] βŠ— I |ψ⟩.

        Averaged analog of evaluatedSliceABATerm over the evaluated-slice question.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSliceABABAvg {𝔓 : 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 𝔓) :

          Evaluated-slice ABAB scalar average: E_{u,v,x,y} βˆ‘_{a,b} ⟨ψ| G^x_[g(u)=a] G^y_[h(v)=b] G^x_[g(u)=a] G^y_[h(v)=b] βŠ— I |ψ⟩.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def MIPRE.LIDT.Co.Commutativity.fullSliceBABAtensorAvg {𝔓 : 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 𝔓) :

            Full-slice BAB βŠ— A tensor average (paper eq:gcom4, right-hand side): E_{x,y} βˆ‘_{g,h} ⟨ψ| G^y_h G^x_g G^y_h βŠ— G^x_g |ψ⟩.

            This is the manifestly positive tensor-form partner of fullSliceABAAvg used by the marginalization step: each summand factors as V^* V with V = (G^x_g G^y_h) βŠ— √(G^x_g), so the outer absolute value drops and the Schwartz–Zippel collision bound applies per outcome. This tensor-form average is internal to the scalar API (upstream decision #713).

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def MIPRE.LIDT.Co.Commutativity.fullSliceABABtensorAvg {𝔓 : 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 𝔓) :

              Full-slice ABA βŠ— B tensor average (y-side analogue): E_{x,y} βˆ‘_{g,h} ⟨ψ| G^x_g G^y_h G^x_g βŠ— G^y_h |ψ⟩.

              Naming convention (consistent with the sibling fullSliceBABAtensorAvg for BAB βŠ— A): the four-letter operator string ABAB decomposes as left register ABA followed by right register B. This is not the same operator as the scalar fullSliceABABAvg, whose left register is the full quartic G^x_g G^y_h G^x_g G^y_h; the tensorAvg suffix marks the tensor split.

              The manifestly positive tensor-form partner of fullSliceABABAvg, reached from it by closenessOfIP (moving the trailing G^y_h factor from the left register to the right). Each summand factors as V^* V with V = (G^y_h G^x_g) βŠ— √(G^y_h). Internal per upstream decision #713.

              The evaluated-side analogue is evaluatedSliceABABtensorAvg below.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                noncomputable def MIPRE.LIDT.Co.Commutativity.evaluatedSliceABABtensorAvg {𝔓 : 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 𝔓) :

                Evaluated-slice ABA βŠ— B tensor average (evaluated-side analogue of fullSliceABABtensorAvg): E_{u,v,x,y} βˆ‘_{a,b} ⟨ψ| G^x_[g(u)=a] G^y_[h(v)=b] G^x_[g(u)=a] βŠ— G^y_[h(v)=b] |ψ⟩.

                This is the second tensor-form endpoint of the paper's commutativity-G.tex (lines 356–360). The scalar-to-tensor comparison evaluatedSliceABAB_scalar_to_ABABtensor reaches it by moving the trailing G^y_[h(v)=b] factor from the left register to the right register.

                The shared tensor endpoint is defined here so the evaluated-side transport lemmas can use the same notation as the full-slice transport lemmas.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  noncomputable def MIPRE.LIDT.Co.Commutativity.xEvaluatedSliceBABAtensorAvg {𝔓 : 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 𝔓) :

                  X-evaluated BAB βŠ— A tensor average.

                  This is the intermediate obtained from fullSliceBABAtensorAvg after postprocessing only the first/full-x polynomial outcome by a sampled point u : Point params; the second/y polynomial outcome remains full. The x-side tensor marginalization lemma identifies its difference from the full tensor average with fullSliceBABAxCollisionFactored.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    noncomputable def MIPRE.LIDT.Co.Commutativity.xEvaluatedFullSliceABABAvg {𝔓 : 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 𝔓) :

                    X-evaluated, y-full ABAB scalar average.

                    This is the scalar endpoint in the display from eq:evaluate-gcom-at-points to eq:don't-understand-the-numbering-system: the x polynomial outcome has been postprocessed at u, but the second closenessOfIP move has not yet transferred the trailing G^y_h 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.xEvaluatedFullSliceABABtensorAvg {𝔓 : 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 𝔓) :

                      X-evaluated, y-full ABA βŠ— B tensor average.

                      This is the y-side intermediate in the paper's eq:evaluate-gcom-at-points-part-dos: the first/x family has already been postprocessed at u, while the second/y family still ranges over full polynomial outcomes. The y-side tensor marginalization lemma compares this to evaluatedSliceABABtensorAvg.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem MIPRE.LIDT.Co.Commutativity.xEvaluatedSliceBABAtensorAvg_eq_xFullData {𝔓 : 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 𝔓) :
                        xEvaluatedSliceBABAtensorAvg params strategy family = MIPStarRE.LDT.avgOver (MIPStarRE.LDT.uniformDistribution (MIPStarRE.LDT.Point params Γ— MIPStarRE.LDT.Commutativity.FullSliceQuestion params)) fun (ux : MIPStarRE.LDT.Point params Γ— MIPStarRE.LDT.Commutativity.FullSliceQuestion params) => have A := evaluateAt params ux.1 (family.meas ux.2.1).toSubMeas; have B := (family.meas ux.2.2).toSubMeas; βˆ‘ a : MIPStarRE.LDT.Fq params, βˆ‘ h : MIPStarRE.LDT.Polynomial params, strategy.state.ev (strategy.state.L (B.outcome h * A.outcome a * B.outcome h) * strategy.state.R (A.outcome a))

                        Reindex xEvaluatedSliceBABAtensorAvg into the mixed (u,x,y) data order.