The size of a formula is its number of propositional variable occurrences.

Proposition (Formula unfolding)

If is computed by a circuit of depth , then it is computed by a formula of size

Proof

For a node of , define the formula by induction on depth of :

  • is just the formula (of size )
  • If of depth is labelled with incoming edge from (of depth ), then (of size ) by IH and so
  • If of depth is labelled with incoming edges from (of depth ) then (of size by IH and so Now is a formula computing of size .

We say that a language is computed by a circuit family if, for each , is an -input circuit computing .

Definition (Size and Depth)

Let

  • is the set of languages computed by circuits of size
  • is the set of languages computed by circuits of depth

Definition

The class P/poly is the class of languages computed by polynomial size circuit families i.e.,