Documentation

CommunicationComplexity.PublicCoin.Newman

Newman's Theorem: Public Coin to Private Coin Reduction #

A public-coin protocol can be simulated by a private-coin protocol with only O(log(|X|·|Y|)) additional random bits, at the cost of slightly increasing the error.

Direct conversion #

The simplest conversion from public-coin to private-coin: Alice has n private coin bits, sends them all to Bob as a single CoinTape n-valued message (costing n bits), then both deterministically simulate the public-coin protocol.

Newman's theorem #

By Chernoff + union bound, only O(log(|X|·|Y|)/ε²) random seeds are needed, giving a much cheaper conversion.

@[reducible, inline]
noncomputable abbrev CommunicationComplexity.PublicCoin.newmanIndexSpace (X : Type u_1) (Y : Type u_2) [Fintype X] [Fintype Y] (ε c : ) :

The number of random seeds Alice samples from in the Newman reduction: Fin (derandomizationSamples X Y ε c).

Equations
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    noncomputable def CommunicationComplexity.PublicCoin.FiniteMessage.Protocol.newmanProtocol {Ω : Type u_1} {X : Type u_2} {Y : Type u_3} {α : Type u_4} [FiniteProbabilitySpace Ω] [Fintype X] [Fintype Y] (p : Protocol Ω X Y α) (f : XYα) (ε c : ) (hc : 1 < c) (hp : p.ApproxComputes f ε) :

    The Newman reduction: given a public-coin protocol that ε-computes f, construct a private-coin protocol where Alice samples a random index i from newmanIndexSpace and sends it to Bob. Both then simulate the public-coin protocol with the i-th seed from a fixed table of good randomness values (chosen via Chernoff + union bound).

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem CommunicationComplexity.PublicCoin.FiniteMessage.Protocol.newmanProtocol_ApproxComputes {Ω : Type u_1} {X : Type u_2} {Y : Type u_3} {α : Type u_4} [FiniteProbabilitySpace Ω] [Fintype X] [Fintype Y] (p : Protocol Ω X Y α) (f : XYα) (ε c : ) (hc : 1 < c) (hp : p.ApproxComputes f ε) :
      (p.newmanProtocol f ε c hc hp).ApproxComputes f (c * ε)
      theorem CommunicationComplexity.PublicCoin.newman {X : Type u_1} {Y : Type u_2} {α : Type u_3} [Fintype X] [Fintype Y] (f : XYα) (ε ε' c : ) (hc : 1 < c) (hε' : c * ε < ε') :

      Newman's theorem: for any ε' > c·ε, private-coin communication complexity at error ε' is at most public-coin complexity at error ε plus O(log(|X|·|Y|)/ε²) bits.