Boolean algebraIn mathematics and computer science, Boolean algebras, or Boolean lattices, are algebraic structures which "capture the essence" of the logical operations AND, OR and NOT as well as the set theoretic operations union, intersection and complement. They are named after George Boole, an English mathematician, who first defined them as part of a system of logic in the mid 19th century. Specifically, Boolean algebra was an attempt to use algebraic techniques to deal with expressions in the propositional calculus. Today, Boolean algebras find many applications in electronic design. They were first applied to switching by Claude Shannon in the 20th century. The operators of Boolean algebra may be represented in various ways. Often they are simply written as AND, OR and NOT. In describing circuits, NAND (NOT AND), NOR (NOT OR) and XOR (exclusive OR) may also be used. Mathematicians often use + for OR and . for AND (since in some ways those operations are analogous to addition and multiplication in other algebraic structures) and represent NOT by a line drawn above the expression being negated. Here we use another common notation with
Definition and first consequencesA Boolean algebra is a lattice (A,
From these axioms, one can directly show that the smallest element 0, the largest element 1, and the complement ¬a of any element a are uniquely determined. Like any lattice, a Boolean algebra (A,
(which is also equivalent to b = a In fact one can also define a Boolean algebra to be a distributive lattice (A, ≤) (considered as a partially ordered set) with least element 0 and greatest element 1, within which every element x has a complement ¬x such that
Here The algebraic and the order theoretic perspective as usually can be used interchangeably and both are of great use to import results and concepts from both universal algebra and order theory. In many practical examples an ordering relation, conjunction, disjunction, and negation are all naturally available, so that it is straightforward to exploit this relationships. Now one can obtain several other theorems valid in all Boolean algebras. For example, for all elements a and b of a Boolean algebra, one finds that
and that both de Morgan's laws are valid, i.e.
One can also apply general insights from duality in order theory to Boolean algebras. Especially, the order dual of every Boolean algebra, or, equivalently, the algebra obtained by exchanging
also holds true. In general, any law valid for Boolean algebras can be transformed into another valid dual law by exchanging 0 with 1, Examples
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.
then the set A becomes a Boolean algebra with the operations e Homomorphisms and isomorphismsA homomorphism between the Boolean algebras A and B is a function f : A → B such that for all a, b in A:
It then follows that f(¬a) = ¬f(a) for all a in A as well. The class of all Boolean algebras, together with this notion of morphism, forms a category. An isomorphism from A to B is a homomorphism from A to B which is bijective. The inverse of an isomorphism is also an isomorphism, and we call the two Boolean algebras A and B isomorphic. From the standpoint of Boolean algebra theory, they cannot be distinguished; they only differ in the notation of their elements. Boolean rings, ideals and filtersEvery Boolean algebra (A, Conversely, if a Boolean ring A is given, we can turn it into a Boolean algebra by defining x An ideal of the Boolean algebra A is a subset I such that for all x, y in I we have x 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 Representing Boolean algebrasIt 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 closed-open sets in some (compact totally disconnected Hausdorff) topological space. See also
Categories: Boolean algebra | Order theory |
|
This article is licensed under the GNU Free Documentation License. It uses material from Wikipedia article. Browse Wikipedia for more information. |