Documentation

CslibFrontier.Computability.PCP.ParallelRepetition

The parallel repetition theorem #

Holenstein's parallel repetition theorem Holenstein, Theorem 2.5: for every two-prover one-round game G with value v and answer sets with |A| |B| ≥ 2, the n-fold parallel repetition has value

v(Gⁿ) ≤ (1 - (1 - v)³ / 6000)^{n / log₂ (|A| |B|)}

(Cslib.PCP.TwoProverGame.value_pow_le). The strategies of Gⁿ are arbitrary maps of question tuples to answer tuples, as in TwoProverGame.pow and TwoProverGame.value. The form for games of value at most 1 - ε, v(Gⁿ) ≤ (1 - ε³ / 6000)^{n / log₂ (|A| |B|)}, is value_pow_le_of_value_le.

The proof assembles the parts in CslibFrontier/Computability/PCP/ParallelRepetition/. Fix strategies ha and hb of Gⁿ, and write W_C for the event that they win every coordinate in C.

Constants #

Holenstein's recursion (7.6) has the constant 15 and logarithms in bits. Here the constant is 27 / √2 ≈ 19.09 and the logarithm in the error term is natural:

Since ln x ≤ log₂ x for x ≥ 1, the recursion holds with L = log₂ (|A| |B|), and le_rpow_of_step accepts every constant up to 21. The final bound is exactly Holenstein's, with the constant 6000; le_rpow_of_step accounts for the rounding that his (7.4) ignores.

Source mapping #

Main results #

References #

Lemmas 6.4 and 6.5 #

