Documentation

MIPRE.Background.LIDT.Co.Test.MainTheorem.MainFormal

Main-formal soundness theorem #

The two-space final theorem thm:main-formal of the low individual degree test: the counterpart of MIPRE/Background/LIDT/MIPStarRE/LDT/Test/MainTheorem/MainFormal.lean in the port of planning/c6b-plan.md (milestone M13, section "Port conventions"). It is the last theorem of the port. A projective strategy strategy : ProjStrat params π’ž π’œ ℬ whose bipartite model is a dyadic pair and which passes the test with error Ξ΅ has projective polynomial measurements G_A in π’œ and G_B in ℬ consistent with the point measurements and with each other up to mainFormalError params k Ξ΅. The statement is two-space, as the vendored one is: the symmetric model appears only inside, as the doubled model D(M) in which the main induction runs (Co SourceRoleRegister/Core).

Translation. That of Co Test/MainTheorem/TwoSpace.lean: the vendored ConsRel strategy.state π’Ÿ A B Ξ΄ is bipartiteConsError strategy.state π’Ÿ A B ≀ Ξ΄, the measurements are ProjMeas (MIPStarRE.LDT.Polynomial params) in π’œ (Alice) and ℬ (Bob), and the saturated branch bounds a defect by 1 through TwoSpace.bipartiteConsError_uniform_le_one. The small-error branch is the vendored scalar absorption, verbatim, applied to ProjStrat.sourceRoleRegisterFinalPointConsistency.

Departure: new hypotheses. mainFormalConclusion_ofRoleRegisterScalarBoundary, mainFormal_smallErrorConclusion, mainFormalConclusion and mainFormal take (hM : strategy.state.IsDyadicPair) (hd : 1 ≀ params.d) right after strategy, as Co SourceRoleRegister/Final does: the main induction runs in the doubled model of a dyadic pair and needs 1 ≀ params.d, and the two-space orthonormalizations need hM and ΢₁ > 0. mainFormal_trivial_witness uses neither and does not take them. No statement carries a swap, density or normalization hypothesis (the strategy's state is a unit vector by strategy.isNormalized).

Departure: transparency. The vendored file sets backward.isDefEq.respectTransparency false for the whole file; this one does not set it.

Classical, imported. The scalar files of the vendored directory are wholly classical (the error mainFormalError, the cascade scalars and their absorption bounds). They get no Co file: this module imports the vendored Test/MainTheorem/SourceScalars.lean, which imports the others, and names their declarations through explicit open lists. They are

New here #

Not ported #

Every declaration of the vendored file has a counterpart here; all but mainFormal_trivial_witness carry the new hypotheses hM and hd.

References #

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

Saturated-error branch of thm:main-formal. Whenever mainFormalError params k Ξ΅ β‰₯ 1, the three consistency conclusions hold for arbitrary projective polynomial measurements (here the trivial ones), since each two-space consistency defect is at most 1 for a unit vector and a uniform question distribution. Neither the test hypothesis nor hM, hd is used.

theorem MIPRE.LIDT.Co.Test.mainFormalConclusion_ofRoleRegisterScalarBoundary {π’ž : Type u_1} [Ring π’ž] [StarRing π’ž] [Algebra β„‚ π’ž] {π’œ : Type u_2} [Ring π’œ] [StarRing π’œ] [Algebra β„‚ π’œ] [PartialOrder π’œ] [StarOrderedRing π’œ] {ℬ : Type u_3} [Ring ℬ] [StarRing ℬ] [Algebra β„‚ ℬ] [PartialOrder ℬ] [StarOrderedRing ℬ] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : ProjStrat params π’ž π’œ ℬ) (hM : strategy.state.IsDyadicPair) (hd : 1 ≀ params.d) (eps : ℝ) (hpass : strategy.PassesLowIndividualDegreeTest eps) (k : β„•) (hk : 400 * params.m * params.d ≀ k) (hk0 : 0 < k) (hsmall : Β¬1 ≀ MIPStarRE.LDT.Test.mainFormalError params k eps) :

The role-register conclusion with the scalar absorption, once the scalar branch has supplied 0 < k and mainFormalError params k Ξ΅ < 1: sourceRoleRegisterFinalPointConsistency with its explicit errors weakened to mainFormalError by the vendored Step 8 cascade (MainFormalScalarBounds).

Departure: the hypotheses hM : strategy.state.IsDyadicPair and hd : 1 ≀ params.d are new.

theorem MIPRE.LIDT.Co.Test.mainFormal_smallErrorConclusion {π’ž : Type u_1} [Ring π’ž] [StarRing π’ž] [Algebra β„‚ π’ž] {π’œ : Type u_2} [Ring π’œ] [StarRing π’œ] [Algebra β„‚ π’œ] [PartialOrder π’œ] [StarOrderedRing π’œ] {ℬ : Type u_3} [Ring ℬ] [StarRing ℬ] [Algebra β„‚ ℬ] [PartialOrder ℬ] [StarOrderedRing ℬ] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : ProjStrat params π’ž π’œ ℬ) (hM : strategy.state.IsDyadicPair) (hd : 1 ≀ params.d) (eps : ℝ) (hpass : strategy.PassesLowIndividualDegreeTest eps) (k : β„•) (hk : 400 * params.m * params.d ≀ k) (hk0 : 0 < k) (hsmall : Β¬1 ≀ MIPStarRE.LDT.Test.mainFormalError params k eps) :

Small-error branch of thm:main-formal: the role-register route with the scalar absorption, once 0 < k is supplied and mainFormalError params k Ξ΅ < 1. It is not an additional hypothesis of thm:main-formal: mainFormalConclusion calls it only after the saturated branch has been discharged by mainFormal_trivial_witness.

