Basics of Boolean algebra
1Terms and definition
Let the
If every has a
then is a
2Correspondence with truth sets of predicates
Fix a
Similarly, let .
Then logical operations and set operations correspond as follows.
| Formula | Truth set |
|---|---|
This correspondence lets us read transformations of logical formulas as
3A power set 冪集合 べきしゅうごう is a Boolean algebra ブール代数 だいすう
For any set , the
Here denotes
Here and . Union and intersection satisfy both distributive laws, and satisfies and . Thus every part of the definition of a Boolean algebra is satisfied.
data/lecture/math/discrete-math/power-set-basics.lecture.n.md4De Morgan's laws ド・モルガンの法則
In logic,
and for sets,
5What is being abstracted
This abstraction lets logical circuits, families of sets, conditional branches, and search conditions be handled by the same formal rules.
The point is that even after replacing concrete
6Proof supplement: uniqueness of complements 補元 ほげん
In a
Then
The same argument gives , so
7Proof supplement: De Morgan's laws ド・モルガンの法則
Using uniqueness of
Therefore uniqueness of complements gives
The same method gives .