theorem Cslib.PCP.TwoProverGame.exists_isEmbeddable_filter_questions {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype A] [Fintype B] [Fintype X] [Fintype Y] (G : TwoProverGame X Y A B) {n : ℕ} (ha : (Fin n → X) → Fin n → A) (hb : (Fin n → Y) → Fin n → B) {C : Finset (Fin n)} (hC : ∃ q ∈ G.winsOn ha hb C, q ∈ (G.pow n).questions.support) :
∃ (ε : { i : Fin n // i ∉ C } → ℝ), (∀ (j : { i : Fin n // i ∉ C }), Probability.CorrelatedSampling.IsEmbeddable G.questions (PMF.map (fun (x : (Fin n → X) × (Fin n → Y)) => match x with | (x, y) => ((x ↑j, y ↑j), x, y)) ((G.pow n).questions.filter (G.winsOn ha hb C) hC)) (ε j)) ∧ ∑ j : { i : Fin n // i ∉ C }, ε j ≤ 27 / √2 * √(↑Cᶜ.card * (↑C.card * Real.log (↑(Fintype.card A) * ↑(Fintype.card B)) + Real.log (1 / G.winProbOn ha hb C)))

Holenstein's Lemma 6.4 Holenstein, Lemma 6.4. Condition the questions (x, y) of the n-fold repetition on the event W_C that the strategies ha and hb win every coordinate in C. At every free coordinate j ∉ C, the questions of G embed with error ε_j in the conditioned law of ((x_j, y_j), (x, y)), and the errors satisfy ∑_{j ∉ C} ε_j ≤ 27 / √2 · √(#Cᶜ (#C ln (|A| |B|) + ln (1 / Pr[W_C]))).

Holenstein conditions on the last n - k coordinates and bounds the sum by 15 √k √((n - k) log (|A| |B|) + log (1 / Pr[W])) in bits, with k = #Cᶜ. The constant 27 / √2 and the natural logarithm come from the library's Corollary 5.3 and Lemma 4.1; see the module documentation.

theorem Cslib.PCP.TwoProverGame.exists_winProbOn_insert_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) [Nonempty A] [Nonempty B] {n : ℕ} (ha : (Fin n → X) → Fin n → A) (hb : (Fin n → Y) → Fin n → B) {C : Finset (Fin n)} (hCu : C ≠ Finset.univ) :
∃ j ∉ C, G.winProbOn ha hb (insert j C) ≤ G.winProbOn ha hb C * (G.value + 27 / √2 * √((↑C.card * Real.log (↑(Fintype.card A) * ↑(Fintype.card B)) + Real.log (1 / G.winProbOn ha hb C)) / (↑n - ↑C.card)))

Holenstein's Lemma 6.5 Holenstein, Lemma 6.5, (6.20), multiplied out so that it never divides by Pr[W_C]. If the strategies ha and hb of the n-fold repetition leave a coordinate outside C, then some free coordinate j ∉ C satisfies

Pr[W_C ∧ W_j] ≤ Pr[W_C] (v(G) + 27 / √2 · √((#C ln (|A| |B|) + ln (1 / Pr[W_C])) / (n - #C))).

If Pr[W_C] > 0, a coordinate with at most the average error of Lemma 6.4 (exists_isEmbeddable_filter_questions) works, by strategy extraction (winProbOn_insert_le). If Pr[W_C] = 0, both sides vanish. Holenstein's constant is 15, with logarithms in bits; see the module documentation.

Theorem 2.5 #

theorem Cslib.PCP.TwoProverGame.winProb_pow_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) (hAB : 2 ≤ Fintype.card A * Fintype.card B) {n : ℕ} (ha : (Fin n → X) → Fin n → A) (hb : (Fin n → Y) → Fin n → B) :
(G.pow n).winProb ha hb ≤ (1 - (1 - G.value) ^ 3 / 6000) ^ (↑n / Real.logb 2 (↑(Fintype.card A) * ↑(Fintype.card B)))

The parallel repetition bound for one strategy Holenstein, proof of Theorem 2.5, (7.6) and (7.7). Every pair of strategies ha and hb of the n-fold repetition wins with probability at most (1 - (1 - v(G))³ / 6000)^{n / log₂ (|A| |B|)}.

Starting from C_0 = ∅, add a coordinate given by Lemma 6.5 (exists_winProbOn_insert_le) at each step, until C_n is every coordinate. Then p_m = Pr[W_{C_m}] is nonincreasing, p_0 = 1, and Lemma 6.5 with ln ≤ log₂ is the recursion of le_rpow_of_step with the constant 27 / √2 and L = log₂ (|A| |B|): Holenstein's (7.6). Its conclusion is (7.7) for p_n, the winning probability.

theorem Cslib.PCP.TwoProverGame.value_pow_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) (hAB : 2 ≤ Fintype.card A * Fintype.card B) (n : ℕ) :
(G.pow n).value ≤ (1 - (1 - G.value) ^ 3 / 6000) ^ (↑n / Real.logb 2 (↑(Fintype.card A) * ↑(Fintype.card B)))

Holenstein's parallel repetition theorem Holenstein, Theorem 2.5. For a two-prover one-round game G with value v and answer sets with |A| |B| ≥ 2, the value of the n-fold parallel repetition is at most (1 - (1 - v)³ / 6000)^{n / log₂ (|A| |B|)}.

The strategies of the repetition are arbitrary maps of question tuples to answer tuples. The hypothesis |A| |B| ≥ 2 is the condition ℓ ≥ 1 of Holenstein's Lemma 7.1, which his proof of Theorem 2.5 applies with ℓ = log (|A| |B|); when |A| |B| = 1, the exponent n / log (|A| |B|) is undefined.

theorem Cslib.PCP.TwoProverGame.value_pow_le_of_value_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) (hAB : 2 ≤ Fintype.card A * Fintype.card B) {ε : ℝ} (hv : G.value ≤ 1 - ε) (n : ℕ) :
(G.pow n).value ≤ (1 - ε ^ 3 / 6000) ^ (↑n / Real.logb 2 (↑(Fintype.card A) * ↑(Fintype.card B)))

The parallel repetition theorem for games of value at most 1 - ε Holenstein, Theorem 2.5: if v(G) ≤ 1 - ε and |A| |B| ≥ 2, then v(Gⁿ) ≤ (1 - ε³ / 6000)^{n / log₂ (|A| |B|)}. For ε ≤ 0 the bound is at least 1.