Documentation

MIPRE.Background.AnswerReduction.SoundIsolate

Soundness of answer reduction: the per-seed low-degree games #

Piece AR-5b of planning/answer-reduction.md (claim:ar-3, claim:ar-4, def:ar-seed-index). A strategy for the typed answer-reduced game, restricted to one copy of the low-degree test at a role pair where that copy is tested and to one seed of the input sampler, is a strategy for the seeded CL test of the copy's parameters (copyStrategy): its question maps a CL question to the typed question whose PCP half the copy's presentation computes (Regs.embedQ) and whose oracle half the seed's role family gives, and its answers are parsed and read as answers of the copy's test. The seeds are indexed by the full seed of the input sampler, as the blueprint's def:ar-seed-index asks.

The per-seed failures average to at most a constant times the typed failure (sum_one_sub_value_copyStrategy_le): the copy's nine type pairs are a fixed fraction of the typed game's, and the copy's registers of a uniform PCP vector carry a uniform sample (Regs.sum_sampleOf).

The strategies are projective strategies in a bipartite model (BipartiteModel.ProjStrat), as in every file of the soundness chain, so that the analysis holds in the tensor-product and in the commuting-operator model alike (Phase 3 of planning/mipco-track.md); a per-seed strategy is the typed strategy played through maps (BipartiteModel.ProjStrat.adapt), and so is projective in the same model.

theorem MIPRE.LIDT.CL.clGame_μ {F : Type u_4} [Field F] [Fintype F] [DecidableEq F] {m d ldc : ℕ} [NeZero m] (hm : m ∣ Fintype.card F) (x y : Question F m) :
(clGame hm).μ x y = SampledGame.dist (fun (sm : Sample F m) => Sample.question hm sm sm.tyA) (fun (sm : Sample F m) => Sample.question hm sm sm.tyB) x y

The seeded test's distribution is the push-forward of the uniform sample.

