Documentation

CslibFrontier.Computability.PCP.ParallelRepetition.Recursion

The recursion behind the parallel repetition theorem #

Holenstein's proof of the parallel repetition theorem picks coordinates one at a time. With p_m the probability of winning the m coordinates picked so far, Lemma 6.5 bounds each step by p_{m+1} ≤ p_m (v + C √((m L + ln (1 / p_m)) / (n - m))), where v is the value of the game and L stands for ln (|A| |B|). Lemma 7.1 turns this recursion into an exponential bound Holenstein, Lemma 7.1: while 12 C² m L ≤ (1 - v)² (n - m), the probability p_m is at most ((1 + v) / 2)^m, and therefore the probability of winning all n coordinates is at most ((1 + v) / 2)^⌊(1 - v)² n / (13 C² L)⌋ (le_pow_floor_of_step). Holenstein's Lemma 7.1 is stated with c = C² inside the root and c ≥ 12; his proof of Theorem 2.5 applies it with C = 15 by (7.6), and his (7.4) ignores the rounding of the number of steps, which the floor here records.

The induction itself (le_pow_of_step) works for any ratio b ≥ v. With the ratio 1 - (1 - v) / 5 in place of (1 + v) / 2, le_rpow_of_step obtains Holenstein's final bound p_n ≤ (1 - (1 - v)³ / 6000)^{n / L} exactly, rounding included, for every 0 ≤ C ≤ 21. This sharpens the bookkeeping of Holenstein's (7.4) and (7.7); it is not the paper's argument.

This file is the analytic part of the theorem only: it assumes the recursion, which the embedding lemmas establish.

Main results #

References #

theorem Cslib.PCP.ParallelRepetition.le_one_of_antitone {p : ℕ → ℝ} (hp0 : p 0 = 1) (hmono : ∀ (m : ℕ), p (m + 1) ≤ p m) (m : ℕ) :
p m ≤ 1

A nonincreasing sequence starting at 1 stays in [0, 1].

theorem Cslib.PCP.ParallelRepetition.le_pow_of_step {v C L : ℝ} {n : ℕ} {p : ℕ → ℝ} {b : ℝ} (hb : 0 < b) (hvb : v ≤ b) (hp0 : p 0 = 1) (hnn : ∀ (m : ℕ), 0 ≤ p m) (hmono : ∀ (m : ℕ), p (m + 1) ≤ p m) (hstep : ∀ m < n, p (m + 1) ≤ p m * (v + C * √((↑m * L + Real.log (1 / p m)) / (↑n - ↑m)))) {M : ℕ} (hMn : M ≤ n) (hcond : ∀ (m : ℕ), 0 < m → m < M → b ^ (m + 1) ≤ p m → C ^ 2 * (↑m * L + (↑m + 1) * Real.log (1 / b)) ≤ (b - v) ^ 2 * (↑n - ↑m)) :
p M ≤ b ^ M

The induction of Holenstein's Lemma 7.1, for any ratio b ≥ v Holenstein, proof of Lemma 7.1: if p_0 = 1, p is nonnegative and nonincreasing, and every step satisfies p_{m+1} ≤ p_m (v + C √((m L + ln (1 / p_m)) / (n - m))), then p_M ≤ b^M for M ≤ n, provided that C² (m L + (m + 1) ln (1 / b)) ≤ (b - v)² (n - m) at every step 0 < m < M with b^{m+1} ≤ p_m. At such a step ln (1 / p_m) ≤ (m + 1) ln (1 / b), so the error term is at most b - v; at the other steps p_{m+1} ≤ p_m < b^{m+1} already, and the first step gives p_1 ≤ v. Holenstein's induction uses b = (1 + v) / 2 (le_pow_floor_of_step).

theorem Cslib.PCP.ParallelRepetition.le_pow_floor_of_step {v C L : ℝ} {n : ℕ} {p : ℕ → ℝ} (hv : 0 ≤ v) (hv1 : v ≤ 1) (hC : 1 ≤ C) (hL : 1 ≤ L) (hp0 : p 0 = 1) (hnn : ∀ (m : ℕ), 0 ≤ p m) (hmono : ∀ (m : ℕ), p (m + 1) ≤ p m) (hstep : ∀ m < n, p (m + 1) ≤ p m * (v + C * √((↑m * L + Real.log (1 / p m)) / (↑n - ↑m)))) :
p n ≤ ((1 + v) / 2) ^ ⌊(1 - v) ^ 2 * ↑n / (13 * C ^ 2 * L)⌋₊

