Documentation

CslibFrontier.Computability.Communication.Discrepancy.Xor

XOR products and discrepancy #

The cube expectation tensorizes for coordinatewise XOR products. For two players it is at most four times uniform discrepancy. Together these give the elementary bound disc(g^⊕k)^4 ≤ (4 disc(g))^k. This is a weaker alternative to the Lee--Shraibman--Špalek XOR bound used in Chattopadhyay--Filmus--Koroth--Meir--Pitassi, arXiv:1904.13056v4, Theorem 2.11. It retains exponential decay but loses a factor four in the exponent. No lifting simulation is claimed in this module.

theorem Cslib.Communication.abs_sum_mul_local_signs_le {X : Type u_1} {Y : Type u_2} [Fintype X] [Fintype Y] (ν : PMF (X × Y)) (g : X → Y → Bool) (a : X → Bool) (b : Y → Bool) :
|∑ x : X, ∑ y : Y, (ν (x, y)).toReal * BitString.signVal (g x y) * (BitString.signVal (a x) * BitString.signVal (b y))| ≤ 4 * discrepancy ν g

Multiplying a gadget's sign by two local signs costs at most four times its discrepancy. The local signs form a four-leaf protocol.

theorem Cslib.Communication.abs_expect_mul_local_signs_le {X : Type u_1} {Y : Type u_2} [Fintype X] [Fintype Y] [Nonempty X] [Nonempty Y] (g : X → Y → Bool) (a : X → Bool) (b : Y → Bool) :

Uniform-average form of the local-sign discrepancy bound.

def Cslib.Communication.NOF.xorProduct {ι : Type u_1} {κ : Type u_2} {Λ : Type u_3} [Fintype κ] (f : (ι → Λ) → Bool) (x : ι → κ → Λ) :

Apply f to each coordinate of the players' inputs and XOR the answers.

theorem Cslib.Communication.NOF.cubeExpectation_xorProduct {ι : Type u_1} {κ : Type u_2} {Λ : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [Fintype Λ] (f : (ι → Λ) → Bool) :

The cube expectation tensorizes for XOR products.

theorem Cslib.Communication.NOF.discrepancy_xorProduct_pow_le {ι : Type u_1} {κ : Type u_2} {Λ : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] [Fintype Λ] [Nonempty ι] [Nonempty Λ] (f : (ι → Λ) → Bool) :

The discrepancy bound for an XOR product, before estimating its one-copy cube expectation.

The two-player cube expectation is at most four times the uniform discrepancy.

Uniform two-player NOF discrepancy, expressed on a Cartesian product.

An elementary discrepancy XOR bound: the fourth power of the XOR discrepancy is at most (4 disc(f))^k. This loses a factor four in the exponent compared with the LSS bound.

theorem Cslib.Communication.discrepancy_xor_fourth_pow_le {κ : Type u_1} {Λ : Type u_2} [Fintype κ] [DecidableEq κ] [Fintype Λ] [Nonempty Λ] (g : Λ → Λ → Bool) :
(discrepancy (Probability.PMF.uniformOfFintype ((κ → Λ) × (κ → Λ))) fun (x y : κ → Λ) => ∑ i : κ, g (x i) (y i)) ^ 4 ≤ (4 * discrepancy (Probability.PMF.uniformOfFintype (Λ × Λ)) g) ^ Fintype.card κ

The two-party form of the elementary XOR bound, for any finite alphabet and any number of gadget coordinates (including zero).