Documentation

MIPRE.Background.LIDT.Co.Pasting.Sandwich.PastedFamilies

Section 12 β€” Sandwich constructions: pasted families #

Pasted interpolation families, recurrence weights, and final operator families: the counterpart of MIPRE/Background/LIDT/MIPStarRE/LDT/Pasting/Sandwich/PastedFamilies.lean in the port of planning/c6b-plan.md (milestone M11, section "Port conventions").

The slice family is an IdxPolyFamily params 𝔓 and a strategy a SymStrat params.next 𝔓 K, so the pasted, sandwiched, vertical-line and Bernoulli-tail families are local families in 𝔓 (the vendored Op ΞΉ). Definitions that read no state and no slice family (hRestrictionToVerticalLine, pastedMeasurementTotal) are generic over an ordered ⋆-ring, and the Bernoulli-tail submeasurement over any C*-algebra with its order, as the positivity lemmas of Co/Pasting/Sandwich/GHatSandwich.lean are, so that it serves 𝔓 and K β†’L[β„‚] K alike. The one placed family, fromHToGTailStageFamily, takes the symmetric model S : SymModel 𝔓 K as its first explicit argument, in place of the vendored named carriers (ΞΉβ‚‚ := ΞΉ), (ι₁ := ΞΉ), and its operator S.L (…) * S.R (…) is the vendored leftTensor (…) * rightTensor (…).

Not ported #

References #

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

