Boolean algebra
Uses
NOT:
AND:
OR:
XOR:
AND is commutative:
and distributive:
OR is commutative:
and distributive:
XOR is commutative:
and distributive:
Eliminate NOT and OR
NOT is replaced by XOR with
OR is replaced by XOR and AND:
Simplify AND relations
AND is
If one argument of AND is
If the two arguments to AND are equal, the result is any of the arguments:
Simplify XOR relations
XOR with
If the two arguments to XOR are equal, the result is
Normalize combinations of XOR and AND: