Documentation

MIPRE.Background.LIDT.Co.Test.SchwartzZippelStep

mainFormal Step 5 β€” Schwartz--Zippel self-consistency handoff #

The paper's Step 5 bridge (references/ldt-paper/inductive_step.tex, lines 119--133): the algebraic expansion and reindexing from evaluated consistency to the full-polynomial consistency defect, the genuinely Schwartz--Zippel part being the tensor bound Preliminaries.polynomialCollisionMass_le_mdq. This is the counterpart of MIPRE/Background/LIDT/MIPStarRE/LDT/Test/SchwartzZippelStep.lean in the port of planning/c6b-plan.md (milestone M4, section "Port conventions").

The declarations live in MIPRE.LIDT.Co.Test, with the symmetric model S : SymModel 𝔓 K an ordinary explicit argument in place of the vendored state ψ : QuantumState (ΞΉA Γ— ΞΉB), as in Co/Preliminaries/PolynomialAgreement.lean; the bipartite quantities are the SymModel declarations of Co/Test/Defs.lean (S.qBipartiteMatchMass, S.qBipartiteConsDefect, S.bipartiteConsError, S.ConsRel). Both registers carry the local algebra 𝔓, so the vendored carriers ΞΉA, ΞΉB become 𝔓. The normalization hypothesis hnorm : ψ.IsNormalized of the two Step 5 theorems is dropped: it is a theorem of the model, and Preliminaries.polynomialCollisionMass_le_mdq does not take it.

mainFormalStep5_selfConsistency_ofExpansionBound_heterogeneous is therefore narrowed to one carrier, and has the type of mainFormalStep5_selfConsistency_ofExpansionBound. Its vendored caller, on the two-space ProjStrat of Test/MainTheorem/SourceRoleRegister/Core.lean, is left to M13 and M14 (planning/c6b-plan.md, "Same-space and bipartite quantities"), as for the heterogeneous triangle lemmas of Co/Preliminaries/Triangles.

Not ported #

Every declaration of the vendored file has a counterpart here.

theorem MIPRE.LIDT.Co.Test.qBipartiteMatchMass_postprocess_eq_pair_sum {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Ξ± : Type u_3} {Ξ² : Type u_4} [Fintype Ξ±] [Fintype Ξ²] (S : SymModel 𝔓 K) (A B : SubMeas Ξ± 𝔓) (f : Ξ± β†’ Ξ²) :
S.qBipartiteMatchMass (postprocess A f) (postprocess B f) = βˆ‘ aa : Ξ± Γ— Ξ±, if f aa.1 = f aa.2 then S.ev (S.opTensor (A.outcome aa.1) (B.outcome aa.2)) else 0

