Documentation

Complexitylib.Circuits.KarchmerWigderson.Defs

Karchmer--Wigderson protocols -- definitions #

A protocol is indexed by its current zero-input and one-input rectangles. Alice partitions the one-input side and Bob partitions the zero-input side. At a leaf, one coordinate separates every zero input from every one input in the current rectangle.

A protocol for finding a coordinate where a zero input has value 0 and a one input has value 1.

The two Set indices record the current combinatorial rectangle. An Alice node partitions the one-input side; a Bob node partitions the zero-input side.

Instances For
    def Complexity.KarchmerWigderson.Protocol.depth {N : } {zeroInputs oneInputs : Set (BitString N)} :
    Protocol N zeroInputs oneInputs

    Worst-case communication depth. Leaves have depth zero and every message adds one.

    Equations
    Instances For
      def Complexity.KarchmerWigderson.Protocol.toFormula {N : } {zeroInputs oneInputs : Set (BitString N)} :
      Protocol N zeroInputs oneInputsMonotoneFormula N

      Translate a protocol tree to a monotone formula. Alice nodes become disjunctions and Bob nodes become conjunctions.

      Equations
      Instances For

        The zero fiber of a Boolean function.

        Equations
        Instances For

          The one fiber of a Boolean function.

          Equations
          Instances For
            @[reducible, inline]

            A root protocol for the monotone Karchmer--Wigderson relation of function.

            Equations
            Instances For