De Morgan's laws for propositions
Statement
For all propositions : and .
Why is it true?
"Not both" always splits into two exhaustive cases — at least one fails — which is exactly disjunction of negations; this is the logical skeleton behind negating "for all" statements and behind digital circuits that convert AND-gates into OR-gates of inverted inputs (NAND/NOR equivalence).
Proof sketch
We prove by exhaustively checking all four combinations of truth values for and , since a propositional formula is fully determined by its truth table.
Case : , so . Also and , so . Both sides equal .
Case : , so . Also , , so . Both sides equal .
Case : by symmetry with the previous case, and . Both sides agree.
Case : , so . Also , , so . Both sides agree.
All four rows of the truth table match, so holds as a tautology (an identity true under every assignment). The second law follows by an identical four-row check, or algebraically by substituting for in the first law and negating both sides using .
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.
References
- Kenneth H. Rosen (2018). Discrete Mathematics and Its Applications
- George Boole (1854). An Investigation of the Laws of Thought