Boolean Algebra and Lattices - Core Definitions
Boolean algebra provides the mathematical foundation for digital logic and computer hardware, formalizing the operations on binary values. Lattices generalize this structure to partially ordered sets.
A Boolean algebra is a set with two binary operations (AND) and (OR), one unary operation (NOT), and two distinguished elements (false) and (true), satisfying:
Idempotent laws: ,
Commutative laws: ,
Associative laws: ,
Absorption laws: ,
Distributive laws: ,
Complement laws: ,
Identity laws: ,
The most familiar Boolean algebra is with standard logic operations. The power set with set operations also forms a Boolean algebra.
A Boolean function maps binary inputs to one binary output. There are Boolean functions of variables.
For , there are 16 functions including AND, OR, XOR, NAND, NOR. These can be expressed using truth tables listing outputs for all input combinations.
A lattice is a partially ordered set where every pair of elements has:
- A least upper bound (join):
- A greatest lower bound (meet):
A lattice is bounded if it has a least element and greatest element .
A lattice is distributive if for all .
A complemented lattice has complements: for each , there exists with and .
A Boolean algebra is exactly a bounded, distributive, complemented lattice. This connection links logic, set theory, and order theory.
Boolean algebra was developed by George Boole in the 1850s to formalize logical reasoning. Claude Shannon's 1938 master's thesis showed Boolean algebra could analyze and design switching circuits, founding digital circuit design. Today, Boolean algebra underpins all digital computers, with logic gates (AND, OR, NOT, NAND, NOR, XOR) implementing Boolean operations in hardware. The miniaturization enabling modern computing stems from efficient implementations of Boolean circuits.
These foundational structures connect abstract algebra with practical computation, making Boolean algebra essential for both theoretical computer science and engineering.