The Karchmer–Wigderson theorem #
In the Karchmer–Wigderson game of a Boolean function f, Alice holds an input x with
f x = 1, Bob holds an input y with f y = 0, and they must find a bit where x and y
differ (Communication.DiffersAt). Karchmer and Wigderson showed that the least depth of a
De Morgan formula for f, with negations free, is the communication complexity of this game
(formulaDepth_eq_ecomplexity) [KW90], Jukna, Section 3.3,
Kushilevitz and Nisan, Chapter 10.
A formula gives a protocol (Formula.kwProtocol): at an AND gate, the player holding the input
where the gate is false says which argument is false there; at an OR gate, the player holding the
input where it is true says which argument is true; a negation exchanges the roles; an input leaf
names its bit. Conversely a protocol gives a formula (Protocol.kwFormula), with an OR at each of
Alice's nodes, an AND at each of Bob's, and at each leaf the literal that separates the inputs of
the two players that reach it, so with negations only at the leaves. The monotone counterparts
are Formula.monotoneKWProtocol and Protocol.monotoneKWFormula.
The round protocols of Korten's top-down lower bounds give Alice the input where f is false
instead (Communication.RoundProtocol.SolvesKW); exchanging the players translates
(Communication.RoundProtocol.solvesKW_swapPlayers_ofProtocol).
Main definitions #
Cslib.Circuits.Formula.kwProtocol: the protocol of a formula.Cslib.Communication.Protocol.kwFormula: the formula of a protocol.
Main results #
Cslib.Circuits.Boolean.formulaDepth_eq_ecomplexity: the Karchmer–Wigderson theorem.
References #
The protocol of a De Morgan formula for the Karchmer–Wigderson game, when the formula is
onAlice on Alice's input: the player holding the input where an AND gate is false, or where an
OR gate is true, says which argument witnesses it. Constant subformulas, which never separate the
two inputs, output the bit 0.
Instances For
The protocol of a formula finds a bit where Alice's and Bob's inputs differ, when the formula
is onAlice on Alice's input and !onAlice on Bob's.
The protocol of a formula sends at most as many bits as the formula has AND and OR gates on a path.
The formula of a protocol for the Karchmer–Wigderson game on A × B: an OR at each of Alice's
nodes, an AND at each of Bob's, and at each leaf a literal true on the inputs of A and false on
those of B that reach it, or a constant if one side is empty.
Instances For
The formula of a protocol has as many AND and OR gates on a path as the protocol sends bits.
The formula of a protocol solving the Karchmer–Wigderson game on A × B is true on A.
The formula of a protocol solving the Karchmer–Wigderson game on A × B is false on B.
A formula computing f gives a protocol for its Karchmer–Wigderson game, with at most as
many bits as the formula has AND and OR gates on a path.
A protocol for the Karchmer–Wigderson game of f gives a formula computing f, with at most
as many AND and OR gates on a path as the protocol sends bits.
The Karchmer–Wigderson theorem. The least depth of a De Morgan formula for a function of at least one bit, with negations free, is the communication complexity of its Karchmer–Wigderson game.