Multiparty Number-in-Hand Communication Protocols and Multi-Pass Streaming Simulation #
This module formalizes deterministic and public-coin K-player number-in-hand (NIH) communication
protocols, the rectangle discrepancy method, Yao's minimax averaging principle, and the reduction
from K-part p-pass streaming algorithms to K-player NIH protocols.
Main definitions #
NIHProtocol: deterministicK-player number-in-hand protocol tree (outputandspeak), with executionNIHProtocol.run, worst-case communication costNIHProtocol.depth, multi-bit broadcastNIHProtocol.sendBits, and leaf-rectangle partitionNIHProtocol.leaves.RandNIHProtocol,RandNIHProtocol.CostLE: public-coin randomizedK-player NIH protocols and worst-case bit-cost bounds.detAdv,randAdv: distributional distinguishing advantage between two input distributions.fullStream,toNIHProtocol:K-player NIH simulation ofppasses of ab-bit streaming algorithm over aK-part concatenated stream.
Main results #
NIHProtocol.run_sendBits,NIHProtocol.depth_sendBits_le: correctness and depth bound forb-bit broadcasts.discrepancy_of_partition,discrepancy_method: the distributional advantage of a deterministic NIH protocol is at most half the total discrepancy across its leaf rectangles, with equality under optimal leaf labels.exists_det_protocol_adv_ge: Yao averaging for public-coin NIH protocols.depth_toNIHProtocol_le,run_toNIHProtocol: ap-passb-bit streaming algorithm over aK-part stream is simulated exactly by aK-player NIH protocol of depth at most(p * K - 1) * b + 1.
A deterministic multi-party number-in-hand (NIH) communication protocol tree for players
indexed by ι, with private input types X i and output type Z. At each internal node, player
i broadcasts one bit depending only on their own input x i.
- output {ι : Type u} {X : ι → Type v} {Z : Type w} (z : Z) : NIHProtocol X Z
Leaf outputting
z : Z. - speak {ι : Type u} {X : ι → Type v} {Z : Type w} (i : ι) (send : X i → Bool) (p₀ p₁ : NIHProtocol X Z) : NIHProtocol X Z
Player
ibroadcastssend (x i) : Bool, branching top₀(onfalse) orp₁(true).
Execute an NIH protocol on input tuple x : ∀ i, X i.
Worst-case communication cost (tree depth, i.e. total bits broadcast).
Leaf rectangles and output bits of a deterministic NIHProtocol starting from rectangle R.
Every deterministic protocol in the support of μ has communication depth at most c.
Distributional distinguishing advantage of a deterministic NIH protocol.
Distributional distinguishing advantage of a public-coin randomized NIH protocol.
Discrepancy inequality on any finite disjoint partition L on which f is constant.
Rectangle discrepancy bound for any deterministic K-player NIH protocol.
Yao averaging: every public-coin NIH protocol of cost at most c admits a deterministic
protocol of depth at most c with at least as large distributional advantage.
Multi-Player Multi-Pass Streaming Simulation #
K-player NIH protocol simulating p passes of a b-bit streaming algorithm A over
fullStream part x and applying decision function dec to the output.
The K-player simulation of p passes of a b-bit streaming algorithm has depth at most
(p * K - 1) * b + 1.
Exact correctness of toNIHProtocol: whenever enc is injective on A.reachable p M and
fullStream part x has length at most M, the K-player simulation outputs
dec (A.run p (fullStream part x)).