Documentation

CslibFrontier.Computability.PCP.TwoProverGame.Anchoring

Anchoring a two-prover game #

In the anchoring transformation Bavarian, Vidick and Yuen, Definition 1.1, the verifier replaces each question independently by an anchor symbol with probability α. It accepts automatically if either player received an anchor. We use Option to add the anchor and sample the two independent replacement flags before the original question pair.

The probability of neither anchor is (1 - α)^2. On that branch the players face the original game with their original measurements. The strategy maps preserve each player's local space, including for asymmetric strategies. Taking the two suprema gives the value identities of Bavarian, Vidick and Yuen, Lemma 1.2.

The source locators refer to arXiv:1509.07466v2. The identities also hold for α = 0 and α = 1.

Main definitions #

Main results #

noncomputable def Cslib.PCP.TwoProverGame.anchored {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) (α : ↑unitInterval) :

Independently replace each question by an anchor with probability α. Whenever a question is replaced, the verifier accepts every answer. This is Definition 1.1 of Bavarian, Vidick and Yuen.

theorem Cslib.PCP.TwoProverGame.anchored_questions {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) (α : ↑unitInterval) :

The anchored question law uses the same replacement rate for each player.

theorem Cslib.PCP.TwoProverGame.anchored_questions_apply {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) (α : ↑unitInterval) (x : Option X) (y : Option Y) :
(G.anchored α).questions (x, y) = match x, y with | none, none => ENNReal.ofReal ↑α ^ 2 | some x, none => ENNReal.ofReal (1 - ↑α) * ENNReal.ofReal ↑α * (PMF.map Prod.fst G.questions) x | none, some y => ENNReal.ofReal ↑α * ENNReal.ofReal (1 - ↑α) * (PMF.map Prod.snd G.questions) y | some x, some y => ENNReal.ofReal (1 - ↑α) ^ 2 * G.questions (x, y)

If only one question is retained, its law is the corresponding original marginal. The two anchor flags contribute their independent masses in each case.

theorem Cslib.PCP.TwoProverGame.answersWinProb_anchored {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) {α : ↑unitInterval} (ans : Option X → Option Y → PMF (A × B)) :
(G.anchored α).answersWinProb ans = 1 - (1 - ↑α) ^ 2 * (1 - G.answersWinProb fun (x : X) (y : Y) => ans (some x) (some y))

The game incurs the original loss only when both questions are retained.

theorem Cslib.PCP.TwoProverGame.quantumValue_anchored {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) {α : ↑unitInterval} [Fintype A] [Fintype B] [Nonempty A] [Nonempty B] :
(G.anchored α).quantumValue = 1 - (1 - ↑α) ^ 2 * (1 - G.quantumValue)

The exact entangled value of the anchored game, allowing endpoint probabilities. This is the entangled-value identity of [Bavarian, Vidick and Yuen, Lemma 1.2] [BVY22]. The supremum need not be attained.

theorem Cslib.PCP.TwoProverGame.quantumValue_anchored_eq_one_iff {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) {α : ↑unitInterval} [Fintype A] [Fintype B] [Nonempty A] [Nonempty B] (hα : ↑α < 1) :

An anchoring probability below one preserves entangled value one in both directions.

theorem Cslib.PCP.TwoProverGame.winProb_anchored {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) {α : ↑unitInterval} (a : Option X → A) (b : Option Y → B) :
(G.anchored α).winProb a b = 1 - (1 - ↑α) ^ 2 * (1 - G.winProb (fun (x : X) => a (some x)) fun (y : Y) => b (some y))

The score of deterministic provers is transformed by the same loss factor.

theorem Cslib.PCP.TwoProverGame.value_anchored {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} (G : TwoProverGame X Y A B) {α : ↑unitInterval} [Finite X] [Finite Y] [Finite A] [Finite B] [Nonempty A] [Nonempty B] :
(G.anchored α).value = 1 - (1 - ↑α) ^ 2 * (1 - G.value)

The classical value obeys the same anchoring identity Bavarian, Vidick and Yuen, Lemma 1.2.