Documentation

CslibFrontier.Computability.PCP.ParallelRepetition.Factorization

The factorization in Holenstein's embedding lemma #

The proof of Holenstein's Lemma 6.4 Holenstein, Lemma 6.4 embeds the questions (X, Y) of a game in the questions (X̃ⁿ, Ỹⁿ) of its n-fold repetition conditioned on the event W_C that strategies ha and hb win every coordinate in C, with (X̃_j, Ỹ_j) = (X, Y) at a free coordinate j ∉ C. It does so in two stages, in the coordinate model of CslibFrontier/Computability/PCP/ParallelRepetition/CoordinateModel.lean, where S is the variable shared j and every law is an image of condLaw.

  1. Corollary 5.3 embeds (X, Y) in ((X̃_j, S̃), (Ỹ_j, S̃)), with an error bounded through (6.5)–(6.16).
  2. Lemma 5.4 embeds ((X̃_j, S̃), (Ỹ_j, S̃)) exactly in ((X̃_j, S̃, X̃ⁿ), (Ỹ_j, S̃, Ỹⁿ)), and Alice and Bob then forget S̃ Holenstein, proof of Lemma 6.4, (6.17)–(6.19).

This file proves the second stage and composes it with the first.

Lemma 5.4 needs the conditioned law in the product form (5.5): given (x_j, s) and (y_j, s), Alice's questions xⁿ and Bob's questions yⁿ are drawn independently, each from a law that depends on one side only. Holenstein obtains this from the Markov chains (6.18) and (6.19): his Claim 6.2 gives the chain (6.17) before conditioning, and his Claim 6.3 carries the chains derived from it to the conditioned law. Here the product form is proved directly from the masses of the conditioned law (exists_map_condLaw_apply_eq_mul): the mass of (((x_j, s), (y_j, s)), (xⁿ, yⁿ)) is c ((x_j, s), (y_j, s)) · f ((x_j, s), xⁿ) · g ((y_j, s), yⁿ). The mass of the question pairs splits between Alice and Bob for three reasons.

Lemma 5.4 in this product form is isEmbeddable_map_fst_of_apply_eq_mul, which gives the exact embedding (isEmbeddable_map_condLaw_tuples). Composing it with an embedding of the first stage, and forgetting S, gives isEmbeddable_filter_questions_of_shared. Its premise is an embedding in the law of ((x_j, y_j), (S, S)) under W_C, which Corollary 5.3 (isEmbeddable_diag_of_dist_le) provides. Its conclusion is the premise of strategy extraction, TwoProverGame.winProbOn_insert_le.

Main results #

References #

One free coordinate other than j #

The product form of the conditioned law #

