The exclusive-or function of just if . The/a smallest Boolean formula computing is:

Now consider the Parity function . One way of defining Boolean formula for is by induction on as follows:

However, notice that this leads to an exponential blowup:


However, we could chose to compute Parity differently, namely by re-bracketing under associativity and commutativity.

Define formulas for by divide-and-conquer induction on as follows:

This construction only leads to a -size -depth family of formulas for parity.