Documentation

MIPRE.Tailored.Repeat.Verifier

Repeated tailored verifiers, from the specification of their programs #

Paper II, thm:repetition (II:11103), at the level of tailored verifiers, in the direct form of the plan (planning/aldous-lyons-track.md, Phase 2). The repeated verifier repTV V λ τ L P has the repeated sampler of the existing pipeline (MIPRE.Repeat.repSampler, k(n) independent copies of V's sampler) and two programs L, P for the answer-length calculator and the linear-constraints processor. This file proves completeness, and the comparison of its games with the input's that soundness rests on, from a specification of L and P at the index n (RepSpec), which the programs of MIPRE.Background.Tailored.Repetition meet:

The results:

Coarse-graining along a map of the answers that depends on the question #

theorem MIPRE.TensorProductStrategy.value_le_mergeAt {X : Type u_1} {A : Type u_3} {A' : Type u_4} [Fintype X] [Fintype A] [Fintype A'] [DecidableEq A'] {G : Game X X A A} (S : TensorProductStrategy G) (H : Game X X A' A') (r : X → A → A') (hÎŒ : ∀ (x y : X), H.ÎŒ x y = G.ÎŒ x y) (hD : ∀ (x y : X) (a b : A), G.D x y a b = true → H.D x y (r x a) (r y b) = true) :
S.value ≀ { dA := S.dA, dB := S.dB, ψ := S.ψ, ψ_unit := ⋯, PA := S.PA.mergeAt id r, PB := S.PB.mergeAt id r }.value

Merging the answers of a strategy at each question can only raise its value, when every accepted tuple of the first game is accepted after merging.

theorem MIPRE.quantumValue_le_of_coarse {X : Type u_1} {Y : Type u_2} {A : Type u_3} {A' : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype A'] [DecidableEq A'] (G : Game X X A A) (H : Game Y Y A' A') (e : X ≃ Y) (r : X → A → A') (hÎŒ : ∀ (x y : X), G.ÎŒ x y = H.ÎŒ (e x) (e y)) (hD : ∀ (x y : X) (a b : A), G.D x y a b = true → H.D (e x) (e y) (r x a) (r y b) = true) :

Coarse-graining with a relabeling of the questions: if every tuple G accepts at (x, y) is accepted by H at (e x, e y) after reading the answers through r x, r y, on matching distributions, then val*(G) ≀ val*(H).

Perfect strategies are accepted on every edge #

theorem MIPRE.Tailored.PermStrategy.exists_accepts {X : Type u_1} [Fintype X] {G : TailoredGame X} (S : PermStrategy G) (hS : S.value = 1) {x y : X} (hxy : 0 < G.Ό x y) :
∃ (a : Cost.BitStr) (b : Cost.BitStr), G.Accepts x y a b

A perfect permutation strategy is accepted on every edge: some pair of answers is.

theorem MIPRE.Tailored.TailoredGame.HasPerfectZPC.exists_accepts {X : Type u_1} [Fintype X] {G : TailoredGame X} (h : G.HasPerfectZPC) {x y : X} (hxy : 0 < G.Ό x y) :
∃ (a : Cost.BitStr) (b : Cost.BitStr), G.Accepts x y a b

A game with a perfect ZPC strategy is accepted on every edge.

theorem MIPRE.Tailored.TailoredGame.not_accepts_of_reject_mem {X : Type u_1} [Fintype X] {G : TailoredGame X} {x y : X} {a b : Cost.BitStr} {d : ℕ} (h : rejectConstraint d ∈ G.cons x y (List.take (G.lenR x) a) (List.take (G.lenR y) b)) :
ÂŹG.Accepts x y a b

A constraint list containing a rejecting constraint accepts nothing.

Repeated tailored verifiers #

@[reducible, inline]

The number of repetitions at index n.

Equations
Instances For
    @[reducible, inline]
    noncomputable abbrev MIPRE.Tailored.TailoredVerifier.qEquiv {ℓ : ℕ} (V : TailoredVerifier ℓ) (lam tau n : ℕ) :
    (Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚) ≃ (Fin (K lam tau n) → V.Questions n)

    The questions of the repeated verifier are tuples of questions of V.

    Equations
    Instances For
      @[reducible, inline]
      noncomputable abbrev MIPRE.Tailored.TailoredVerifier.qc {ℓ : ℕ} (V : TailoredVerifier ℓ) (lam tau n : ℕ) (x : Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚) (i : Fin (K lam tau n)) :

      The i-th coordinate of a question of the repeated verifier.

      Equations
      • V.qc lam tau n x i = (V.qEquiv lam tau n) x i
      Instances For
        noncomputable def MIPRE.Tailored.TailoredVerifier.repTV {ℓ : ℕ} (V : TailoredVerifier ℓ) (lam tau : ℕ) (L P : Decider) :

        The repeated tailored verifier: the repeated sampler, and the programs L, P.

        Equations
        Instances For
          structure MIPRE.Tailored.TailoredVerifier.RepSpec {ℓ : ℕ} (V : TailoredVerifier ℓ) (lam tau : ℕ) (L P : Decider) (n : ℕ) :

          The specification of the repeated programs at index n. Write x⃗ = qEquiv x for the tuple of coordinates of a question x, and call x good when every coordinate has its lengths (V.LenDefined).

          Instances For
            theorem MIPRE.Tailored.TailoredVerifier.repTV_ÎŒ {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau : ℕ} {L P : Decider} {n : ℕ} (x y : (V.repTV lam tau L P).Questions n) :
            ((V.repTV lam tau L P).tgame n).Ό x y = ((V.tgame n).repeat (K lam tau n)).Ό ((V.qEquiv lam tau n) x) ((V.qEquiv lam tau n) y)

            The distribution of the repeated verifier's game is the product's.

            theorem MIPRE.Tailored.TailoredVerifier.RepSpec.lenOf_eq {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau : ℕ} {L P : Decider} {n : ℕ} (h : V.RepSpec lam tau L P n) {x : Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚} (hx : ∀ (i : Fin (K lam tau n)), V.LenDefined n (CL.toBits (V.qc lam tau n x i))) (Îș : Bool) :
            (V.repTV lam tau L P).lenOf n (CL.toBits x) Îș = ∑ i : Fin (K lam tau n), V.lenOf n (CL.toBits (V.qc lam tau n x i)) Îș

            At a good question, the repeated verifier's lengths are the product's.

            theorem MIPRE.Tailored.TailoredVerifier.RepSpec.lenDefined {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau : ℕ} {L P : Decider} {n : ℕ} (h : V.RepSpec lam tau L P n) {x : Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚} (hx : ∀ (i : Fin (K lam tau n)), V.LenDefined n (CL.toBits (V.qc lam tau n x i))) :
            (V.repTV lam tau L P).LenDefined n (CL.toBits x)
            theorem MIPRE.Tailored.TailoredVerifier.RepSpec.sameLens {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau : ℕ} {L P : Decider} {n : ℕ} (h : V.RepSpec lam tau L P n) {x : Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚} (hx : ∀ (i : Fin (K lam tau n)), V.LenDefined n (CL.toBits (V.qc lam tau n x i))) :
            ((V.repTV lam tau L P).tgame n).lenR x = ((V.tgame n).repeat (K lam tau n)).lenR ((V.qEquiv lam tau n) x) ∧ ((V.repTV lam tau L P).tgame n).lenL x = ((V.tgame n).repeat (K lam tau n)).lenL ((V.qEquiv lam tau n) x)

            At a good question, the repeated verifier's game has the product's lengths.

            theorem MIPRE.Tailored.TailoredVerifier.RepSpec.good_of_repeat_accepts {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau n : ℕ} {x y : Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚} {a b : Cost.BitStr} (hacc : ((V.tgame n).repeat (K lam tau n)).Accepts ((V.qEquiv lam tau n) x) ((V.qEquiv lam tau n) y) a b) (i : Fin (K lam tau n)) :
            V.LenDefined n (CL.toBits (V.qc lam tau n x i)) ∧ V.LenDefined n (CL.toBits (V.qc lam tau n y i))

            Every coordinate of an accepted question pair of the product has its lengths.

            theorem MIPRE.Tailored.TailoredVerifier.RepSpec.accepts_iff {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau : ℕ} {L P : Decider} {n : ℕ} (h : V.RepSpec lam tau L P n) {x y : Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚} {a b : Cost.BitStr} (hx : ∀ (i : Fin (K lam tau n)), V.LenDefined n (CL.toBits (V.qc lam tau n x i))) (hy : ∀ (i : Fin (K lam tau n)), V.LenDefined n (CL.toBits (V.qc lam tau n y i))) :
            ((V.repTV lam tau L P).tgame n).Accepts x y a b ↔ ((V.tgame n).repeat (K lam tau n)).Accepts ((V.qEquiv lam tau n) x) ((V.qEquiv lam tau n) y) a b

            At good questions the two games accept the same answers.

            theorem MIPRE.Tailored.TailoredVerifier.RepSpec.accepts_of_accepts {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau : ℕ} {L P : Decider} {n : ℕ} (h : V.RepSpec lam tau L P n) {x y : Fin (K lam tau n * V.sampler.dim n) → CL.đ”œâ‚‚} {a b : Cost.BitStr} (hacc : ((V.repTV lam tau L P).tgame n).Accepts x y a b) :
            ((V.tgame n).repeat (K lam tau n)).Accepts ((V.qEquiv lam tau n) x) ((V.qEquiv lam tau n) y) a b

            The repeated verifier accepts only what the product accepts.

            theorem MIPRE.Tailored.TailoredVerifier.RepSpec.hasPerfectZPC {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam tau : ℕ} {L P : Decider} {n : ℕ} (h : V.RepSpec lam tau L P n) (hV : V.HasPerfectZPC n) :
            (V.repTV lam tau L P).HasPerfectZPC n

            Completeness of the repeated verifier.