Departure: the hypotheses hM : strategy.state.IsDyadicPair and hd : 1 ≀ params.d are new.

theorem MIPRE.LIDT.Co.Test.mainFormalConclusion {π’ž : Type u_1} [Ring π’ž] [StarRing π’ž] [Algebra β„‚ π’ž] {π’œ : Type u_2} [Ring π’œ] [StarRing π’œ] [Algebra β„‚ π’œ] [PartialOrder π’œ] [StarOrderedRing π’œ] {ℬ : Type u_3} [Ring ℬ] [StarRing ℬ] [Algebra β„‚ ℬ] [PartialOrder ℬ] [StarOrderedRing ℬ] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : ProjStrat params π’ž π’œ ℬ) (hM : strategy.state.IsDyadicPair) (hd : 1 ≀ params.d) (eps : ℝ) (hpass : strategy.PassesLowIndividualDegreeTest eps) (k : β„•) (hk : 400 * params.m * params.d ≀ k) (hk0 : 0 < k) :

Source-boundary reduction of thm:main-formal: the saturated branch (mainFormal_trivial_witness) when mainFormalError params k Ξ΅ β‰₯ 1, the small-error branch (mainFormal_smallErrorConclusion) otherwise.

Departure: the hypotheses hM : strategy.state.IsDyadicPair and hd : 1 ≀ params.d are new.

theorem MIPRE.LIDT.Co.Test.mainFormal {π’ž : Type u_1} [Ring π’ž] [StarRing π’ž] [Algebra β„‚ π’ž] {π’œ : Type u_2} [Ring π’œ] [StarRing π’œ] [Algebra β„‚ π’œ] [PartialOrder π’œ] [StarOrderedRing π’œ] {ℬ : Type u_3} [Ring ℬ] [StarRing ℬ] [Algebra β„‚ ℬ] [PartialOrder ℬ] [StarOrderedRing ℬ] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : ProjStrat params π’ž π’œ ℬ) (hM : strategy.state.IsDyadicPair) (hd : 1 ≀ params.d) (eps : ℝ) (hpass : strategy.lowIndividualDegreeFailureProbability ≀ eps) (k : β„•) (hk : 400 * params.m * params.d ≀ k) (hk0 : 0 < k) :

thm:main-formal, for a dyadic pair. A projective strategy whose bipartite model is a dyadic pair and whose failure probability in the low individual degree test is at most Ξ΅ has projective polynomial measurements G_A in π’œ and G_B in ℬ such that Alice's points are consistent with Bob's evaluations of G_B, Alice's evaluations of G_A with Bob's points, and G_A with G_B, each up to mainFormalError params k Ξ΅. As in the vendored theorem, the paper's k β‰₯ m d is corrected to k β‰₯ 400 m d, and 0 < k is assumed.

Departure: the hypotheses hM : strategy.state.IsDyadicPair and hd : 1 ≀ params.d are new.

Readouts for the soundness adapters #

theorem MIPRE.LIDT.Co.Test.mainFormal_isPVMIn {π’ž : Type u_1} [Ring π’ž] [StarRing π’ž] [Algebra β„‚ π’ž] {π’œ : Type u_2} [Ring π’œ] [StarRing π’œ] [Algebra β„‚ π’œ] [PartialOrder π’œ] [StarOrderedRing π’œ] {ℬ : Type u_3} [Ring ℬ] [StarRing ℬ] [Algebra β„‚ ℬ] [PartialOrder ℬ] [StarOrderedRing ℬ] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : ProjStrat params π’ž π’œ ℬ) (hM : strategy.state.IsDyadicPair) (hd : 1 ≀ params.d) (eps : ℝ) (hpass : strategy.lowIndividualDegreeFailureProbability ≀ eps) (k : β„•) (hk : 400 * params.m * params.d ≀ k) (hk0 : 0 < k) :

thm:main-formal with projective measurements of the repository: the measurements of mainFormal are MIPRE.IsPVMIn in π’œ and ℬ, as every projective measurement of a player's algebra of a finite pair is (MIPRE.LIDT.Co.ProjMeas.isPVMIn_of_isFinitePair).

theorem MIPRE.LIDT.Co.Test.mainFormal_inconsistency {π’ž : Type u_1} [Ring π’ž] [StarRing π’ž] [Algebra β„‚ π’ž] {π’œ : Type u_2} [Ring π’œ] [StarRing π’œ] [Algebra β„‚ π’œ] [PartialOrder π’œ] [StarOrderedRing π’œ] {ℬ : Type u_3} [Ring ℬ] [StarRing ℬ] [Algebra β„‚ ℬ] [PartialOrder ℬ] [StarOrderedRing ℬ] (params : MIPStarRE.LDT.Parameters) [MIPStarRE.LDT.FieldModel params.q] (strategy : ProjStrat params π’ž π’œ ℬ) (hM : strategy.state.IsDyadicPair) (hd : 1 ≀ params.d) (eps : ℝ) (hpass : strategy.lowIndividualDegreeFailureProbability ≀ eps) (k : β„•) (hk : 400 * params.m * params.d ≀ k) (hk0 : 0 < k) :

thm:main-formal as inconsistencies of the bipartite model: the three consistency bounds of mainFormal_isPVMIn, stated as MIPRE.BipartiteModel.inconsistency of measurement families weighted by the uniform question distribution, the form of the consistency conclusions of MIPRE.LIDT.Simul.SoundIn (through bipartiteConsError_eq_inconsistency).