noncomputable def MIPRE.LIDT.Co.Pasting.fromHToGRecurrenceWeight {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (prefixLen : β„•) {tailLen : β„•} (Ο„tail : MIPStarRE.LDT.Pasting.GHatType tailLen) :
𝔓

Source-style recurrence weight S_{Ο„tail} from lem:from-H-to-G.

The parameter prefixLen is the number of type bits already converted into the Bernoulli polynomial. This is exactly truncatedTypeSums specialized to the averaged complete operator G = E_x βˆ‘_g G^x_g.

Equations
Instances For
    noncomputable def MIPRE.LIDT.Co.Pasting.pastedInterpolationFamily {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (k : β„•) :

    The interpolated operator H^{x_1,\dots,x_k}_h restricted to tuples that are globally consistent with a single polynomial.

    The paper's definition (references/ldt-paper/ld-pasting.tex lines 474–495) sums only tuples (g_1,…,g_k) in Global_Ο„(x) β€” those consistent with a single polynomial h β€” and then interpolates. The |Ο„| β‰₯ d+1 eligibility filter is applied by interpolationEligibleSandwichFamily; this definition additionally restricts to globally consistent tuples via IsGloballyConsistent. Consequently, pastedInterpolationFamily is supported only on tuples satisfying both restrictions, and any fallback or default value in interpolateCompletedSlices is irrelevant off that restricted support.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MIPRE.LIDT.Co.Pasting.averagedEligibleSandwichSubMeas {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (k : β„•) :

      The averaged sandwiched family restricted to outcome tuples of type Ο„ with |Ο„| β‰₯ d+1, as in lem:over-all-outcomes.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MIPRE.LIDT.Co.Pasting.constructedPastedSubMeas {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (k : β„•) :

        The specific pasted submeasurement constructed from the sandwich/interpolation scheme.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MIPRE.LIDT.Co.Pasting.constructedPastedMeasurement {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (k : β„•) :

          The specific pasted measurement obtained by completing the constructed pasted submeasurement.

          The paper adds all missing mass I - H_total to a single distinguished polynomial outcome hβ‚€ (the fallback interpolant). So the outcome operator for hβ‚€ becomes H_{hβ‚€} + (I - H_total) while all other outcomes keep their original operators, and the total is genuinely the identity I.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def MIPRE.LIDT.Co.Pasting.averagedSliceAppendedSubMeas {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) :

            Degree-zero candidate pasted submeasurement obtained by averaging the slice family and viewing each slice polynomial as a polynomial in one more variable.

            Paper origin: references/ldt-paper/ld-pasting.tex:12-55. This is a Lean-only construction for the d = 0 branch of thm:ld-pasting, where the ordinary interpolation construction is not available because d + 1 = 1 collapses the distinct-height argument. It introduces no additional hypothesis.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Evaluating the averaged appended-slice submeasurement at a next-level point is the same as evaluating the averaged slice family at the truncated point.

              This is the first formal step in the degree-zero branch of thm:ld-pasting; the later consistency rectangle compares this averaged slice construction with the point measurement.

              Placeholder family for the vertical axis-parallel line measurement B^u_f.

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

                Pull back the vertical-line answer family along truncatePoint, then read its line polynomial at the lifted point's final coordinate.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  In degree zero, the lifted vertical-line answer family is independent of the height coordinate once the old point coordinates are fixed.

                  Lean-only helper for the degree-zero branch of thm:ld-pasting; it formalizes the fact that a vertical line answer of degree zero is constant in the line parameter. The source context is references/ldt-paper/ld-pasting.tex:12-55.

                  noncomputable def MIPRE.LIDT.Co.Pasting.ldSandwichLineOnePointLeftFamily {𝔓 : 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 𝔓) (k i : β„•) :

                  Explicit value extracted from the i-th genuine slice outcome at the test point.

                  The paper's one-point sandwich comparison only sums over tuples with g_i β‰  βŠ₯; the none mass is therefore removed before postprocessing.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    noncomputable def MIPRE.LIDT.Co.Pasting.ldSandwichLineOnePointRightFamily {𝔓 : 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 𝔓) (k i : β„•) :

                    Explicit value extracted from the vertical line measurement B^u at the slice height x_i.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      Restrict a global polynomial-valued submeasurement to the vertical line through u.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        noncomputable def MIPRE.LIDT.Co.Pasting.pastedMeasurementTotal {R : Type u_3} [Ring R] [StarRing R] [PartialOrder R] [StarOrderedRing R] {Ξ± : Type u_4} [Fintype Ξ±] (H : SubMeas Ξ± R) :

                        Collapse a submeasurement to its Unit-valued total operator.

                        Equations
                        Instances For
                          noncomputable def MIPRE.LIDT.Co.Pasting.allOutcomesExpansionFamily {𝔓 : 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 𝔓) (k : β„•) :

                          The expansion over all outcome types Ο„, written as the total mass of the averaged sandwich family restricted to |Ο„| β‰₯ d+1.

                          Equations
                          Instances For
                            noncomputable def MIPRE.LIDT.Co.Pasting.bernoulliTailSubMeas {A : Type u_3} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] (k degree : β„•) (X : A) (hXpsd : 0 ≀ X) (hXleOne : X ≀ 1) :

                            The one-outcome submeasurement whose unique effect is the Bernoulli-tail operator of X.

                            Equations
                            Instances For
                              @[simp]
                              theorem MIPRE.LIDT.Co.Pasting.bernoulliTailSubMeas_outcome {A : Type u_3} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] (k degree : β„•) (X : A) (hXpsd : 0 ≀ X) (hXleOne : X ≀ 1) (u : Unit) :
                              (bernoulliTailSubMeas k degree X hXpsd hXleOne).outcome u = bernoulliTailOperator k degree X

                              The unique outcome of the Bernoulli-tail submeasurement is the Bernoulli-tail operator.

                              @[simp]
                              theorem MIPRE.LIDT.Co.Pasting.bernoulliTailSubMeas_total {A : Type u_3} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] (k degree : β„•) (X : A) (hXpsd : 0 ≀ X) (hXleOne : X ≀ 1) :
                              (bernoulliTailSubMeas k degree X hXpsd hXleOne).total = bernoulliTailOperator k degree X

                              The total of the Bernoulli-tail submeasurement is the Bernoulli-tail operator.

                              noncomputable def MIPRE.LIDT.Co.Pasting.bernoulliTailFromFamily {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (k : β„•) :

                              The Bernoulli-tail polynomial in the averaged complete operator G = E_x \sum_g G^x_g.

                              Equations
                              Instances For
                                noncomputable def MIPRE.LIDT.Co.Pasting.averagedSandwichByTypeSubMeas {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (tailLen : β„•) (Ο„tail : MIPStarRE.LDT.Pasting.GHatType tailLen) :
                                SubMeas Unit 𝔓

                                Average the sandwiched completed-slice family over tuples whose completed/ incomplete pattern is exactly Ο„tail.

                                This is the paper's operator $$ \mathbb E_{x_{\ge \ell}} \sum_{g_{\ge \ell} \in \mathsf{Outcomes}_{\tau_{\ge \ell}}} \widehat H^{x_{\ge \ell}}_{g_{\ge \ell}}, $$ written in the existing SubMeas Unit API so that its total operator is the relevant suffix-stage operator. Unlike the old fromHToG recurrence families, this keeps the \widehat H^{x_{\ge \ell}}_{g_{\ge \ell}} suffix visible instead of collapsing immediately to the full k-step total mass.

                                When this is used in fromHToG, the suffix length is tailLen = k - β„“, and the expectation is the paper's independent uniform average over the remaining slice points x_{β‰₯β„“}.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  noncomputable def MIPRE.LIDT.Co.Pasting.fromHToGTailStageFamily {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] (S : SymModel 𝔓 K) (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (family : IdxPolyFamily params 𝔓) (prefixLen : β„•) {tailLen : β„•} (Ο„tail : MIPStarRE.LDT.Pasting.GHatType tailLen) :

                                  The stage-β„“ suffix family from the proof of lem:from-H-to-G, for a fixed remaining tail type Ο„_{β‰₯β„“}.

                                  This is the operator-valued quantity displayed termwise in references/ldt-paper/ld-pasting.tex, equation eq:i-think-this-is-what-i'm-supposed-to-prove-2 (lines 1386–1391). The parameter prefixLen is the Lean 0-based stage index. In the ambient k-step recurrence where this family is used, the remaining tail length is tailLen = k - prefixLen, so Lean stage prefixLen corresponds to the paper's stage prefixLen + 1.

                                  Concretely, this records $$ \mathbb E_{x_{\ge \ell}} \sum_{g_{\ge \ell} \in \mathsf{Outcomes}_{\tau_{\ge \ell}}} \widehat H^{x_{\ge \ell}}_{g_{\ge \ell}} \otimes S_{\tau_{\ge \ell}}, $$ the tensor product being S.L (…) * S.R (…) in the symmetric model S.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For