i
Laws of Algebra daniel-hromada ()


Laws of Algebra

Boole discovered that these operations obey laws, like numbers do:

lawin words
a AND 1 = aAND with 1 changes nothing
a AND 0 = 0AND with 0 kills everything
a OR 0 = aOR with 0 changes nothing
a AND a = arepeating yourself adds nothing
a AND (NOT a) = 0nothing is both true and false
NOT(a AND b) = (NOT a) OR (NOT b)De Morgan (Boole’s contemporary)

Laws like these let you simplify circuits and programs by pure calculation — no thumbs needed.