Documentation

CslibFrontier.Computability.PCP.TwoProverGame.EntangledRepetition

Entangled parallel repetition #

To play the last n coordinates of an n + 1-fold strategy, fix the two first questions in advance. Each player prepends their own fixed question, then drops the first outcome coordinate. The state and local dimensions are unchanged. Averaging these restricted strategies over a fresh first question pair recovers the probability of winning the last n coordinates. Thus the entangled value is nonincreasing in the repetition count, and every nonempty repetition has entangled value at most that of the base game.

Main results #

noncomputable def Cslib.PCP.QuantumStrategy.restrictTail {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {n : ℕ} [DecidableEq A] [DecidableEq B] (S : QuantumStrategy (Fin (n + 1) → X) (Fin (n + 1) → Y) (Fin (n + 1) → A) (Fin (n + 1) → B) ι κ) (x₀ : X) (y₀ : Y) :
QuantumStrategy (Fin n → X) (Fin n → Y) (Fin n → A) (Fin n → B) ι κ

Fix the first question pair and retain only the tail of each player's answer.

theorem Cslib.PCP.QuantumStrategy.answers_restrictTail {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {n : ℕ} [DecidableEq A] [DecidableEq B] (S : QuantumStrategy (Fin (n + 1) → X) (Fin (n + 1) → Y) (Fin (n + 1) → A) (Fin (n + 1) → B) ι κ) (x₀ : X) (y₀ : Y) (x : Fin n → X) (y : Fin n → Y) :
(S.restrictTail x₀ y₀).answers x y = PMF.map (Prod.map Fin.tail Fin.tail) (S.answers (Fin.cons x₀ x) (Fin.cons y₀ y))

The extracted strategy draws exactly the tail of the original answers.

noncomputable def Cslib.PCP.QuantumStrategy.cons {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {n : ℕ} [DecidableEq A] [DecidableEq B] {ι' : Type u_7} {κ' : Type u_8} [Fintype ι'] [DecidableEq ι'] [Fintype κ'] [DecidableEq κ'] (S : QuantumStrategy X Y A B ι κ) (T : QuantumStrategy (Fin n → X) (Fin n → Y) (Fin n → A) (Fin n → B) ι' κ') :
QuantumStrategy (Fin (n + 1) → X) (Fin (n + 1) → Y) (Fin (n + 1) → A) (Fin (n + 1) → B) (ι × ι') (κ × κ')

Play one strategy on the first coordinate and an independent strategy on the remaining coordinates. The two states occupy distinct registers on each side.

theorem Cslib.PCP.QuantumStrategy.answers_cons {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {n : ℕ} [DecidableEq A] [DecidableEq B] {ι' : Type u_7} {κ' : Type u_8} [Fintype ι'] [DecidableEq ι'] [Fintype κ'] [DecidableEq κ'] (S : QuantumStrategy X Y A B ι κ) (T : QuantumStrategy (Fin n → X) (Fin n → Y) (Fin n → A) (Fin n → B) ι' κ') (x : Fin (n + 1) → X) (y : Fin (n + 1) → Y) :
(S.cons T).answers x y = PMF.map (fun (x : (A × B) × (Fin n → A) × (Fin n → B)) => match x with | ((a, b), aTail, bTail) => (Fin.cons a aTail, Fin.cons b bTail)) ((S.answers (x 0) (y 0)).bind fun (ab : A × B) => PMF.map (fun (x : (Fin n → A) × (Fin n → B)) => (ab, x)) (T.answers (Fin.tail x) (Fin.tail y)))

Independent answer pairs are concatenated in coordinate order.

theorem Cslib.PCP.TwoProverGame.quantumWinProb_pow_succ_le {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {n : ℕ} [Finite X] [Finite Y] (G : TwoProverGame X Y A B) (S : QuantumStrategy (Fin (n + 1) → X) (Fin (n + 1) → Y) (Fin (n + 1) → A) (Fin (n + 1) → B) ι κ) :

A strategy winning every coordinate also wins after the verifier ignores the first coordinate. Fixing the ignored questions gives a valid strategy for the shorter game.

theorem Cslib.PCP.TwoProverGame.quantumValue_pow_succ_le {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Finite X] [Finite Y] (G : TwoProverGame X Y A B) (n : ℕ) :

Adding a repetition coordinate cannot increase the entangled value.

theorem Cslib.PCP.TwoProverGame.quantumValue_pow_antitone {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Finite X] [Finite Y] (G : TwoProverGame X Y A B) :
Antitone fun (n : ℕ) => (G.pow n).quantumValue

Entangled value is nonincreasing under parallel repetition.

theorem Cslib.PCP.TwoProverGame.quantumValue_pow_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Finite X] [Finite Y] (G : TwoProverGame X Y A B) :

A one-coordinate repetition has exactly the original entangled value.

theorem Cslib.PCP.TwoProverGame.quantumValue_pow_le_of_pos {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Finite X] [Finite Y] (G : TwoProverGame X Y A B) {n : ℕ} (hn : 0 < n) :

Every nonempty parallel repetition has entangled value at most the original game's value.

theorem Cslib.PCP.TwoProverGame.quantumWinProb_pow_cons {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {ι : Type u_5} {κ : Type u_6} [Fintype A] [Fintype B] [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] {n : ℕ} [Finite X] [Finite Y] (G : TwoProverGame X Y A B) {ι' : Type u_7} {κ' : Type u_8} [Fintype ι'] [DecidableEq ι'] [Fintype κ'] [DecidableEq κ'] [DecidableEq A] [DecidableEq B] (S : QuantumStrategy X Y A B ι κ) (T : QuantumStrategy (Fin n → X) (Fin n → Y) (Fin n → A) (Fin n → B) ι' κ') :

A first-coordinate strategy and an independent tail strategy win with the product of their winning probabilities.

theorem Cslib.PCP.TwoProverGame.mul_quantumValue_pow_le_quantumValue_pow_succ {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Finite X] [Finite Y] (G : TwoProverGame X Y A B) (n : ℕ) :

Appending an independent coordinate gives a product lower bound for entangled value.

@[simp]
theorem Cslib.PCP.TwoProverGame.quantumValue_pow_zero {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Finite X] [Finite Y] (G : TwoProverGame X Y A B) :

The zero-coordinate game accepts vacuously and has entangled value one.

theorem Cslib.PCP.TwoProverGame.pow_quantumValue_le_quantumValue_pow {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Finite X] [Finite Y] (G : TwoProverGame X Y A B) (n : ℕ) :

Independent play of all coordinates gives the usual product lower bound.