Documentation

CslibFrontier.Computability.PCP.TwoProverGame.AnchoredTranscript

The transcript with one noisy message omitted #

For an unchecked coordinate, the rest of the transcript is sampled by first fixing that coordinate's question pair and then sampling every other trial and the checked answers. This is the conditional independence used in the proof of Bavarian, Vidick and Yuen, Lemma 4.6(3), arXiv:1509.07466v2, pp. 14–15. The winning event depends only on the rest of the transcript, so the independence survives conditioning on the checked wins.

Main results #

def Cslib.PCP.AnchoredDependency.restTranscript {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) (r : (ParallelRepetition.Revealed (Option X) (Option Y) C × (↥C → A × B)) × ({ i : Fin n // i ∉ C } → Option X × Option Y)) :

Keep the checked questions and answers and the messages at all other unchecked trials.

def Cslib.PCP.AnchoredDependency.winsOnRest {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) :

The checked wins are determined by the remaining transcript.

theorem Cslib.PCP.AnchoredDependency.preimage_winsOnRest {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) :
noncomputable def Cslib.PCP.AnchoredDependency.restKernel {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} {n : ℕ} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (S : QuantumStrategy (Fin n → Option X) (Fin n → Option Y) (Fin n → A) (Fin n → B) ι κ) (j : { i : Fin n // i ∉ C }) (q : Option X × Option Y) :

Given the selected question pair, draw every other trial and form the remaining transcript. The erased message slot can be filled with any value.

theorem Cslib.PCP.AnchoredDependency.map_trial_restTranscriptLaw {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} {n : ℕ} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (S : QuantumStrategy (Fin n → Option X) (Fin n → Option Y) (Fin n → A) (Fin n → B) ι κ) (j : { i : Fin n // i ∉ C }) :
PMF.map (fun (r : (ParallelRepetition.Revealed (Option X) (Option Y) C × (↥C → A × B)) × ({ i : Fin n // i ∉ C } → Option X × Option Y)) => (freeTrials C r j, restTranscript C j r)) (transcriptLaw G α C S) = (law G.questions α).bind fun (trial : (Option X ⊕ Option Y) × Option X × Option Y) => PMF.map (fun (x : ParallelRepetition.Shared (Option X) (Option Y) A B C j) => (trial, x)) (restKernel G α C S j trial.2)

The joint law of the selected trial and remaining transcript samples the latter from a kernel depending only on the selected question pair.

structure Cslib.PCP.AnchoredDependency.RestQuestions (X : Type u_7) (Y : Type u_8) {n : ℕ} (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) :
Type (max u_7 u_8)

The checked questions and the noisy messages other than the selected one.

  • questions : ↥C → X × Y

    The pairs on the checked coordinates.

  • halves : { i : { k : Fin n // k ∉ C } // i ≠ j } → X ⊕ Y

    The noisy messages on the other free coordinates.

Instances For
    @[instance_reducible]
    instance Cslib.PCP.AnchoredDependency.instFintypeRestQuestions {X✝ : Type u_7} {Y✝ : Type u_8} {n✝ : ℕ} {C✝ : Finset (Fin n✝)} {j✝ : { i : Fin n✝ // i ∉ C✝ }} [Fintype X✝] [Fintype Y✝] :
    Fintype (RestQuestions X✝ Y✝ C✝ j✝)
    def Cslib.PCP.AnchoredDependency.omitMessage {X : Type u_1} {Y : Type u_2} {n : ℕ} (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) (t : ParallelRepetition.Revealed (Option X) (Option Y) C) :

    Forget the selected message in the question information.

    def Cslib.PCP.AnchoredDependency.restQuestions {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) (r : ParallelRepetition.Shared (Option X) (Option Y) A B C j) :

    Forget the answers in the remaining transcript.

    def Cslib.PCP.AnchoredDependency.restoreMessage {X : Type u_1} {Y : Type u_2} {n : ℕ} (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) (t : RestQuestions (Option X) (Option Y) C j) :

    Restore the unused message with a dummy value so that the full questions can be recombined.

    noncomputable def Cslib.PCP.AnchoredDependency.restQuestionsLaw {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} [Fintype X] [Fintype Y] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) :

    The retained question information has a distribution independent of the selected pair.

    noncomputable def Cslib.PCP.AnchoredDependency.questionsGivenRest {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} [Fintype X] [Fintype Y] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) (t : RestQuestions (Option X) (Option Y) C j) (q : Option X × Option Y) :
    PMF (Fin n → Option X × Option Y)

    Reconstruct the full question tuples from the retained information and a fixed selected pair. Other free coordinates are filled in from their own noisy messages.

    noncomputable def Cslib.PCP.AnchoredDependency.answersGivenRest {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} {n : ℕ} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (S : QuantumStrategy (Fin n → Option X) (Fin n → Option Y) (Fin n → A) (Fin n → B) ι κ) (j : { i : Fin n // i ∉ C }) (t : RestQuestions (Option X) (Option Y) C j) (q : Option X × Option Y) :
    PMF (↥C → A × B)

    The distribution of the checked answers under the question law reconstructed from the retained information.

    theorem Cslib.PCP.AnchoredDependency.mem_support_halves_of_mem_support_restQuestionsLaw {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} [Fintype X] [Fintype Y] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (j : { i : Fin n // i ∉ C }) (t : RestQuestions (Option X) (Option Y) C j) (ht : t ∈ (restQuestionsLaw G α C j).support) (i : { i : { i : Fin n // i ∉ C } // i ≠ j }) :

    Each retained message in a supported observation is itself possible under the prior.

    theorem Cslib.PCP.AnchoredDependency.map_restKernel_eq_bind {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} {n : ℕ} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (S : QuantumStrategy (Fin n → Option X) (Fin n → Option Y) (Fin n → A) (Fin n → B) ι κ) (j : { i : Fin n // i ∉ C }) (q : Option X × Option Y) :
    PMF.map (fun (r : ParallelRepetition.Shared (Option X) (Option Y) A B C j) => (restQuestions C j r, r.answers)) (restKernel G α C S j q) = (restQuestionsLaw G α C j).bind fun (t : RestQuestions (Option X) (Option Y) C j) => PMF.map (fun (x : ↥C → A × B) => (t, x)) (answersGivenRest G α C S j t q)

    With the selected pair fixed, sample the retained information first and then the answers. This disintegration keeps the same experiment as the original transcript kernel.

    theorem Cslib.PCP.AnchoredDependency.conditionalSnd_restTranscript_given_wins {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} {n : ℕ} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (C : Finset (Fin n)) (S : QuantumStrategy (Fin n → Option X) (Fin n → Option Y) (Fin n → A) (Fin n → B) ι κ) (j : { i : Fin n // i ∉ C }) (hW : ∃ r ∈ winsOnChecked G α C, r ∈ (transcriptLaw G α C S).support) (trial : (Option X ⊕ Option Y) × Option X × Option Y) :
    have Q := (transcriptLaw G α C S).filter (winsOnChecked G α C) hW; have J := PMF.map (fun (r : (ParallelRepetition.Revealed (Option X) (Option Y) C × (↥C → A × B)) × ({ i : Fin n // i ∉ C } → Option X × Option Y)) => (freeTrials C r j, restTranscript C j r)) Q; trial ∈ (PMF.map Prod.fst J).support → Probability.PMF.conditionalSnd J trial = Probability.PMF.conditionalSnd (PMF.map (fun (r : (ParallelRepetition.Revealed (Option X) (Option Y) C × (↥C → A × B)) × ({ i : Fin n // i ∉ C } → Option X × Option Y)) => ((freeTrials C r j).2, restTranscript C j r)) Q) trial.2

    After conditioning on the checked wins, the remaining transcript given the selected pair and its noisy message has the same law as when given the pair alone.