Documentation

MIPRE.Tailored.OfTNFV

A tailored verifier as a normal form verifier #

Paper II, II:1757–1787. A tailored normal form verifier (S, L, LP) is a normal form verifier whose decider is the canonical decider; TailoredVerifier.ofTNFV U V is that verifier, the canonical decider written as a program (canonProg) and wrapped in the question-length check of def:normal-verifier (Verifier.ofSamplerDecider, which runs it through the universal machine U).

So the existing pipeline's statements about MIPRE.Verifier — its soundness analyses in value form, its completeness notion HasPerfectPCC — apply to tailored verifiers through ofTNFV. The running time of the canonical decider, which Verifier.IsBounded of ofTNFV U V needs, is not bounded here: the halting protocol of Phase 1 reasons about tailored verifiers directly.

theorem MIPRE.Tailored.TailoredVerifier.lenOf_eq {ℓ : ℕ} (V : TailoredVerifier ℓ) {n : ℕ} {x : Cost.BitStr} {κ : Bool} {d : Cost.Data} {t : ℕ} (h : V.len.prog.Runs (Cost.encode (n, x, κ)) d t) :
V.lenOf n x κ = d.spineList.length
theorem MIPRE.Tailored.TailoredVerifier.lenDefined_of {ℓ : ℕ} (V : TailoredVerifier ℓ) {n : ℕ} {x : Cost.BitStr} {d₀ d₁ : Cost.Data} {t₀ t₁ : ℕ} (h₀ : V.len.prog.Runs (Cost.encode (n, x, false)) d₀ t₀) (h₁ : V.len.prog.Runs (Cost.encode (n, x, true)) d₁ t₁) :
theorem MIPRE.Tailored.TailoredVerifier.consOf_eq {ℓ : ℕ} (V : TailoredVerifier ℓ) {n : ℕ} {x y aR bR : Cost.BitStr} (hx : V.LenDefined n x) (hy : V.LenDefined n y) {d : Cost.Data} {t : ℕ} (h : V.lp.prog.Runs (Cost.encode (n, x, y, aR, bR)) d t) :
V.consOf n x y aR bR = d.bitsListD
theorem MIPRE.Tailored.TailoredVerifier.consOf_eq_reject {ℓ : ℕ} (V : TailoredVerifier ℓ) {n : ℕ} {x y aR bR : Cost.BitStr} (h : ¬(V.LenDefined n x ∧ V.LenDefined n y ∧ ∃ (cs : List Cost.BitStr), LpIs V.lp n x y aR bR cs)) :
∃ (d : ℕ), V.consOf n x y aR bR = [rejectConstraint d]

The tailored game accepts exactly what the canonical decider accepts.

A tailored verifier as a normal form verifier: its sampler, and the canonical decider as a program, wrapped in the question-length check.

Equations
Instances For

    The normal form verifier's decider accepts exactly what the tailored game accepts.

    theorem MIPRE.Tailored.TailoredVerifier.ofTNFV_game_D {ℓ : ℕ} (V : TailoredVerifier ℓ) (U : Cost.UniversalMachine) {n T : ℕ} (hT : (V.tgame n).maxLen ≤ T) (x y : V.Questions n) (a b : Verifier.Answers (V.tgame n).maxLen) :
    ((V.ofTNFV U).game n T).D x y ((Verifier.Answers.castLE hT) a) ((Verifier.Answers.castLE hT) b) = (V.tgame n).toGame.D x y a b

    The decision predicates agree on the answers the tailored game has, embedded in the answers of length at most T.

    The values agree, for an answer bound above the tailored game's answer lengths.

    A perfect ZPC strategy gives a perfect PCC strategy of ofTNFV (lem:zpc-pcc), for an answer bound above the tailored game's answer lengths.