Documentation

CslibFrontier.Computability.PCP.TwoProverGame.AnchoredNoisyStates

Checked-answer states with a selected noisy message #

At a fixed message and selected Bob question, Alice's selected question still has its prior law given the message. Averaging her checked effects over that last draw yields the branch weight in the original transcript with just those observations. For a left message this is the noisy-anchor case of Bavarian, Vidick and Yuen, Proposition 4.9, equation (22).

Main results #

theorem Cslib.PCP.AnchoredDependency.bobQuestionsGivenRest_congr {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 q' : Option X × Option Y) (h : q.2 = q'.2) :
bobQuestionsGivenRest G α C j t q = bobQuestionsGivenRest G α C j t q'

Keeping Bob's selected question fixed keeps his entire conditional question law fixed.

noncomputable def Cslib.PCP.AnchoredDependency.observedCheckedAnswersByBob {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 ((((Option X ⊕ Option Y) × Option Y) × RestQuestions (Option X) (Option Y) C j) × (↥C → A × B))

The observation consists of the selected message and Bob's selected question.

theorem Cslib.PCP.AnchoredDependency.conditionalSnd_observedCheckedAnswersByBob {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) (m : Option X ⊕ Option Y) (y : Option Y) (ht : t ∈ (restQuestionsLaw G α C j).support) (hm : m ∈ (PMF.map Prod.fst (law G.questions α)).support) (hy : y ∈ (bobGivenMessage G.questions α m).support) :

Conditional answer law with the selected message and Bob's question fixed.

noncomputable def Cslib.PCP.AnchoredDependency.checkedVectorGivenBob {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) (m : Option X ⊕ Option Y) (y : Option Y) (a : ↥C → A) (b : ↥C → B) :

The checked-answer branch formed by averaging the hidden selected Alice question.

theorem Cslib.PCP.AnchoredDependency.norm_checkedVectorGivenBob_sq {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) (m : Option X ⊕ Option Y) (y : Option Y) (a : ↥C → A) (b : ↥C → B) (ht : t ∈ (restQuestionsLaw G α C j).support) (hm : m ∈ (PMF.map Prod.fst (law G.questions α)).support) (hy : y ∈ (bobGivenMessage G.questions α m).support) :
‖checkedVectorGivenBob G α C S j t m y a b‖ ^ 2 = ((Probability.PMF.conditionalSnd (observedCheckedAnswersByBob G α C S j) ((m, y), t)) fun (i : ↥C) => (a i, b i)).toReal

The branch has the correct checked-answer probability in the original transcript when Alice's question is hidden and the selected message and Bob's question are fixed.

theorem Cslib.PCP.AnchoredDependency.norm_checkedVectorGivenBob_sq_inl {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) (x : Option X) (y : Option Y) (a : ↥C → A) (b : ↥C → B) :
‖checkedVectorGivenBob G α C S j t (Sum.inl x) y a b‖ ^ 2 = ↑(noise α) * ‖checkedVectorGivenRest G α C S j t (none, y) a b‖ ^ 2 + (1 - ↑(noise α)) * ‖checkedVectorGivenRest G α C S j t (x, y) a b‖ ^ 2

For a selected left message, the noisy branch weight interpolates between the anchor and the original question at the sampler's exact erase rate.