theorem Cslib.PCP.ParallelRepetition.exists_map_condLaw_apply_eq_mul {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} {C : Finset (Fin n)} {G : TwoProverGame X Y A B} {ha : (Fin n → X) → Fin n → A} {hb : (Fin n → Y) → Fin n → B} (j : { i : Fin n // i ∉ C }) [Fintype X] [Fintype Y] (hC : ∃ q ∈ G.winsOn ha hb C, q ∈ (G.pow n).questions.support) :
∃ (c : X × Shared X Y A B C j → Y × Shared X Y A B C j → ENNReal) (f : X × Shared X Y A B C j → (Fin n → X) → ENNReal) (g : Y × Shared X Y A B C j → (Fin n → Y) → ENNReal), (∀ (a : X × Shared X Y A B C j) (x : Fin n → X), f a x ≠ ⊤) ∧ (∀ (b : Y × Shared X Y A B C j) (y : Fin n → Y), g b y ≠ ⊤) ∧ ∀ (a : X × Shared X Y A B C j) (b : Y × Shared X Y A B C j) (x : Fin n → X) (y : Fin n → Y), (PMF.map (fun (ω : Sample X Y C) => ((((ω.2 ↑j).1, shared ha hb j ω), (ω.2 ↑j).2, shared ha hb j ω), Prod.fst ∘ ω.2, Prod.snd ∘ ω.2)) (condLaw G C ha hb hC)) ((a, b), x, y) = c a b * f a x * g b y

The product form (5.5) of the conditioned law Holenstein, proof of Lemma 6.4, (6.17)–(6.19), and (5.5). Under W_C, the mass of (((x_j, S), (y_j, S)), (x, y)) factors as c ((x_j, S), (y_j, S)) · f ((x_j, S), x) · g ((y_j, S), y), where S = shared j and (x, y) are the question tuples. So given Alice's view (x_j, S) and Bob's view (y_j, S), the tuples x and y are independent, and each depends on its own view only: this is Holenstein's pair of Markov chains (6.18)–(6.19), in the form (5.5) that Lemma 5.4 uses.

theorem Cslib.PCP.ParallelRepetition.isEmbeddable_map_condLaw_tuples {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} {C : Finset (Fin n)} {G : TwoProverGame X Y A B} {ha : (Fin n → X) → Fin n → A} {hb : (Fin n → Y) → Fin n → B} (j : { i : Fin n // i ∉ C }) [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (hC : ∃ q ∈ G.winsOn ha hb C, q ∈ (G.pow n).questions.support) :
Probability.CorrelatedSampling.IsEmbeddable (PMF.map (fun (ω : Sample X Y C) => (((ω.2 ↑j).1, shared ha hb j ω), (ω.2 ↑j).2, shared ha hb j ω)) (condLaw G C ha hb hC)) (PMF.map (fun (ω : Sample X Y C) => ((((ω.2 ↑j).1, shared ha hb j ω), (ω.2 ↑j).2, shared ha hb j ω), Prod.fst ∘ ω.2, Prod.snd ∘ ω.2)) (condLaw G C ha hb hC)) 0

The second stage of Holenstein's embedding Holenstein, proof of Lemma 6.4, (6.17)–(6.19) and Lemma 5.4. Under W_C, the law of ((x_j, S), (y_j, S)) embeds exactly in the law of (((x_j, S), (y_j, S)), (x, y)), where S = shared j and (x, y) are the question tuples: from Alice's view (x_j, S) and Bob's view (y_j, S), the parties sample x and y locally. The input law is the law of ((x_j, y_j), (S, S)), the output of the first stage, regrouped as IsEmbeddable.trans requires; after rw [PMF.map_comp], it is the second premise of IsEmbeddable.trans for that output.

theorem Cslib.PCP.ParallelRepetition.isEmbeddable_filter_questions_of_shared {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {n : ℕ} {C : Finset (Fin n)} {G : TwoProverGame X Y A B} {ha : (Fin n → X) → Fin n → A} {hb : (Fin n → Y) → Fin n → B} (j : { i : Fin n // i ∉ C }) [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (hC : ∃ q ∈ G.winsOn ha hb C, q ∈ (G.pow n).questions.support) {P₀ : PMF (X × Y)} {ε : ℝ} (h : Probability.CorrelatedSampling.IsEmbeddable P₀ (PMF.map (fun (ω : Sample X Y C) => (ω.2 ↑j, shared ha hb j ω, shared ha hb j ω)) (condLaw G C ha hb hC)) ε) :
Probability.CorrelatedSampling.IsEmbeddable P₀ (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)) ε

The two stages of Holenstein's embedding, composed Holenstein, proof of Lemma 6.4. Let S = shared j. If a law P₀ embeds with error ε in the law of ((x_j, y_j), (S, S)) under W_C, as Corollary 5.3 (isEmbeddable_diag_of_dist_le) provides, then P₀ embeds with error ε in the questions (x, y) of the repetition conditioned on W_C, with (x_j, y_j) as the input coordinate. This is the premise of strategy extraction (TwoProverGame.winProbOn_insert_le).