eolas/Logic/DeMorgan's_Laws.md

30 lines
695 B
Markdown
Raw Normal View History

2022-04-23 13:26:53 +01:00
---
2022-08-20 13:00:04 +01:00
categories:
- Logic
2022-08-21 11:00:04 +01:00
tags: [propositional-logic]
2022-04-23 13:26:53 +01:00
---
DeMorgan's laws express some fundamental equivalences that obtain between the Boolean [connectives](Truth-functional%20connectives.md):
## First Law
> The negation of a conjunction is logically equivalent to the disjunction of the negations of the original conjuncts.
$$
\sim (P \& Q) \equiv \sim P \lor \sim Q
$$
The equivalence is demonstrated with the following truth-table
![demorgan-1.png](../img/demorgan-1.png)
## Second Law
> The negation of a disjunction is equivalent to the conjunction of the negation of the original disjuncts.
$$
\sim (P \lor Q) \equiv \sim P & \sim Q
$$
![demorgan-2.png](../img/demorgan-2.png)