TOPICS
Search

Boolean Algebra


A Boolean algebra is a bounded lattice that is distributive and in which every element has a complement. Its meet and join operations correspond to intersection and union in a set representation. A Boolean algebra of sets is a family of subsets of a fixed universal set U, containing emptyset and U and closed under finite union, intersection, and complementation relative to U. Its partial order is given by X<=Y iff X subset= Y in this model. The corresponding Boolean ring uses symmetric difference for addition and intersection for multiplication.

For a finite family A={A_1,...,A_p} of subsets of U, the generated Boolean algebra b(A) consists of the unions of the nonempty complete products of the generators and their complements (Comtet 1974, p. 185). These nonempty complete products are its atoms. If there are m such products, then b(A) has 2^m elements, with m<=2^p. It has 2^(2^p) elements precisely when all 2^p complete products are nonempty.

More generally, a finite Boolean algebra with m atoms has 2^m elements. In contrast, the algebra of all Boolean functions of n independent Boolean variables has 2^(2^n) elements, because its 2^n input assignments can be assigned output values independently (Comtet 1974, p. 186).

Shannon (1938) proved that a two-valued Boolean algebra (whose members are most commonly denoted 0 and 1, or false and true) can describe the operation of two-valued electrical switching circuits. In modern times, Boolean algebra and Boolean functions are therefore indispensable in the design of computer chips and integrated circuits.

BooleanAlgebras

Boolean algebras have a recursive structure apparent in the Hasse diagrams illustrated above for Boolean algebras with n=2, 3, 4, and 5 atoms. Each half is a Boolean algebra with n-1 atoms (Skiena 1990, pp. 169-170). The Hasse diagram for a finite Boolean algebra with n atoms has 2^n vertices, and for n>=1 its underlying graph is isomorphic to the n-hypercube graph.

A Boolean algebra can be formally defined as a set B of elements a, b, ... with the following properties:

1. B has two binary operations,  ^ (logical AND, or "wedge") and  v (logical OR, or "vee"), which satisfy the idempotent laws

 a ^ a=a v a=a,
(1)

the commutative laws

a ^ b=b ^ a
(2)
a v b=b v a,
(3)

and the associative laws

a ^ (b ^ c)=(a ^ b) ^ c
(4)
a v (b v c)=(a v b) v c.
(5)

2. The operations satisfy the absorption law

 a ^ (a v b)=a v (a ^ b)=a.
(6)

3. The operations are mutually distributive

a ^ (b v c)=(a ^ b) v (a ^ c)
(7)
a v (b ^ c)=(a v b) ^ (a v c).
(8)

4. B contains a least element emptyset and a greatest element I, represented by the empty set and universal set in a set model, which satisfy

emptyset ^ a=emptyset
(9)
emptyset v a=a
(10)
I ^ a=a
(11)
I v a=I.
(12)

5. B has a unary operation a->a^' of complementation, which obeys the laws

a ^ a^'=emptyset
(13)
a v a^'=I
(14)

(Birkhoff and Mac Lane 1996). This equational definition permits emptyset=I, giving the one-element Boolean algebra.

In the slightly archaic terminology of Bell (1986, p. 444), a nontrivial Boolean algebra can be defined as a set B of elements a, b, ... with binary operators  v (or +; logical OR) and  ^ (or ·; logical AND) such that

1a. If a and b are in the set B, then a v b is in the set B.

1b. If a and b are in the set B, then a ^ b is in the set B.

2a. There is an element Z (zero) such that a v Z=a for every element a.

2b. There is an element U (unity) such that a ^ U=a for every element a.

3a. a v b=b v a.

3b. a ^ b=b ^ a.

4a. a v b ^ c=(a v b) ^ (a v c).

4b. a ^ (b v c)=(a ^ b) v (a ^ c).

5. For every element a there is an element a^' such that a v a^'=U and a ^ a^'=Z.

6. There are at least two distinct elements in the set B.

Huntington (1933ab) presented the following basis for Boolean algebra:

1. Commutativity: x v y=y v x.

2. Associativity: (x v y) v z=x v (y v z).

3. Huntington axiom: !(!x v y) v !(!x v !y)=x.

H. Robbins then conjectured that the Huntington axiom could be replaced with the simpler Robbins axiom,

 !(!(x v y) v !(x v !y))=x.
(15)

The algebra defined by commutativity, associativity, and the Robbins axiom is called Robbins algebra. Computer theorem proving demonstrated that every Robbins algebra satisfies the second Winker condition, from which it follows immediately that all Robbins algebras are Boolean (Kolata 1996, McCune 1997).


See also

Atom, Boolean Function, Boolean Variable, Booleans, Huntington Axiom, Hypercube Graph, Maximal Ideal Theorem, Robbins Algebra, Robbins Axiom, Winker Conditions, Wolfram Axiom Explore this topic in the MathWorld classroom

Explore with Wolfram|Alpha

References

Bell, E. T. Men of Mathematics. New York: Simon and Schuster, 1986.Birkhoff, G. and Mac Lane, S. A Survey of Modern Algebra, 5th ed. New York: Macmillian, p. 317, 1996.Comtet, L. "Boolean Algebra Generated by a System of Subsets." §4.4 in Advanced Combinatorics: The Art of Finite and Infinite Expansions, rev. enl. ed. Dordrecht, Netherlands: Reidel, pp. 185-189, 1974.Halmos, P. Lectures on Boolean Algebras. Princeton, NJ: Van Nostrand, 1963.Huntington, E. V. "New Sets of Independent Postulates for the Algebra of Logic." Trans. Amer. Math. Soc. 35, 274-304, 1933a.Huntington, E. V. "Boolean Algebras: A Correction." Trans. Amer. Math. Soc. 35, 557-558, 1933b.Kolata, G. "Computer Math Proof Shows Reasoning Power." New York Times, Dec. 10, 1996.McCune, W. "Robbins Algebras Are Boolean." https://www.cs.unm.edu/~mccune/papers/robbins/.McCune, W. "Solution of the Robbins Problem." J. Automat. Reason. 19, 263-276, 1997.Mendelson, E. Introduction to Boolean Algebra and Switching Circuits. New York: McGraw-Hill, 1973.Shannon, C. E. "A Symbolic Analysis of Relay and Switching Circuits." Trans. Amer. Inst. Electr. Eng. 57, 713-723, 1938. https://doi.org/10.1109/T-AIEE.1938.5057767.Sikorski, R. Boolean Algebra, 3rd ed. New York: Springer-Verlag, 1969.Skiena, S. Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica. Reading, MA: Addison-Wesley, 1990. Wells, C. F. "Boolean Expression Manipulation." https://library.wolfram.com/infocenter/MathSource/4187/.Whitesitt, J. E. Boolean Algebra and Its Applications. New York: Dover, 1995.Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, p. 1168, 2002.

Referenced on Wolfram|Alpha

Boolean Algebra

Cite this as:

Weisstein, Eric W. "Boolean Algebra." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BooleanAlgebra.html

Subject classifications