First of all, note that we're only reading 7.1 through p. 473 (up to Isomorphic Boolean Algebras).
A Boolean algebra (named after George Boole) is an abstraction of the propositional logic we studied early this term (and the set theory which we didn't!). We are really interested in using it to understand the basic elements of computer logic, however. In this first section we are merely introduced to the fundamental concepts of Boolean Algebra.
Definition: a Boolean Algebra is a set B on which are defined two binary operations + and , and one unary operation ', and in which there are two distinct elements 0 and 1 such that the following properties hold for all :
The element x' is called the complement of x. The algebra may be denoted .
Of these properties, certainly the distributive property 3a. may seem the strangest, since it obviously doesn't hold for the usual suspects + and .
Notice the beautiful symmetry in this definition: the roles of + and are exactly reversed with respect to the special elements 0 and 1.
Question: how are these reflected in the properties of propositional logic that we studied earlier this term?
In Example 2, p. 470, the set consisting of only two elements (so they must be our distinguished elements), and the binary operations of + by x+y=max(x,y) and that of by . Complements are given by 0'=1 and 1'=0. It turns out that this is another example of a Boolean Algebra.
Practice 1, p. 471.
Curiously enough, x+x=x in a Boolean Algebra (this is the idempotent property. You'll want to remember that one, for proofs! And since x+x=x, we must have by the beautiful symmetry of the operations. This idea, known as duality, means that we only have to do half the work most of the time....
You may have bumped into this concept in linear algebra: for example, projection matrices are idempotent, such as
This matrix projects onto the first, third, and fourth dimensions; and projecting onto those dimensions a second time doesn't change anything (i.e., ).
Practice 2, p. 472.
Practice 3, p. 472.
Given an element x of the set B of a Boolean Algebra, the complement x' is the unique element of B with the property that
Exercise: A proof is given in the text for x+x'=1: we could simply claim that is true by duality, but let's prove it directly by replacing b's with a's, etc.!
Hints for proving Boolean Algebra Equalities:
Exercise 7, p. 481
Exercise 10a, p. 481