Boolean commutativity
If a boolean expression is commutative, it means that we can swap the order of the values and we get the same result.
We can write this for the operation
This applies for lots of operations, including:
- AND:
- OR:
- XOR:
- NAND:
- NOR: