Boolean structure of subsets [01GS]
If you have some programming experience, you will be used to a number of basic constants and operations involving the booleans. For example, we have the constants true and false corresponding to \top and \bot , and the operations && and || corresponding to conjunction \land and disjunction \lor , and the operation not corresponding to negation \lnot . These operations satisfy certain algebraic laws, which we have not attempted to minimise:
- \land and \lor are both commutative and associative.
- \top is a unit for \land , i.e. {\mathopen {}\left (\top \land P\right )\mathclose {}} = P.
- \bot is a unit for \lor , i.e. {\mathopen {}\left (\bot \lor P\right )\mathclose {}}=P.
- \land and \lor distribute over each other: P\land {\mathopen {}\left (Q\lor R\right )\mathclose {}} = {\mathopen {}\left (P\land Q\right )\mathclose {}}\lor {\mathopen {}\left (P\land R\right )\mathclose {}}, and P\lor {\mathopen {}\left (Q\land R\right )\mathclose {}} = {\mathopen {}\left (P\lor Q\right )\mathclose {}}\land {\mathopen {}\left (P\lor R\right )\mathclose {}}.
- \land and \lor absorb each other: {\mathopen {}\left (P\lor {\mathopen {}\left (P\land Q\right )\mathclose {}}\right )\mathclose {}} = P and P\land {\mathopen {}\left (P\lor Q\right )\mathclose {}} = P.
- \land and \lor are idempotent, i.e. P\land P = P and P \lor P = P.
- De Morgan’s laws hold: \lnot \bot = \mathsf {true}, \lnot \top =\bot , \lnot {\mathopen {}\left (P\lor Q\right )\mathclose {}} = \lnot P \land \lnot Q, and \lnot {\mathopen {}\left (P\land Q\right )\mathclose {}} = \lnot P \lor \lnot Q.
- Negation is an involution: \lnot \lnot P = P.
- Complementation laws: P\land \lnot P = \bot and P\lor \lnot P = \top .
A set satisfying this “API” (i.e. equipped with this operations and satisfying these laws) is called a Boolean algebra. We will see that subsets of a fixed set can be equipped with operations like these, so that the powerset \mathcal {P}{\mathopen {}\left (A\right )\mathclose {}} becomes a Boolean algebra.