Documentation

CslibFrontier.Computability.PCP.TwoProverGame.AnchoredDependency

Noisy dependency breaking for anchored questions #

This is the single-coordinate sampler of Bavarian, Vidick and Yuen, §4.1, arXiv:1509.07466v2. The message sent by the designated player is a question with a lower anchor probability. Given that message, an additional erase step completes its anchoring, independently of the other player's question.

The joint law of the two resulting questions, with the message forgotten, is the anchored question law for either designated player.

The additional erasure rate is half the final anchor probability.

@[simp]
theorem Cslib.PCP.AnchoredDependency.coe_noise (α : ↑unitInterval) :
↑(noise α) = ↑α / 2

The extra erase probability as a real number.

The reveal's anchor probability is (α - η) / (1 - η) for η = α / 2.

noncomputable def Cslib.PCP.AnchoredDependency.messagePair {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :

The joint law of the first player's revealed message and the other player's question.

theorem Cslib.PCP.AnchoredDependency.conditionalSnd_messagePair {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) (h₀ : 0 < ↑α) (h₁ : ↑α < 1) (m : Option X) (hm : m ∈ (PMF.map Prod.fst (messagePair μ α)).support) :

For every supported message, Bob uses exactly the conditional distribution from the original anchored law, as in the source's left reveal.

noncomputable def Cslib.PCP.AnchoredDependency.noisyQuestion {X : Type u_1} (α : ↑unitInterval) (m : Option X) :

Erase the revealed question with the additional noise probability.

noncomputable def Cslib.PCP.AnchoredDependency.leftLaw {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :

Draw the message, then draw each player's question by its own conditional kernel.

theorem Cslib.PCP.AnchoredDependency.leftLaw_apply {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) (m x : Option X) (y : Option Y) :

The point-mass factorization in Claim 4.1 for the left reveal. At positive message mass, the two kernels therefore give independent questions conditional on the message.

theorem Cslib.PCP.AnchoredDependency.leftLaw_bothAnchors_le {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) (m : Option X) (hm : m ∈ (PMF.map Prod.fst (messagePair μ α)).support) :

Given a supported message, the joint chance of two anchors is at least η α. The mass form also records the probability of the message.

theorem Cslib.PCP.AnchoredDependency.map_snd_leftLaw {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :

The left reveal has the original anchored question marginal (Claim 4.2).

noncomputable def Cslib.PCP.AnchoredDependency.rightLaw {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :

Draw the right reveal by exchanging the players, then restore the question order.

theorem Cslib.PCP.AnchoredDependency.rightLaw_apply {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) (m y : Option Y) (x : Option X) :

The point-mass factorization for the right reveal.

The right reveal also has the original anchored question marginal (Claim 4.2).

noncomputable def Cslib.PCP.AnchoredDependency.law {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :

Select the designated player fairly, then reveal that player's message and draw the pair.

theorem Cslib.PCP.AnchoredDependency.conditionalSnd_law_inl {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) (m : Option X) (hm : Sum.inl m ∈ (PMF.map Prod.fst (law μ α)).support) :
Probability.PMF.conditionalSnd (law μ α) (Sum.inl m) = (noisyQuestion α m).bind fun (x : Option X) => PMF.map (fun (x_1 : Option Y) => (x, x_1)) (Probability.PMF.conditionalSnd (messagePair μ α) m)

Given a supported left message, the questions are sampled independently.

theorem Cslib.PCP.AnchoredDependency.conditionalSnd_law_inr {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) (m : Option Y) (hm : Sum.inr m ∈ (PMF.map Prod.fst (law μ α)).support) :

Given a supported right message, the questions are sampled independently.

noncomputable def Cslib.PCP.AnchoredDependency.aliceGivenMessage {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :
Option X ⊕ Option Y → PMF (Option X)

Alice's question law given the tagged noisy message.

noncomputable def Cslib.PCP.AnchoredDependency.bobGivenMessage {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :
Option X ⊕ Option Y → PMF (Option Y)

Bob's question law given the tagged noisy message.

theorem Cslib.PCP.AnchoredDependency.law_eq_bind_messages {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :
law μ α = (PMF.map Prod.fst (law μ α)).bind fun (m : Option X ⊕ Option Y) => PMF.map (fun (x : Option X × Option Y) => (m, x)) ((aliceGivenMessage μ α m).bind fun (x : Option X) => PMF.map (fun (x_1 : Option Y) => (x, x_1)) (bobGivenMessage μ α m))

The single-trial law is obtained by sampling the message, then the two independent local questions.

theorem Cslib.PCP.AnchoredDependency.law_bothAnchors_le {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) (m : Option X ⊕ Option Y) :

Conditional on each supported tagged message, the probability of two anchors is at least α² / 2. The mass form also holds for unsupported messages.

theorem Cslib.PCP.AnchoredDependency.map_snd_law {X : Type u_1} {Y : Type u_2} (μ : PMF (X × Y)) (α : ↑unitInterval) :

Forgetting both the designated player and the message gives the original anchored law.

theorem Cslib.PCP.AnchoredDependency.map_questions_pi_law {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Finite X] [Finite Y] (G : TwoProverGame X Y A B) (α : ↑unitInterval) (n : ℕ) :
PMF.map (fun (samples : Fin n → (Option X ⊕ Option Y) × Option X × Option Y) => (Prod.fst ∘ Prod.snd ∘ samples, Prod.snd ∘ Prod.snd ∘ samples)) (Probability.PMF.pi fun (x : Fin n) => law G.questions α) = ((G.anchored α).pow n).questions

Independent copies of the revealed experiment have precisely the repeated game's question law. This is the question marginal in BVY Claim 4.3.