Number-on-forehead protocols #
In the number-on-forehead (NOF) model of multiparty communication, introduced by Chandra, Furst
and Lipton [CFL83], players indexed by ι jointly hold an input x : ∀ i, X i,
and player i sees every part of the input except their own part x i, which is written on their
forehead Jukna, Section 5.4, p. 140. What player i sees is
NOF.view i x : NOF.View X i, the input restricted to the other players. The players write bits
on a shared blackboard.
A deterministic NOF protocol (NOF.Protocol) is a binary tree whose inner nodes are owned by a
player i, who writes a bit computed from what they see (a function of NOF.View X i), and whose
leaves are labelled by outputs (NOF.Protocol.run). Since the bit at a node of player i is a
function of NOF.view i x, it cannot depend on x i (NOF.view_update_self). The depth of the
tree bounds the number of bits written on any input. A protocol solves a relation R on a set A
of inputs when its output on every input of A is related to it (NOF.Protocol.Solves); the
communication complexity of R on A is the least depth of a protocol solving it, or ⊤ if there
is none (NOF.Protocol.ecomplexity), and the communication complexity of computing f is that of
the relation f x = z on all inputs (NOF.Protocol.ecomplexityFun). With two players each player
sees exactly the other player's input, so two-party protocols (Cslib.Communication.Protocol) run
as two-player NOF protocols of the same depth.
Player i can write n bits computed from what they see (NOF.Protocol.sendBits). So when player
i's input is determined by n bits that another player j ≠ i sees, every Boolean function has
a protocol with n + 1 bits: j writes those bits, after which i knows the whole input and
announces the value (NOF.Protocol.ecomplexityFun_le_succ).
Main definitions #
Cslib.Communication.NOF.View,Cslib.Communication.NOF.view: what a player sees.Cslib.Communication.NOF.Protocol: deterministic NOF protocols, withCslib.Communication.NOF.Protocol.runandCslib.Communication.NOF.Protocol.depth.Cslib.Communication.NOF.Protocol.Solves,Cslib.Communication.NOF.Protocol.ecomplexity,Cslib.Communication.NOF.Protocol.ecomplexityFun: solving relations and communication complexity.Cslib.Communication.NOF.Protocol.sendBits: a player writes a bit string.Cslib.Communication.NOF.Protocol.sendEach: several players write one bit each.Cslib.Communication.NOF.Protocol.bind,Cslib.Communication.NOF.Protocol.runAll: running protocols one after another.
Main results #
Cslib.Communication.NOF.view_update_self: a player does not see their own input.Cslib.Communication.NOF.Protocol.ecomplexity_le_iff,Cslib.Communication.NOF.Protocol.le_ecomplexity_iff: upper and lower bounds on communication complexity, andCslib.Communication.NOF.Protocol.ecomplexityFun_le_iff,Cslib.Communication.NOF.Protocol.le_ecomplexityFun_ifffor functions.Cslib.Communication.NOF.Protocol.depth_bind_le,Cslib.Communication.NOF.Protocol.depth_runAll_le: depth bounds for sequential composition.Cslib.Communication.NOF.Protocol.ecomplexityFun_le_succ: the trivial protocol.
References #
What player i sees: the parts of the input held on the other players' foreheads.
The part of the input x that player i sees.
A player does not see their own input: changing x i does not change what player i
sees.
A deterministic number-on-forehead protocol with output in Z: a leaf labelled by an output,
or a node at which player i writes the bit send (view i x), computed from what they see, and the
protocol continues with ifFalse or ifTrue.
- output {ι : Type u} {X : ι → Type v} {Z : Type w} (z : Z) : Protocol X Z
The protocol ends with output
z. - speak {ι : Type u} {X : ι → Type v} {Z : Type w} (i : ι) (send : View X i → Bool) (ifFalse ifTrue : Protocol X Z) : Protocol X Z
Player
iwrites the bitsend (view i x)and the protocol continues accordingly.
Solving relations and communication complexity #
Upper bounds on communication complexity: R has communication complexity at most k on A
exactly when some protocol of depth at most k solves it.
Lower bounds on communication complexity are lower bounds on the depth of every protocol solving the relation, including when there is none.
The communication complexity of computing f on all inputs: ecomplexity of the relation
f x = z on all inputs.
Computing f has communication complexity at most k exactly when some protocol of depth at
most k computes f.
Lower bounds on the communication complexity of f are lower bounds on the depth of every
protocol computing f, including when there is none.
Writing a bit string #
Player i writes the n bits of msg (view i x), first bit first, after which the protocol
continues with cont of the bits written.
Players who 0, …, who (m - 1) write one bit each, in this order, player who t writing
bit t of what they see, after which the protocol continues with cont of the bits written.
m players writing a bit each add at most m to the depth.
The trivial protocol. If player i's input is recovered by decode from n bits
encode that player j ≠ i computes from what they see, then every Boolean function has a
protocol with n + 1 bits: player j writes the n bits, after which player i knows the whole
input and announces the value.
Sequencing protocols #
Running k protocols of depth at most d one after another writes at most k d bits.