Documentation

CslibFrontier.Computability.Complexity.Classes.ArthurMerlin.Games.Repetition

Parallel repetition and error reduction for public-coin games #

The m-fold parallel repetition Cslib.Complexity.AMGame.repeatShape m g of a game shape g plays m copies of g at once. Each move sends the m copies' messages concatenated, and Cslib.Complexity.AMGame.copyTranscript m i g w reads the transcript of copy i out of a transcript w of the repetition (Cslib.BitString.listRow). Since all coins are public, the value of the repetition on a product of nonnegative payoffs, one for each copy, is the product of the values (Cslib.Complexity.AMGame.value_repeatShape_prod). Merlin may coordinate the copies, but this does not help him.

The majority of 2 k copies (Cslib.Complexity.AMGame.majority) turns a game of value at least 2 / 3 into one of value at least 1 - (8 / 9) ^ k, and a game of value at most 1 / 3 into one of value at most (8 / 9) ^ k / 2. The majority indicator is at most 2 ^ (-(k + 1)) ∏ᵢ (1 + [copy i accepts]), and the value of this product factors over the copies. This gives error reduction for every pattern of moves, as for AM itself (Cslib.Complexity.mem_AM_iff_forall_errorExponent) Babai, Babai and Moran.

Main definitions #

Main results #

References #

The transcript of copy i inside a transcript of the m-fold parallel repetition.

The m-fold parallel repetition of a game shape.

theorem Cslib.Complexity.AMGame.copyTranscript_ofFn_append {m n : ℕ} (i : Fin m) (b : AMMove) (g : List (AMMove × ℕ)) (r : Fin (m * n) → Bool) (t : List Bool) :
copyTranscript m (↑i) ((b, n) :: g) (List.ofFn r ++ t) = List.ofFn (BitString.block r i) ++ copyTranscript m (↑i) g t

Copy i of a transcript that starts with a move of m * n bits starts with block i of that move.

theorem Cslib.Complexity.AMGame.value_repeatShape_prod (b : Bool) (m : ℕ) (g : List (AMMove × ℕ)) (f : Fin m → List Bool → ℚ) (hf : ∀ (i : Fin m) (t : List Bool), 0 ≤ f i t) :
(value b (repeatShape m g) fun (w : List Bool) => ∏ i : Fin m, f i (copyTranscript m (↑i) g w)) = ∏ i : Fin m, value b g (f i)

Parallel repetition of public-coin games is multiplicative.

Majority of 2 k parallel copies of a game: more than k copies accept.

theorem Cslib.Complexity.AMGame.value_majority_le (g : List (AMMove × ℕ)) (k : ℕ) (W : List Bool → Bool) (h : (3 * value true g fun (t : List Bool) => ↑(W t).toNat) ≤ 1) :
(value true (repeatShape (2 * k) g) fun (w : List Bool) => ↑(majority g k W w).toNat) ≤ (8 / 9) ^ k / 2

Soundness of majority repetition.

theorem Cslib.Complexity.AMGame.value_majority_ge (g : List (AMMove × ℕ)) (k : ℕ) (W : List Bool → Bool) (h : 2 ≤ 3 * value true g fun (t : List Bool) => ↑(W t).toNat) :
1 - (8 / 9) ^ k ≤ value true (repeatShape (2 * k) g) fun (w : List Bool) => ↑(majority g k W w).toNat

Completeness of majority repetition.

Parallel repetition of a polynomial game shape, M(n) copies.

The majority of 2 k parallel runs of a game verifier.

theorem Cslib.Complexity.AMGame.eight_ninths_pow_le (e : ℕ) :
(8 / 9) ^ (6 * e) ≤ (1 / 2) ^ e

A game verifier with error at most 2 ^ (-e(n)): on a member Merlin's optimal acceptance probability is at least 1 - 2 ^ (-e(n)), on a non-member at most 2 ^ (-e(n)).

theorem Cslib.Complexity.isAMGameVerifierWithErrorExponent_iff_value {α : Type} {enc : α ↪ List Bool} {e : Polynomial ℕ} {G : List (AMMove × Polynomial ℕ)} {V : α × List Bool → Bool} {A : Set α} :
IsAMGameVerifierWithErrorExponent enc e G V A ↔ ∀ (a : α), (a ∈ A → 2 ^ Polynomial.eval (enc a).length e * (1 - AMGame.value true (AMGame.evalShape G (enc a).length) fun (t : List Bool) => ↑(V (a, t)).toNat) ≤ 1) ∧ (a ∉ A → (2 ^ Polynomial.eval (enc a).length e * AMGame.value true (AMGame.evalShape G (enc a).length) fun (t : List Bool) => ↑(V (a, t)).toNat) ≤ 1)

Error reduction for public-coin games: parallel repetition with a majority vote. A problem has a game verifier of pattern π exactly when it has one with error at most 2 ^ (-e(n)) for every polynomial e.