eolas/zk/DeMorgan's_Laws.md

44 lines
1.4 KiB
Markdown
Raw Normal View History

2022-04-23 13:26:53 +01:00
---
2022-08-20 13:00:04 +01:00
categories:
2022-12-18 14:30:04 +00:00
- Logic
2023-02-10 18:22:04 +00:00
tags: []
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
[connectives](/Logic/Propositional_logic/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 |