Boolean Algebra
Continuation of binary logic
For all
| Property | Explanation |
|---|---|
| closed under addition | |
| closed under multiplication | |
| additive identity | |
| multiplicative identity | |
| addition is commutative | |
| multiplication is commutative | |
| addition is distributive | |
| multiplication is distributive | |
| addition is associative | |
| multiplication is associative | |
| For all |
additive inverse |
| For all |
multiplicative inverse |
| There exists |
at least 2 unique elements |
(same table as Logical Operators#Properties, but with different notation)
Consider a four variable function
solution
We have:
which gives:
but this isn't enough. Our cost will be 12 with this configuration. In order to simplify further, we need to find a function that resembles
now our cost is 10, as desired.
We could further simplify this to