The matching mass of two postprocessed submeasurements, expanded as a sum over pairs of original outcomes (a, a') whose readouts agree.

noncomputable def MIPRE.LIDT.Co.Test.localCollisionMass {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Ξ± : Type u_3} {Ξ² : Type u_4} [Fintype Ξ±] (S : SymModel 𝔓 K) (A B : SubMeas Ξ± 𝔓) (f : Ξ± β†’ Ξ²) :

The off-diagonal collision mass of A and B under the readout f: the pairs of distinct outcomes with the same readout, weighted by ⟨Ψ, (A_a βŠ— B_{a'}) Ψ⟩.

Equations
Instances For
    theorem MIPRE.LIDT.Co.Test.qBipartiteMatchMass_postprocess_eq_add_localCollision {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Ξ± : Type u_3} {Ξ² : Type u_4} [Fintype Ξ±] [Fintype Ξ²] (S : SymModel 𝔓 K) (A B : SubMeas Ξ± 𝔓) (f : Ξ± β†’ Ξ²) :

    Postprocessing adds exactly the collision mass to the matching mass.

    theorem MIPRE.LIDT.Co.Test.qBipartiteConsDefect_le_postprocess_add_localCollision {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Ξ± : Type u_3} {Ξ² : Type u_4} [Fintype Ξ±] [Fintype Ξ²] (S : SymModel 𝔓 K) (A B : SubMeas Ξ± 𝔓) (f : Ξ± β†’ Ξ²) :

    The consistency defect is at most that of the postprocessed pair plus the collision mass.

    Averaging the collision mass of the point evaluations over a uniform point gives the polynomial collision mass.

    def MIPRE.LIDT.Co.Test.MainFormalStep5ExpansionBound {𝔓 : 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) (Left Right : SubMeas (MIPStarRE.LDT.Polynomial params) 𝔓) :

    The exact algebraic expansion/reindexing statement used in mainFormal Step 5.

    Paper origin: references/ldt-paper/inductive_step.tex:119-130 (\label{eq:G-self-consistency}), with the collision estimate supplied by the Schwartz--Zippel lemma.

    Paper lines 119--128 compare the evaluated consistency defect

    E_u βˆ‘_{a β‰  b} ⟨ψ| G^A_[g(u)=a] βŠ— G^B_[h(u)=b] |ψ⟩

    with the full-polynomial consistency defect

    βˆ‘_{g β‰  h} ⟨ψ| G^A_g βŠ— G^B_h |ψ⟩.

    The paper reuses g as the bound name in the Alice and Bob sums; Lean writes these independently-bound polynomial outcomes as g and h to make the independence explicit.

    After expanding the postprocessed outcomes and separating the colliding pairs g(u)=h(u), the only extra term is the collision mass bounded by Schwartz--Zippel in Preliminaries.polynomialCollisionMass_le_mdq. This predicate records precisely that expansion step, without bundling the Schwartz--Zippel estimate itself into an unproved hypothesis.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MIPRE.LIDT.Co.Test.mainFormalStep5_expansionBound {𝔓 : 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) (Left Right : SubMeas (MIPStarRE.LDT.Polynomial params) 𝔓) :
      MainFormalStep5ExpansionBound params S Left Right

      The algebraic Step 5 expansion bound: the full-polynomial consistency error is bounded by the evaluated consistency error plus the collision mass.

      theorem MIPRE.LIDT.Co.Test.mainFormalStep5_selfConsistency_ofExpansionBound_heterogeneous {𝔓 : 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) (Left Right : SubMeas (MIPStarRE.LDT.Polynomial params) 𝔓) (ΞΆ : ℝ) (hevaluated : S.ConsRel (MIPStarRE.LDT.uniformDistribution (MIPStarRE.LDT.Point params)) (polynomialEvaluationFamily params Left) (polynomialEvaluationFamily params Right) ΞΆ) :
      S.ConsRel (MIPStarRE.LDT.uniformDistribution Unit) (constSubMeasFamily Left) (constSubMeasFamily Right) (ΞΆ + ↑params.m * ↑params.d / ↑params.q)

      Heterogeneous Step 5 packaging for mainFormal using the proved algebraic expansion bound.

      Given evaluated consistency at error ΞΆ (paper line 116) and the exact line-122--125 expansion recorded by MainFormalStep5ExpansionBound, the proved tensor Schwartz--Zippel bound contributes the paper's md/q loss and returns full-polynomial consistency at error ΞΆ + md/q (paper lines 126--133).

      In the symmetric model both registers carry 𝔓, so this is mainFormalStep5_selfConsistency_ofExpansionBound; the vendored hypothesis hnorm : ψ.IsNormalized is a theorem of the model.

      theorem MIPRE.LIDT.Co.Test.mainFormalStep5_selfConsistency_ofExpansionBound {𝔓 : 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) (Left Right : SubMeas (MIPStarRE.LDT.Polynomial params) 𝔓) (ΞΆ : ℝ) (hevaluated : S.ConsRel (MIPStarRE.LDT.uniformDistribution (MIPStarRE.LDT.Point params)) (polynomialEvaluationFamily params Left) (polynomialEvaluationFamily params Right) ΞΆ) :
      S.ConsRel (MIPStarRE.LDT.uniformDistribution Unit) (constSubMeasFamily Left) (constSubMeasFamily Right) (ΞΆ + ↑params.m * ↑params.d / ↑params.q)

      Step 5 packaging for mainFormal using the proved algebraic expansion bound.

      Given evaluated consistency at error ΞΆ (paper line 116) and the exact line-122--125 expansion recorded by MainFormalStep5ExpansionBound, the proved tensor Schwartz--Zippel bound contributes the paper's md/q loss and returns full-polynomial consistency at error ΞΆ + md/q (paper lines 126--133).

      This is the source-labelled same-space statement (the vendored hypothesis hnorm : ψ.IsNormalized is a theorem of the model).