eolas/zk/DeMorgan's_Laws.md

45 lines
1.4 KiB
Markdown
Raw Normal View History

2022-04-23 13:26:53 +01:00
---
2024-06-16 18:15:03 +01:00
tags:
- theorems
- logic
- propositional-logic
2022-04-23 13:26:53 +01:00
---
2022-12-18 14:30:04 +00:00
# DeMorgan's Laws
DeMorgan's laws express some fundamental equivalences that obtain between the
Boolean
2024-02-17 11:57:44 +00:00
[connectives](Truth-functional_connectives.md).
2022-04-23 13:26:53 +01:00
## First Law
> The negation of a conjunction is logically equivalent to the disjunction of
> the negations of the original conjuncts.
2022-04-23 13:26:53 +01:00
$$
2022-12-23 14:00:05 +00:00
\lnot (P \land Q) \leftrightarrow \lnot P \lor \lnot Q
2022-04-23 13:26:53 +01:00
$$
The equivalence is demonstrated with the following truth-table
2022-12-23 14:00:05 +00:00
| $P$ | $Q$ | $ \lnot (P \land Q)$ | $ \lnot P \lor \lnot Q$ |
| --- | --- | -------------------- | ----------------------- |
| T | T | F | F |
| T | F | T | T |
| F | T | T | T |
2023-01-09 07:30:07 +00:00
| F | F | T | T ### Truth conditions |
2022-04-23 13:26:53 +01:00
> The negation of a disjunction is equivalent to the conjunction of the negation
> of the original disjuncts.
2022-04-23 13:26:53 +01:00
$$
2022-12-23 14:00:05 +00:00
\lnot (P \lor Q) \leftrightarrow \lnot P \land \lnot Q
2022-04-23 13:26:53 +01:00
$$
2022-12-23 14:30:05 +00:00
| $P$ | $Q$ | $ \lnot (P \lor Q)$ | $ \lnot P \land \lnot Q$ |
| --- | --- | ------------------- | ------------------------ |
| T | T | F | F |
| T | F | F | F |
| F | T | F | F |
| F | F | T | T |