Documentation

Complexity.Computability.Circuit.Boolean.Minterms

Shared Boolean minterms #

The circuit computes the indicator of every assignment to its input bits. Each stage retains the preceding minterms and extends them by one new bit. Sharing the preceding table gives a linear bound in the number of assignments, including all constants and negations.

Main definitions #

Main results #

References #

One extension reads a preceding minterm and tests the new head bit.

Instances For

    Shared indicators of all n-bit assignments, indexed least significant bit first.

    Instances For
      @[simp]

      Each output is true precisely for the assignment bearing that index.

      All minterms together use at most 4 * 2 ^ n - 3 gates, counting constants too.