Definition

Let be as basis. An -circuit is defined just like a Boolean Circuit, except with (non-source) nodes labelled by arbitrary elements.
of , with precisely incoming edges.
The depth of an circuit is the length of the longest path from a source to the sink.
The size of an circuit is its number of nodes.

The change-of-bias theorem

Theorem

Let and be two complete bases. Then for any -circuit there is an circuit computing the same boolean function with:

  • and
  • depth = O(depth())

Proof Sketch

For each element let be an circuit of size and depth computing . Let s = and .
Now construct by replacing each non-source node labelled by the circuit . We have and

Example

From to

  • =
  • =

definitions

  • 0
  • 1

From to

  • =
  • =

definitions