Definition. Boolean circuit [00WZ]

A boolean circuit is a directed, acyclic graph G such that:

  • Each indegree-0 vertex (“input”) is labelled with either \mathsf {T}, \mathsf {F}, or a distinct variable.
  • All other vertices have indegree 1 or 2, and are labelled with either \neg (if indegree 1) or \lor or \land (if indegree 2).
  • Only one vertex has outdegree 0, which we call the “output”.

(Note this is not really a “circuit” as we would usually conceive it, since in particular there are no loops!)