De Morgan's laws are two important rules of Boolean algebra, relating the logical operators "AND" and "OR" in terms of each other via negation.
In another form:
NOT (A AND B) = (NOT A) OR (NOT B)
NOT (A OR B) = (NOT A) AND (NOT B)
The rules can be expressed in English as:
- The negation of a conjunction is the disjunction of the negations.
- The negation of a disjunction is the conjunction of the negations.