theorem MIPRE.LIDT.CL.one_sub_value_clGame {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [PartialOrder ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {F : Type u_4} [Field F] [Fintype F] [DecidableEq F] {m d ldc : ℕ} [NeZero m] (hm : m ∣ Fintype.card F) (T : M.ProjStrat (clGame hm)) :
1 - T.value = (∑ sm : Sample F m, T.failAt (Sample.question hm sm sm.tyA) (Sample.question hm sm sm.tyB)) / ↑(Fintype.card (Sample F m))

The seeded test's failure is the average failure over samples.

noncomputable def MIPRE.AnswerReduction.pcpBits (P : SAT.PcpParams) (hk : 1 ≤ P.k) (w : Pcp.Coord P → Fq P hk) :

The bits of a vector of V^pcp, in the numbering of a question's PCP half.

Equations
Instances For
    theorem MIPRE.AnswerReduction.pcpPart_append {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) (x : Fin (V.sampler.dim n) → CL.𝔽₂) (w : Pcp.Coord P → Fq P hk) :
    pcpPart V n P hk (Fin.append x (pcpBits P hk w)) = w
    theorem MIPRE.AnswerReduction.oraclePart_append {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) (x : Fin (V.sampler.dim n) → CL.𝔽₂) (w : Pcp.Coord P → Fq P hk) :
    oraclePart V n P (Fin.append x (pcpBits P hk w)) = x
    noncomputable def MIPRE.AnswerReduction.arQ1 {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (r : Role) (i : Fin 5) (x : Fin (V.sampler.dim n) → CL.𝔽₂) (q : LIDT.CL.Question (Fq P hk) P.m) :

    The typed question of a CL question of copy i ≤ 5, at role r and oracle half x.

    Equations
    Instances For
      noncomputable def MIPRE.AnswerReduction.readAns1 (P : SAT.PcpParams) (hk : 1 ≤ P.k) (B : ℕ) (i : Fin 5) (q : LIDT.CL.Question (Fq P hk) P.m) (a : Verifier.Answers B) :
      LIDT.CL.Answer (Fq P hk) P.m dPcp 1

      An answer read as an answer of copy i's test: parsed at the question's type, then read by ans1; a failed parse reads as the zero point answer.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MIPRE.AnswerReduction.copyStrategy {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) (r : Role) (i : Fin 5) (y : Fin (V.sampler.dim n) → CL.𝔽₂) :

        The per-seed low-degree strategy of copy i ≤ 5 at role r and oracle half y: the typed strategy played through arQ1 and readAns1, both players at role r. At the seed x₀ of the input sampler the oracle half is (roleFamily L r).eval x₀: the seed itself for an oracle, the original player's question for an isolated player, whose measurements see nothing else.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MIPRE.AnswerReduction.copy_accepts {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) {r : Role} {i : Fin 5} (hr : LDStep r i) (x₀ : Fin (V.sampler.dim n) → CL.𝔽₂) (sm : LIDT.CL.Sample (Fq P hk) P.m) {a b : Verifier.Answers B} (h : typedPred V n P hk S S' check B (arQ1 V n P hk S r i x₀ (LIDT.CL.Sample.question hm sm sm.tyA)) (arQ1 V n P hk S r i x₀ (LIDT.CL.Sample.question hm sm sm.tyB)) a b = true) :

          The per-seed strategy loses no acceptance: on the question pair of a sample of the copy's test, an answer pair the typed predicate accepts at the corresponding typed questions is read as one the copy's test accepts, at a role pair where the copy is tested.

          noncomputable def MIPRE.AnswerReduction.copyFail {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [PartialOrder ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) (r : Role) (i : Fin 5) (y : Fin (V.sampler.dim n) → CL.𝔽₂) (sm : LIDT.CL.Sample (Fq P hk) P.m) :

          T's failure at the typed question pair of sample sm at oracle half y.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MIPRE.AnswerReduction.one_sub_value_copyStrategy_le {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) {r : Role} {i : Fin 5} (hr : LDStep r i) (y : Fin (V.sampler.dim n) → CL.𝔽₂) :
            1 - (copyStrategy V n P hk S S' check B T r i y).value ≤ (∑ sm : LIDT.CL.Sample (Fq P hk) P.m, copyFail V n P hk S S' check B T r i y sm) / ↑(Fintype.card (LIDT.CL.Sample (Fq P hk) P.m))

            The per-seed failure is at most the average of T's failures at the typed questions of the copy's samples.

            noncomputable def MIPRE.AnswerReduction.pcpBitsEquiv (P : SAT.PcpParams) (hk : 1 ≤ P.k) :
            (Pcp.Coord P → Fq P hk) ≃ (Fin (Pcp.pcpDim P * P.k) → CL.𝔽₂)

            The bits of a vector of V^pcp, as an equivalence.

            Equations
            Instances For
              theorem MIPRE.AnswerReduction.cl_eval_append {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (r : Role) (i : Fin 5) (τ : LIDT.CL.Ty) (x : Fin (V.sampler.dim n) → CL.𝔽₂) (w : Pcp.Coord P → Fq P hk) :
              ((r, i.castSucc, τ), (cl V n P hk S S' (r, i.castSucc, τ)).eval (Fin.append x (pcpBits P hk w))) = arQ1 V n P hk S r i ((roleFamily (V.sampler.cl n) r).eval x) (LIDT.CL.Sample.question hm ((Pcp.regs P i).sampleOf S τ w) τ)

              The typed question of copy i at type τ, on the vector whose oracle half is x and whose PCP half is w: the typed question arQ1 of the sample copy i's registers carry.

              noncomputable def MIPRE.AnswerReduction.edgeFail {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [PartialOrder ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) (uv : ArTy × ArTy) (x : Fin (V.sampler.dim n) → CL.𝔽₂) (w : Pcp.Coord P → Fq P hk) :

              T's failure at the typed question pair of the type pair uv, on the vector whose oracle half is x and whose PCP half is w.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MIPRE.AnswerReduction.sum_edges_le {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) {ι : Type u_4} [Fintype ι] (e : ι → ArTy × ArTy) (he : Function.Injective e) :
                ∑ j : ι, ∑ x : Fin (V.sampler.dim n) → CL.𝔽₂, ∑ w : Pcp.Coord P → Fq P hk, edgeFail V n P hk S S' check B T (e j) x w ≤ ↑(Fintype.card (ArTy × ArTy)) * ↑(Fintype.card (Fin (dim V n P) → CL.𝔽₂)) * (1 - T.value)

                Any set of type pairs inside the typed failure: the failures at an injective family of type pairs, summed over the oracle halves and the PCP vectors, add up to at most the number of type pairs times the number of vectors times the typed game's failure.

                theorem MIPRE.AnswerReduction.sum_copyFail_le {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) (r : Role) (i : Fin 5) :
                ↑(Fintype.card (Fq P hk)) ^ (Fintype.card (Pcp.Coord P) - (2 * P.m + 1)) * ∑ x₀ : Fin (V.sampler.dim n) → CL.𝔽₂, ∑ sm : LIDT.CL.Sample (Fq P hk) P.m, copyFail V n P hk S S' check B T r i ((roleFamily (V.sampler.cl n) r).eval x₀) sm ≤ ↑(Fintype.card (ArTy × ArTy)) * ↑(Fintype.card (Fin (dim V n P) → CL.𝔽₂)) * (1 - T.value)

                The copy's edges inside the typed failure: the nine type pairs of copy i at role r, summed over the seeds and the samples, weigh at most the typed game's failure.

                theorem MIPRE.AnswerReduction.sum_one_sub_value_copyStrategy_le {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) {r : Role} {i : Fin 5} (hr : LDStep r i) :
                ∑ x₀ : Fin (V.sampler.dim n) → CL.𝔽₂, (1 - (copyStrategy V n P hk S S' check B T r i ((roleFamily (V.sampler.cl n) r).eval x₀)).value) ≤ ↑(Fintype.card (Fin (V.sampler.dim n) → CL.𝔽₂)) * (324 * (1 - T.value))

                The per-seed failures average to at most 324 times the typed failure, at a role pair where copy i is tested: the copy's nine type pairs are 9 / 54^2 = 1 / 324 of the typed game's edges, and on them the copy's registers of a uniform vector carry a uniform sample.

                The sixth copy #

                noncomputable def MIPRE.AnswerReduction.arQ6 {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (r : Role) (x : Fin (V.sampler.dim n) → CL.𝔽₂) (q : LIDT.CL.Question (Fq P hk) P.m') :

                The typed question of a CL question of the sixth copy, at role r and oracle half x.

                Equations
                Instances For
                  noncomputable def MIPRE.AnswerReduction.readAns6 (P : SAT.PcpParams) (hk : 1 ≤ P.k) (B : ℕ) (q : LIDT.CL.Question (Fq P hk) P.m') (a : Verifier.Answers B) :
                  LIDT.CL.Answer (Fq P hk) P.m' dPcp (P.m' + 6)

                  An answer read as an answer of the sixth copy's test: parsed at the question's type, then read by ans6.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    noncomputable def MIPRE.AnswerReduction.copyStrategy6 {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) (y : Fin (V.sampler.dim n) → CL.𝔽₂) :

                    The per-seed simultaneous low-degree strategy of the sixth copy at oracle half y: the typed strategy played through arQ6 and readAns6, both players oracles.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      theorem MIPRE.AnswerReduction.copy6_accepts {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (x₀ : Fin (V.sampler.dim n) → CL.𝔽₂) (sm : LIDT.CL.Sample (Fq P hk) P.m') {a b : Verifier.Answers B} (h : typedPred V n P hk S S' check B (arQ6 V n P hk S' Role.oracle x₀ (LIDT.CL.Sample.question hm' sm sm.tyA)) (arQ6 V n P hk S' Role.oracle x₀ (LIDT.CL.Sample.question hm' sm sm.tyB)) a b = true) :

                      The sixth copy's per-seed strategy loses no acceptance.

                      noncomputable def MIPRE.AnswerReduction.copyFail6 {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [PartialOrder ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) (y : Fin (V.sampler.dim n) → CL.𝔽₂) (sm : LIDT.CL.Sample (Fq P hk) P.m') :

                      T's failure at the typed question pair of sample sm of the sixth copy at oracle half y.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem MIPRE.AnswerReduction.one_sub_value_copyStrategy6_le {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) (y : Fin (V.sampler.dim n) → CL.𝔽₂) :
                        1 - (copyStrategy6 V n P hk S S' check B T y).value ≤ (∑ sm : LIDT.CL.Sample (Fq P hk) P.m', copyFail6 V n P hk S S' check B T y sm) / ↑(Fintype.card (LIDT.CL.Sample (Fq P hk) P.m'))

                        The sixth copy's per-seed failure is at most the average of T's failures at the typed questions of the copy's samples.

                        theorem MIPRE.AnswerReduction.cl_eval_append6 {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (r : Role) (τ : LIDT.CL.Ty) (x : Fin (V.sampler.dim n) → CL.𝔽₂) (w : Pcp.Coord P → Fq P hk) :
                        ((r, 5, τ), (cl V n P hk S S' (r, 5, τ)).eval (Fin.append x (pcpBits P hk w))) = arQ6 V n P hk S' r ((roleFamily (V.sampler.cl n) r).eval x) (LIDT.CL.Sample.question hm' ((Pcp.regs6 P).sampleOf S' τ w) τ)

                        The typed question of the sixth copy at type τ, on the vector whose oracle half is x and whose PCP half is w.

                        theorem MIPRE.AnswerReduction.sum_copyFail6_le {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) :
                        ↑(Fintype.card (Fq P hk)) ^ (Fintype.card (Pcp.Coord P) - (2 * P.m' + 1)) * ∑ x₀ : Fin (V.sampler.dim n) → CL.𝔽₂, ∑ sm : LIDT.CL.Sample (Fq P hk) P.m', copyFail6 V n P hk S S' check B T ((roleFamily (V.sampler.cl n) Role.oracle).eval x₀) sm ≤ ↑(Fintype.card (ArTy × ArTy)) * ↑(Fintype.card (Fin (dim V n P) → CL.𝔽₂)) * (1 - T.value)

                        The sixth copy's edges inside the typed failure.

                        theorem MIPRE.AnswerReduction.sum_one_sub_value_copyStrategy6_le {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [PartialOrder ℬ] [StarOrderedRing ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} {ℓ : ℕ} (V : Verifier (ℓ + 1)) (n : ℕ) (P : SAT.PcpParams) (hk : 1 ≤ P.k) [NeZero P.m] {hm : P.m ∣ Fintype.card (Fq P hk)} {hm' : P.m' ∣ Fintype.card (Fq P hk)} (S : LIDT.CL.Sel (Fq P hk) P.m hm) (S' : LIDT.CL.Sel (Fq P hk) P.m' hm') (check : (Fin (V.sampler.dim n) → CL.𝔽₂) → (Fin P.m' → Fq P hk) → (Fin (P.m' + 6) → Fq P hk) → Bool) (B : ℕ) (T : M.ProjStrat (typedGame V n P hk S S' check B)) :
                        ∑ x₀ : Fin (V.sampler.dim n) → CL.𝔽₂, (1 - (copyStrategy6 V n P hk S S' check B T ((roleFamily (V.sampler.cl n) Role.oracle).eval x₀)).value) ≤ ↑(Fintype.card (Fin (V.sampler.dim n) → CL.𝔽₂)) * (324 * (1 - T.value))

                        The sixth copy's per-seed failures average to at most 324 times the typed failure.