In
abstract algebra, a Boolean algebra or Boolean lattice is a
complemented distributive lattice. This type of
algebraic structure
In mathematics, an algebraic structure consists of a nonempty set ''A'' (called the underlying set, carrier set or domain), a collection of operations on ''A'' (typically binary operations such as addition and multiplication), and a finite set of ...
captures essential properties of both
set operations and
logic operations. A Boolean algebra can be seen as a generalization of a
power set algebra or a
field of sets, or its elements can be viewed as generalized
truth values. It is also a special case of a
De Morgan algebra and a
Kleene algebra (with involution).
Every Boolean algebra
gives rise to a
Boolean ring, and vice versa, with
ring multiplication corresponding to
conjunction or
meet ∧, and ring addition to
exclusive disjunction
Exclusive or or exclusive disjunction is a logical operation that is true if and only if its arguments differ (one is true, the other is false).
It is symbolized by the prefix operator J and by the infix operators XOR ( or ), EOR, EXOR, , , ...
or
symmetric difference (not
disjunction ∨). However, the theory of Boolean rings has an inherent asymmetry between the two operators, while the axioms and theorems of Boolean algebra express the symmetry of the theory described by the
duality principle.
__TOC__
History
The term "Boolean algebra" honors
George Boole (1815–1864), a self-educated English mathematician. He introduced the
algebraic system initially in a small pamphlet, ''The Mathematical Analysis of Logic'', published in 1847 in response to an ongoing public controversy between
Augustus De Morgan and
William Hamilton, and later as a more substantial book, ''
The Laws of Thought'', published in 1854. Boole's formulation differs from that described above in some important respects. For example, conjunction and disjunction in Boole were not a dual pair of operations. Boolean algebra emerged in the 1860s, in papers written by
William Jevons and
Charles Sanders Peirce. The first systematic presentation of Boolean algebra and
distributive lattices is owed to the 1890 ''Vorlesungen'' of
Ernst Schröder. The first extensive treatment of Boolean algebra in English is
A. N. Whitehead
Alfred North Whitehead (15 February 1861 – 30 December 1947) was an English mathematician and philosopher. He is best known as the defining figure of the philosophical school known as process philosophy, which today has found applicat ...
's 1898 ''Universal Algebra''. Boolean algebra as an axiomatic algebraic structure in the modern axiomatic sense begins with a 1904 paper by
Edward V. Huntington
Edward Vermilye Huntington (April 26, 1874November 25, 1952) was an American mathematician.
Biography
Huntington was awarded the B.A. and the M.A. by Harvard University in 1895 and 1897, respectively. After two years' teaching at Williams College ...
. Boolean algebra came of age as serious mathematics with the work of
Marshall Stone in the 1930s, and with
Garrett Birkhoff's 1940 ''Lattice Theory''. In the 1960s,
Paul Cohen,
Dana Scott, and others found deep new results in
mathematical logic and
axiomatic set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, ...
using offshoots of Boolean algebra, namely
forcing
Forcing may refer to: Mathematics and science
* Forcing (mathematics), a technique for obtaining independence proofs for set theory
*Forcing (recursion theory), a modification of Paul Cohen's original set theoretic technique of forcing to deal with ...
and
Boolean-valued models.
Definition
A Boolean algebra is a six-
tuple consisting of a
set ''A'', equipped with two
binary operation
In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, an internal binary op ...
s ∧ (called "meet" or "and"), ∨ (called "join" or "or"), a
unary operation ¬ (called "complement" or "not") and two elements 0 and 1 in ''A'' (called "bottom" and "top", or "least" and "greatest" element, also denoted by the symbols ⊥ and ⊤, respectively), such that for all elements ''a'', ''b'' and ''c'' of ''A'', the following
axiom
An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or f ...
s hold:
::
Note, however, that the absorption law and even the associativity law can be excluded from the set of axioms as they can be derived from the other axioms (see
Proven properties).
A Boolean algebra with only one element is called a trivial Boolean algebra or a degenerate Boolean algebra. (In older works, some authors required 0 and 1 to be ''distinct'' elements in order to exclude this case.)
It follows from the last three pairs of axioms above (identity, distributivity and complements), or from the absorption axiom, that
::''a'' = ''b'' ∧ ''a'' if and only if ''a'' ∨ ''b'' = ''b''.
The relation ≤ defined by ''a'' ≤ ''b'' if these equivalent conditions hold, is a
partial order with least element 0 and greatest element 1. The meet ''a'' ∧ ''b'' and the join ''a'' ∨ ''b'' of two elements coincide with their
infimum and
supremum
In mathematics, the infimum (abbreviated inf; plural infima) of a subset S of a partially ordered set P is a greatest element in P that is less than or equal to each element of S, if such an element exists. Consequently, the term ''greatest l ...
, respectively, with respect to ≤.
The first four pairs of axioms constitute a definition of a
bounded lattice.
It follows from the first five pairs of axioms that any complement is unique.
The set of axioms is
self-dual
In mathematics, a duality translates concepts, theorems or mathematical structures into other concepts, theorems or structures, in a Injective function, one-to-one fashion, often (but not always) by means of an Involution (mathematics), involutio ...
in the sense that if one exchanges ∨ with ∧ and 0 with 1 in an axiom, the result is again an axiom. Therefore, by applying this operation to a Boolean algebra (or Boolean lattice), one obtains another Boolean algebra with the same elements; it is called its dual.
Examples
* The simplest non-trivial Boolean algebra, the
two-element Boolean algebra, has only two elements, 0 and 1, and is defined by the rules:
:* It has applications in
logic, interpreting 0 as ''false'', 1 as ''true'', ∧ as ''and'', ∨ as ''or'', and ¬ as ''not''. Expressions involving variables and the Boolean operations represent statement forms, and two such expressions can be shown to be equal using the above axioms if and only if the corresponding statement forms are
logically equivalent.
:* The two-element Boolean algebra is also used for circuit design in
electrical engineering
Electrical engineering is an engineering discipline concerned with the study, design, and application of equipment, devices, and systems which use electricity, electronics, and electromagnetism. It emerged as an identifiable occupation in the l ...
; here 0 and 1 represent the two different states of one
bit in a
digital circuit In theoretical computer science, a circuit is a model of computation in which input values proceed through a sequence of gates, each of which computes a function. Circuits of this kind provide a generalization of Boolean circuits and a mathematical ...
, typically high and low
voltage. Circuits are described by expressions containing variables, and two such expressions are equal for all values of the variables if and only if the corresponding circuits have the same input-output behavior. Furthermore, every possible input-output behavior can be modeled by a suitable Boolean expression.
:* The two-element Boolean algebra is also important in the general theory of Boolean algebras, because an equation involving several variables is generally true in all Boolean algebras if and only if it is true in the two-element Boolean algebra (which can be checked by a trivial
brute force
Brute Force or brute force may refer to:
Techniques
* Brute force method or proof by exhaustion, a method of mathematical proof
* Brute-force attack, a cryptanalytic attack
* Brute-force search, a computer problem-solving technique
People
* Brut ...
algorithm for small numbers of variables). This can for example be used to show that the following laws (''
Consensus theorems'') are generally valid in all Boolean algebras:
:** (''a'' ∨ ''b'') ∧ (¬''a'' ∨ ''c'') ∧ (''b'' ∨ ''c'') ≡ (''a'' ∨ ''b'') ∧ (¬''a'' ∨ ''c'')
:** (''a'' ∧ ''b'') ∨ (¬''a'' ∧ ''c'') ∨ (''b'' ∧ ''c'') ≡ (''a'' ∧ ''b'') ∨ (¬''a'' ∧ ''c'')
* The
power set (set of all subsets) of any given nonempty set ''S'' forms a Boolean algebra, an
algebra of sets
In mathematics, the algebra of sets, not to be confused with the mathematical structure of ''an'' algebra of sets, defines the properties and laws of sets, the set-theoretic operations of union, intersection, and complementation and the ...
, with the two operations ∨ := ∪ (union) and ∧ := ∩ (intersection). The smallest element 0 is the
empty set
In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in other ...
and the largest element 1 is the set ''S'' itself.
:* After the two-element Boolean algebra, the simplest Boolean algebra is that defined by the
power set of two atoms:
* The set
of all subsets of
that are either finite or
cofinite is a Boolean algebra and an
algebra of sets
In mathematics, the algebra of sets, not to be confused with the mathematical structure of ''an'' algebra of sets, defines the properties and laws of sets, the set-theoretic operations of union, intersection, and complementation and the ...
called the
finite–cofinite algebra
In mathematics, a cofinite subset of a set X is a subset A whose complement in X is a finite set. In other words, A contains all but finitely many elements of X. If the complement is not finite, but it is countable, then one says the set is coco ...
. If
is infinite then the set of all cofinite subsets of
which is called the
Fréchet filter, is a free
ultrafilter on
However, the Fréchet filter is not an ultrafilter on the power set of
* Starting with the
propositional calculus with κ sentence symbols, form the
Lindenbaum algebra (that is, the set of sentences in the propositional calculus modulo
logical equivalence). This construction yields a Boolean algebra. It is in fact the
free Boolean algebra In mathematics, a free Boolean algebra is a Boolean algebra with a distinguished set of elements, called ''generators'', such that:
#Each element of the Boolean algebra can be expressed as a finite combination of generators, using the Boolean opera ...
on κ generators. A truth assignment in propositional calculus is then a Boolean algebra homomorphism from this algebra to the two-element Boolean algebra.
* Given any
linearly ordered set ''L'' with a least element, the interval algebra is the smallest algebra of subsets of ''L'' containing all of the half-open intervals
'a'', ''b'') such that ''a'' is in ''L'' and ''b'' is either in ''L'' or equal to ∞. Interval algebras are useful in the study of Lindenbaum–Tarski algebras; every countable Boolean algebra is isomorphic to an interval algebra.
* For any natural number ''n'', the set of all positive divisors of ''n'', defining
if ''a'' divides ''b'', forms a
distributive lattice. This lattice is a Boolean algebra if and only if ''n'' is
square-free. The bottom and the top element of this Boolean algebra is the natural number 1 and ''n'', respectively. The complement of ''a'' is given by ''n''/''a''. The meet and the join of ''a'' and ''b'' is given by the
greatest common divisor (gcd) and the
least common multiple (lcm) of ''a'' and ''b'', respectively. The ring addition ''a''+''b'' is given by lcm(''a'',''b'')/gcd(''a'',''b''). The picture shows an example for ''n'' = 30. As a counter-example, considering the non-square-free ''n''=60, the greatest common divisor of 30 and its complement 2 would be 2, while it should be the bottom element 1.
* Other examples of Boolean algebras arise from
topological spaces: if ''X'' is a topological space, then the collection of all subsets of ''X'' which are
both open and closed forms a Boolean algebra with the operations ∨ := ∪ (union) and ∧ := ∩ (intersection).
* If
is an arbitrary ring then its set of ''
central idempotent In ring theory, a branch of abstract algebra, an idempotent element or simply idempotent of a ring is an element ''a'' such that . That is, the element is idempotent under the ring's multiplication. Inductively then, one can also conclude that ...
s'', which is the set
becomes a Boolean algebra when its operations are defined by
and
Homomorphisms and isomorphisms
A ''
homomorphism'' between two Boolean algebras ''A'' and ''B'' is a
function ''f'' : ''A'' → ''B'' such that for all ''a'', ''b'' in ''A'':
: ''f''(''a'' ∨ ''b'') = ''f''(''a'') ∨ ''f''(''b''),
: ''f''(''a'' ∧ ''b'') = ''f''(''a'') ∧ ''f''(''b''),
: ''f''(0) = 0,
: ''f''(1) = 1.
It then follows that ''f''(¬''a'') = ¬''f''(''a'') for all ''a'' in ''A''. The
class of all Boolean algebras, together with this notion of morphism, forms a
full subcategory of the
category of lattices.
An ''isomorphism'' between two Boolean algebras ''A'' and ''B'' is a homomorphism ''f'' : ''A'' → ''B'' with an inverse homomorphism, that is, a homomorphism ''g'' : ''B'' → ''A'' such that the
composition ''g'' ∘ ''f'': ''A'' → ''A'' is the
identity function on ''A'', and the composition ''f'' ∘ ''g'': ''B'' → ''B'' is the identity function on ''B''. A homomorphism of Boolean algebras is an isomorphism if and only if it is
bijective.
Boolean rings
Every Boolean algebra (''A'', ∧, ∨) gives rise to a
ring (''A'', +, ·) by defining ''a'' + ''b'' := (''a'' ∧ ¬''b'') ∨ (''b'' ∧ ¬''a'') = (''a'' ∨ ''b'') ∧ ¬(''a'' ∧ ''b'') (this operation is called
symmetric difference in the case of sets and
XOR
Exclusive or or exclusive disjunction is a logical operation that is true if and only if its arguments differ (one is true, the other is false).
It is symbolized by the prefix operator J and by the infix operators XOR ( or ), EOR, EXOR, , ...
in the case of logic) and ''a'' · ''b'' := ''a'' ∧ ''b''. The zero element of this ring coincides with the 0 of the Boolean algebra; the multiplicative identity element of the ring is the 1 of the Boolean algebra. This ring has the property that ''a'' · ''a'' = ''a'' for all ''a'' in ''A''; rings with this property are called
Boolean rings.
Conversely, if a Boolean ring ''A'' is given, we can turn it into a Boolean algebra by defining ''x'' ∨ ''y'' := ''x'' + ''y'' + (''x'' · ''y'') and ''x'' ∧ ''y'' := ''x'' · ''y''.
Since these two constructions are inverses of each other, we can say that every Boolean ring arises from a Boolean algebra, and vice versa. Furthermore, a map ''f'' : ''A'' → ''B'' is a homomorphism of Boolean algebras if and only if it is a homomorphism of Boolean rings. The
categories of Boolean rings and Boolean algebras are equivalent.
Hsiang (1985) gave a
rule-based algorithm to
check whether two arbitrary expressions denote the same value in every Boolean ring.
More generally, Boudet,
Jouannaud, and Schmidt-Schauß (1989) gave an algorithm to
solve equations between arbitrary Boolean-ring expressions.
Employing the similarity of Boolean rings and Boolean algebras, both algorithms have applications in
automated theorem proving.
Ideals and filters
An ''ideal'' of the Boolean algebra ''A'' is a subset ''I'' such that for all ''x'', ''y'' in ''I'' we have ''x'' ∨ ''y'' in ''I'' and for all ''a'' in ''A'' we have ''a'' ∧ ''x'' in ''I''. This notion of ideal coincides with the notion of
ring ideal in the Boolean ring ''A''. An ideal ''I'' of ''A'' is called ''prime'' if ''I'' ≠ ''A'' and if ''a'' ∧ ''b'' in ''I'' always implies ''a'' in ''I'' or ''b'' in ''I''. Furthermore, for every ''a'' ∈ ''A'' we have that ''a'' ∧ ''-a'' = 0 ∈ ''I'' and then ''a'' ∈ ''I'' or ''-a'' ∈ ''I'' for every ''a'' ∈ ''A'', if ''I'' is prime. An ideal ''I'' of ''A'' is called ''maximal'' if ''I'' ≠ ''A'' and if the only ideal properly containing ''I'' is ''A'' itself. For an ideal ''I'', if ''a'' ∉ ''I'' and ''-a'' ∉ ''I'', then ''I'' ∪ or ''I'' ∪ is properly contained in another ideal ''J''. Hence, that an ''I'' is not maximal and therefore the notions of prime ideal and maximal ideal are equivalent in Boolean algebras. Moreover, these notions coincide with ring theoretic ones of
prime ideal
In algebra, a prime ideal is a subset of a ring that shares many important properties of a prime number in the ring of integers. The prime ideals for the integers are the sets that contain all the multiples of a given prime number, together with ...
and
maximal ideal in the Boolean ring ''A''.
The dual of an ''ideal'' is a ''filter''. A ''filter'' of the Boolean algebra ''A'' is a subset ''p'' such that for all ''x'', ''y'' in ''p'' we have ''x'' ∧ ''y'' in ''p'' and for all ''a'' in ''A'' we have ''a'' ∨ ''x'' in ''p''. The dual of a ''maximal'' (or ''prime'') ''ideal'' in a Boolean algebra is ''
ultrafilter''. Ultrafilters can alternatively be described as
2-valued morphism In mathematics, a 2-valued morphism. is a homomorphism that sends a Boolean algebra ''B'' onto the two-element Boolean algebra 2 = . It is essentially the same thing as an ultrafilter on ''B'', and, in a different way, also the same things as a max ...
s from ''A'' to the two-element Boolean algebra. The statement ''every filter in a Boolean algebra can be extended to an ultrafilter'' is called the ''
Ultrafilter Theorem'' and cannot be proven in
ZF, if
ZF is
consistent. Within ZF, it is strictly weaker than the
axiom of choice.
The Ultrafilter Theorem has many equivalent formulations: ''every Boolean algebra has an ultrafilter'', ''every ideal in a Boolean algebra can be extended to a prime ideal'', etc.
Representations
It can be shown that every ''finite'' Boolean algebra is isomorphic to the Boolean algebra of all subsets of a finite set. Therefore, the number of elements of every finite Boolean algebra is a
power of two.
Stone's celebrated ''
representation theorem for Boolean algebras'' states that ''every'' Boolean algebra ''A'' is isomorphic to the Boolean algebra of all
clopen sets in some (
compact totally disconnected Hausdorff) topological space.
Axiomatics
The first axiomatization of Boolean lattices/algebras in general was given by the English philosopher and mathematician
Alfred North Whitehead
Alfred North Whitehead (15 February 1861 – 30 December 1947) was an English mathematician and philosopher. He is best known as the defining figure of the philosophical school known as process philosophy, which today has found applicat ...
in 1898.
It included the
above axioms and additionally ''x''∨1=1 and ''x''∧0=0.
In 1904, the American mathematician
Edward V. Huntington
Edward Vermilye Huntington (April 26, 1874November 25, 1952) was an American mathematician.
Biography
Huntington was awarded the B.A. and the M.A. by Harvard University in 1895 and 1897, respectively. After two years' teaching at Williams College ...
(1874–1952) gave probably the most parsimonious axiomatization based on ∧, ∨, ¬, even proving the associativity laws (see box).
He also proved that these axioms are
independent of each other.
In 1933, Huntington set out the following elegant axiomatization for Boolean algebra. It requires just one binary operation + and a
unary functional symbol
In mathematics, an unary operation is an operation with only one operand, i.e. a single input. This is in contrast to binary operations, which use two operands. An example is any function , where is a set. The function is a unary operation o ...
''n'', to be read as 'complement', which satisfy the following laws:
# ''Commutativity'': ''x'' + ''y'' = ''y'' + ''x''.
# ''Associativity'': (''x'' + ''y'') + ''z'' = ''x'' + (''y'' + ''z'').
# ''Huntington equation'': ''n''(''n''(''x'') + ''y'') + ''n''(''n''(''x'') + ''n''(''y'')) = ''x''.
Herbert Robbins immediately asked: If the Huntington equation is replaced with its dual, to wit:
:4. ''Robbins Equation'': ''n''(''n''(''x'' + ''y'') + ''n''(''x'' + ''n''(''y''))) = ''x'',
do (1), (2), and (4) form a basis for Boolean algebra? Calling (1), (2), and (4) a ''Robbins algebra'', the question then becomes: Is every Robbins algebra a Boolean algebra? This question (which came to be known as the
Robbins conjecture) remained open for decades, and became a favorite question of
Alfred Tarski and his students. In 1996,
William McCune at
Argonne National Laboratory
Argonne National Laboratory is a science and engineering research United States Department of Energy National Labs, national laboratory operated by University of Chicago, UChicago Argonne LLC for the United States Department of Energy. The facil ...
, building on earlier work by Larry Wos, Steve Winker, and Bob Veroff, answered Robbins's question in the affirmative: Every Robbins algebra is a Boolean algebra. Crucial to McCune's proof was the computer program
EQP he designed. For a simplification of McCune's proof, see Dahn (1998).
Further work has been done for reducing the number of axioms; see
Minimal axioms for Boolean algebra.
Generalizations
Removing the requirement of existence of a unit from the axioms of Boolean algebra yields "generalized Boolean algebras". Formally, a
distributive lattice ''B'' is a generalized Boolean lattice, if it has a smallest element 0 and for any elements ''a'' and ''b'' in ''B'' such that ''a'' ≤ ''b'', there exists an element ''x'' such that a ∧ x = 0 and a ∨ x = b. Defining a ∖ b as the unique ''x'' such that (a ∧ b) ∨ x = a and (a ∧ b) ∧ x = 0, we say that the structure (B,∧,∨,∖,0) is a ''generalized Boolean algebra'', while (B,∨,0) is a ''generalized Boolean
semilattice''. Generalized Boolean lattices are exactly the
ideals
Ideal may refer to:
Philosophy
* Ideal (ethics), values that one actively pursues as goals
* Platonic ideal, a philosophical idea of trueness of form, associated with Plato
Mathematics
* Ideal (ring theory), special subsets of a ring considered ...
of Boolean lattices.
A structure that satisfies all axioms for Boolean algebras except the two distributivity axioms is called an
orthocomplemented lattice. Orthocomplemented lattices arise naturally in
quantum logic as lattices of closed subspaces for separable
Hilbert space
In mathematics, Hilbert spaces (named after David Hilbert) allow generalizing the methods of linear algebra and calculus from (finite-dimensional) Euclidean vector spaces to spaces that may be infinite-dimensional. Hilbert spaces arise natural ...
s.
See also
Notes
References
Works cited
*
*
*.
*
*
*
*.
*
*
General references
*. See Section 2.5.
*
*. See Chapter 2.
*.
*.
*.
*.
*
*
*. In 3 volumes. (Vol.1:, Vol.2:, Vol.3:)
*.
*. Reprinted by
Dover Publications, 1979.
External links
*
*
Stanford Encyclopedia of Philosophy
The ''Stanford Encyclopedia of Philosophy'' (''SEP'') combines an online encyclopedia of philosophy with peer-reviewed publication of original papers in philosophy, freely accessible to Internet users. It is maintained by Stanford University. Eac ...
:
The Mathematics of Boolean Algebra" by J. Donald Monk.
* McCune W., 1997.
Robbins Algebras Are Boolean' JAR 19(3), 263—276
"Boolean Algebra"by
Eric W. Weisstein,
Wolfram Demonstrations Project, 2007.
* Burris, Stanley N.; Sankappanavar, H. P., 1981.
A Course in Universal Algebra.' Springer-Verlag. .
*
{{DEFAULTSORT:Boolean Algebra (Structure)
Algebraic structures
Ockham algebras