Documentation

CslibFrontier.Computability.Circuit.DagProtocol

Circuits from dag-like protocols #

A dag-like protocol for the Karchmer–Wigderson game on U × V (Cslib.Communication.DagProtocol solving Cslib.Communication.DiffersAt) with k inner nodes and communication complexity t gives a De Morgan circuit with at most (k · 2 ^ t + 1) · 2 ^ (t + 1) gates that is true on U and false on V (Cslib.Communication.DagProtocol.Solves.exists_circuit). A monotone protocol, one solving Cslib.Communication.ExceedsAt, gives a monotone circuit with as many gates (Cslib.Communication.DagProtocol.Solves.exists_monotone_circuit). This is Krajíček, Theorem 2.3, with the explicit constant 2 ^ (2 t + 1) for the factor 2 ^ O(t). Krajíček credits the theorem to Razborov and proves it by citing Theorem 3.1 of [Raz95b]; that locator is Krajíček's and was not checked against Razborov's paper. The proof here is direct.

The tree protocol at an inner node j partitions the inputs into at most 2 ^ t rectangles (Cslib.Communication.Protocol.leafAlice, Cslib.Communication.Protocol.leafBob). For each leaf ℓ of it that names an inner node i, the circuit has a gate that is true on the inputs of U and false on those of V in the rectangle of ℓ. That gate is the Karchmer–Wigderson formula of the tree protocol at i restricted to this rectangle, as in Cslib.Communication.Protocol.kwFormula: an OR at each of Alice's nodes and an AND at each of Bob's. At a leaf of the tree protocol at i the formula takes the gate of that leaf if it names an inner node, a literal if it names an answer, and a constant if it answers none: on the inputs of the rectangle the node i is consistent, so the part of a none leaf inside it has an empty side. Each such formula has at most 2 ^ (t + 1) gates, and there are at most k · 2 ^ t of them, built from the last inner node to the first; one more formula, at the source, separates U from V.

Main results #

References #

Separating rectangles #

Building the circuit #

The De Morgan and monotone circuits #

Circuits from dag-like protocols Krajíček, Theorem 2.3, which Krajíček credits to Razborov [Raz95b]. A dag-like protocol for the Karchmer–Wigderson game on U × V with k inner nodes and communication complexity t gives a De Morgan circuit with at most (k · 2 ^ t + 1) · 2 ^ (t + 1) gates that is true on U and false on V.

Monotone circuits from monotone dag-like protocols Krajíček, Theorem 2.3, which Krajíček credits to Razborov [Raz95b]. A dag-like protocol for the monotone Karchmer–Wigderson game on U × V with k inner nodes and communication complexity t gives a monotone circuit with at most (k · 2 ^ t + 1) · 2 ^ (t + 1) gates that is true on U and false on V.