The size of the circuit is the number of vertices, while the depth is the maximum length of a path in the graph.
It can be easily observed that every positive Boolean function, by using its irredundant PDNF (see Sec. 2),
can be represented through a Boolean circuit with depth
. As an example, consider the positive Boolean function
.
Its irredundant PDNF (4) corresponds to the Boolean circuit represented in Fig. 1.
Note that the circuit has depth
and size
(i.e. the number of
logical AND).
An EP circuit is defined as an acyclic graph of two levels with:
The size of an EP circuit is defined, likewise the positive Boolean circuit, as the number of vertices, i.e., in this case, the number of ESs.
As an example, consider the EP circuit in Fig. 2, representing the function
described in (5).
We can note that the two circuits in Fig. 1 and in
Fig. 2 are similar and that, in general, it is very simple
to pass from a Boolean positive circuit to an EP circuit. In fact, it
is sufficient to substitute each logical AND (
)
with a vertex having
, where
is the number of input
variables for the
th vertex, and the logical OR
(
) with a root having
. This observation
directly shows that every Boolean positive function can be represented
through an EP circuit whose size is equal to that of the corresponding
Boolean positive circuit.