The bound of Holenstein's Lemma 7.1 Holenstein, Lemma 7.1, (7.4): under the recursion of le_pow_of_step with C ≥ 1, p_n ≤ ((1 + v) / 2)^⌊(1 - v)² n / (13 C² L)⌋. The ratio is Holenstein's (1 + v) / 2, and the induction runs while 12 C² m L ≤ (1 - v)² (n - m).

theorem Cslib.PCP.ParallelRepetition.le_two_mul_rpow_of_step {v C L : ℝ} {n : ℕ} {p : ℕ → ℝ} (hv : 0 ≤ v) (hv1 : v ≤ 1) (hC : 1 ≤ C) (hL : 1 ≤ L) (hp0 : p 0 = 1) (hnn : ∀ (m : ℕ), 0 ≤ p m) (hmono : ∀ (m : ℕ), p (m + 1) ≤ p m) (hstep : ∀ m < n, p (m + 1) ≤ p m * (v + C * √((↑m * L + Real.log (1 / p m)) / (↑n - ↑m)))) :
p n ≤ 2 * (1 - (1 - v) ^ 3 / (26 * C ^ 2)) ^ (↑n / L)

The bound of Holenstein's Theorem 2.5, in exponential form Holenstein, Lemma 7.1, (7.2) and (7.7): under the recursion of le_pow_of_step with C ≥ 1, p_n ≤ 2 (1 - (1 - v)³ / (26 C²))^{n / L}. The factor 2 accounts for rounding the number of steps down; Holenstein's 6000 corresponds to 26 C² with C = 15 (26 · 225 = 5850). For 0 ≤ C ≤ 21, le_rpow_of_step gives the bound with the constant 6000 and no factor 2.

theorem Cslib.PCP.ParallelRepetition.le_rpow_of_step {v C L : ℝ} {n : ℕ} {p : ℕ → ℝ} (hv : 0 ≤ v) (hv1 : v ≤ 1) (hC0 : 0 ≤ C) (hC : C ≤ 21) (hL : 1 ≤ L) (hp0 : p 0 = 1) (hnn : ∀ (m : ℕ), 0 ≤ p m) (hmono : ∀ (m : ℕ), p (m + 1) ≤ p m) (hstep : ∀ m < n, p (m + 1) ≤ p m * (v + C * √((↑m * L + Real.log (1 / p m)) / (↑n - ↑m)))) :
p n ≤ (1 - (1 - v) ^ 3 / 6000) ^ (↑n / L)

The bound of Holenstein's Theorem 2.5 from the recursion: under the recursion of le_pow_of_step with 0 ≤ C ≤ 21, p_n ≤ (1 - (1 - v)³ / 6000)^{n / L}. This is the bound that Holenstein derives from Lemma 7.1 in (7.7) Holenstein, Lemma 7.1 and (7.4)–(7.7), with the rounding accounted for.

The proof sharpens Holenstein's bookkeeping in (7.4) and (7.7) instead of following it; the paper neither states nor proves this lemma. His (7.4) raises (1 + v) / 2 to the power (1 - v)² n / (13 c ℓ) and ignores that the number of steps is an integer; accounting for that rounding with his ratio costs the factor 2 of le_two_mul_rpow_of_step. Here, with u = 1 - v:

  • if u² n / L ≤ 6000, then already p_n ≤ p_1 ≤ v lies below the bound;
  • otherwise le_pow_of_step runs ⌊u² n / (1000 L)⌋ ≥ (u² / 1200) (n / L) steps with the ratio b = 1 - u / 5, and Bernoulli's inequality gives b^{u² / 1200} ≤ 1 - u³ / 6000. A step with b^{m+1} ≤ p_m ≤ v ≤ b^5 has m ≥ 4, so the induction needs only (25 / 16) (21 / 16) C² + 1 ≤ 1000, which holds for C ≤ 21.

The range covers Holenstein's constant C = 15 of (7.6), and also C = 27 / √2 ≈ 19.09. The library's Corollary 5.3, Cslib.Probability.CorrelatedSampling.isEmbeddable_diag_of_dist_le, has the constant 7 ε₁ + 2 ε₂ where Holenstein's has 3 ε₁ + 2 ε₂. In his derivation of (6.2) and (7.6), ε₁ and ε₂ each sum to at most 3 ε_Tot by (6.15) and (6.16), so this turns 15 = 3 (3 + 2) into 27 = 3 (7 + 2). The factor 1 / √2 comes from the library's Lemma 4.1, which bounds the sum of squared distances by ln (1 / Pr[W]) / 2 in nats where Holenstein's (4.1) has log₂ (1 / Pr[W]).