Algebraic operations need not be numerical addition and multiplication. Logical and, or and not form a Boolean algebra. A second representation uses arithmetic modulo 2, where addition becomes exclusive-or. Working with logical functions makes the distinction concrete and gives a complete finite model with meaningful atoms and quotients.
The lattice operations are defined here; they are not ordinary real addition and multiplication. For the ring construction and coordinate quotient, first use 2.1: the unital-ring, ideal and quotient conventions. The full two-way construction and finite representation proof below verifies the abstract identities rather than assuming that every Boolean algebra has already been represented by sets.
1 Boolean operations and order
A Boolean algebra has meet , join , complement , and distinguished elements 0 and 1. Meet and join are associative and commutative, satisfy absorption and distribute over each other; 0 and 1 satisfy , , and complements satisfy , .
The order relation means . It is reflexive because the axioms imply idempotence. For example, absorption with gives . Antisymmetry follows from commutativity, and transitivity follows from associativity: if and , then .
Complements are unique. If both complement , distributivity gives and . Hence . De Morgan's laws follow by checking that complements , and using uniqueness; the dual argument gives the other law.
For sets, meet is intersection, join is union, complement is relative set complement, 0 is the empty set and 1 the universe. For propositions modulo logical equivalence, these are conjunction, disjunction, negation, false and true. Logical implication corresponds to the order, not to ordinary numerical inequality between arbitrary expressions.
For the complement check used above, by distribution. Also . Uniqueness of complement therefore gives ; exchanging meet and join proves the dual law.
2 All logical functions on a finite assignment set
Let be the set of all truth assignments to variables. There are assignments. A logical function is any map , with operations applied pointwise. Choosing which assignments receive value 1 identifies it with a subset of , so these functions form a Boolean algebra with elements.
An atom is a minimal nonzero element. Here it is the indicator of exactly one assignment. For variables , the four atoms are
Every logical function is the join of the assignment atoms where it is true. This is the disjunctive normal form. It is unique as a chosen subset of atoms even though its written expression can have many algebraically equivalent forms.
Worked example. Exclusive-or is true exactly on the assignments . Thus
Inclusive-or also includes the atom , so it is a different function. Absorption simplifies to , but no corresponding real-number identity is valid for arbitrary real inputs.
3 Boolean-ring arithmetic
On the same function set, define addition and multiplication pointwise in . Multiplication is meet, while addition is exclusive-or. Since every value is 0 or 1, every function satisfies . Such a commutative unital ring is a Boolean ring.
Here denotes repeated ring addition. Subtracting from the identity (derived in the next paragraph) gives ; distributivity gives . This is arithmetic in the ring, not equality of the ordinary integers 4 and 2.
In any Boolean ring, , because gives . Thus . A nonzero Boolean ring has characteristic 2; the zero ring is the conventional exception if allowed. Join and complement are recovered by
To verify the join formula for logical functions, evaluate the four pairs of truth values. In an abstract Boolean ring, expansions using and verify the same lattice laws. For example , proving absorption, and is symmetric in all three elements, proving associativity of join.
A Boolean ring that is an integral domain contains only 0 and 1: forces or . Thus the only nonzero Boolean field is . The field with four elements is not Boolean, even though its characteristic is also 2. Characteristic 2 alone does not imply idempotence of every element.
4 Finite atoms and a quotient example
In any finite Boolean algebra, every nonzero element has an atom below it by taking a minimal nonzero lower bound. Distinct atoms have meet zero. Every element equals the join of the atoms below it: if their join were strictly below , then would be nonzero and contain an additional atom, contradicting the definition of . Therefore every finite Boolean algebra is a power-set algebra of its atoms, with elements if there are atoms.
Two details explain the atom proof. If distinct atoms had nonzero meet, minimality would force . Also, when and , distributing gives . Consequently forces the nonzero remainder used in the proof.
For a concrete ring quotient, take with coordinatewise operations and ideal . Projection is an onto ring homomorphism with kernel , giving . Forgetting one coordinate removes one atom and reduces the Boolean algebra from eight elements to four. Quotient multiplication is valid because is an ideal, not merely because the underlying set is finite.
Before the full construction, record the two complement identities and the first distributive law in the present notation. Since and , , and . Also , where the last equality uses . Thus these laws are established here independently of any other chapter.
Order, both ring constructions, and the finite representation
The element lies below both factors; any common lower bound satisfies , so it is their greatest lower bound. Absorption makes an upper bound. If both , distributivity gives , proving leastness.
For the Boolean-ring-to-algebra direction, the remaining distributive law and absorption law are explicit identities:
Meet is associative/commutative with identity 1 because ring multiplication is; join is commutative with identity 0 and is associative by the expansion already shown. Also and . Together with the two complement identities and the other distributive law proved above, this verifies every stated Boolean-algebra axiom.
Conversely, in any Boolean algebra define
The first operation is commutative, has identity 0, and . To verify associativity rather than assume it, distribute either or using De Morgan's laws. Both give the join of precisely these four disjoint terms:
The eight terms obtained by choosing each of , each of and each of are pairwise disjoint and have join 1; this follows by distributing . This justifies the expansion without presuming a representation by sets. Distributing gives ; expanding gives the same expression. Thus multiplication distributes over . Meet supplies associative commutative multiplication, identity 1 and idempotence. All ring axioms are now proved. The formulas and recover the original operations.
Finally the finite atom map is an isomorphism, not only a count. For an atom , each is either or . Therefore holds exactly when or , and holds exactly when . This proves preservation of join and complement; meet is immediate. Injectivity follows because every element is the join of its atoms. For any subset of the finite atom set, join exactly those atoms; disjointness shows its atoms are precisely the selected subset, proving surjectivity. If the degenerate algebra is allowed, there are no atoms and this argument gives the one-element power set of the empty set. No assertion that every infinite Boolean algebra is a full power set is being made.
Reconstructing one function in both normal forms
Take implication . Its truth table and its polynomial description over agree as follows:
| 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
Joining the three atoms at which gives
For the ring form write with coefficients in . The rows successively give , , , . Hence . This calculation proves uniqueness for this coefficient representation: the four evaluations determine all four coefficients, and substituting back verifies existence. Join in the atom expression is inclusive-or; the plus signs in the polynomial expression are XOR.
There are four assignments and four atoms for two variables, while choosing a truth value independently at each assignment gives logical functions. Counting variables, assignments, atoms and functions answers four different questions. The reconstruction makes their relationship explicit.
5 Graded practice
E1 Foundation. How many assignments, atoms and logical functions are there for three variables?
E2 Simplification. Simplify . Write XOR in Boolean-ring notation and compare it with join.
E3 Structure. Can a finite Boolean algebra have 12 elements? If it has 32 elements, how many atoms does it have?
E4 Rings. Show is not a Boolean ring, and explain why a field of four elements is not Boolean either.
E5 Quotient. In , project onto coordinates 1 and 4. Find kernel, quotient size and number of atoms in the quotient Boolean algebra.
6 Full solutions
S1. There are assignments and eight assignment atoms. A logical function independently chooses 0 or 1 on each assignment, giving functions. Confusing variables with assignments would incorrectly give only eight functions.
S2. Distributivity gives . XOR is in the Boolean ring, while join is . When both inputs are 1, XOR is 0 and join is 1, so the operations cannot be conflated.
S3. No, because 12 is not a power of 2. A 32-element Boolean algebra has five atoms. Its elements are the subsets of those five atoms.
S4. Modulo 4, , violating idempotence. A Boolean integral domain has at most the two elements 0 and 1, so a four-element field cannot be Boolean. Equivalently, its element with is not idempotent.
S5. The kernel is . The image is , so the quotient has four elements and two atoms. The first isomorphism theorem supplies the quotient identification.
Summary
Boolean algebras organize logical and set operations; their finite structure is controlled by atoms. Logical functions provide a complete concrete model. Boolean-ring addition means exclusive-or, not inclusive-or, and characteristic 2 alone is not sufficient. Ideals and quotient maps connect this logic algebra directly to ring structure.
Further study
The blocks below use the uniqueness of complements, the atom decomposition and finite representation theorem, the Boolean-ring formulas and , and the coordinate quotient of Section 4.
Counterexample mode
Without distributivity, complements need not be unique
Claim: in any lattice with 0 and 1, an element has at most one complement. Take the five-element lattice in which are pairwise incomparable, the meet of any two of them is 0 and the join of any two is 1. Then , and also , , so and are two different complements of . The uniqueness proof of Section 1 computed , and that distributive step fails here: , while . Distributivity is the axiom that makes complements, and hence De Morgan's laws, well determined.
The truth-table builder below compares , and on all four assignments. Its implication column is the function reconstructed in the previous section, and its agreement with in every row is the identity obtained there by joining atoms.
Trace one truth table
Choose a formula and read its column in the full table. Is it true under all four valuations?
| P | Q | P → Q | P ↔ Q | ¬P ∨ Q |
|---|---|---|---|---|
| true | true | true | true | true |
| true | false | false | false | false |
| false | true | true | false | true |
| false | false | true | true | true |
Shaded column: P → Q. Boxed, underlined entries are the valuations that make it false.
- True under
- 3 / 4
- Counterexamples
- (P, Q) = (T, F)
- Same column as
- ¬P ∨ Q
Does not hold: P → Q is a tautology
Counterexample: (P, Q) = (T, F) makes P → Q false. It is true under the other 3, so it is not always false either.
NoticeNot a tautology does not mean always false: one F in the column is enough to fail, and the T entries still stand.
Worked example 3.1.1
(Three normal forms of the majority function)
Let exactly when at least two of the three inputs are 1. It is true on the four assignments , so its atom expansion is the join of four of the eight atoms:
Grouping gives the shorter lattice form . In the Boolean ring, . To check, evaluate: with exactly two inputs equal to 1, exactly one product is 1, giving 1; with all three, the sum is ; with at most one input equal to 1, every product is 0. Here the ring sum of the three products equals their join because the number of products equal to 1 is always 0, 1 or 3, never 2; in general a join of terms is not their ring sum.
Worked example 3.1.2
(Every finitely generated ideal of a Boolean ring is principal)
Let be a Boolean ring and . Put . Then
using , and . So , and by its formula. Hence , and by induction every ideal with finitely many generators is principal.
In take and . Then and , the kernel of the projection onto the third coordinate. As in Section 4, the quotient is : a Boolean algebra with one atom.
Worked example 3.1.3
(The divisors of 30 as a Boolean algebra)
On the divisors of 30, let meet be , join be , the bottom element be 1, the top element be 30 and the complement of be . Since 30 is a product of distinct primes, and for every divisor, so the complement laws hold; the other axioms hold because and take minima and maxima of prime exponents. The order means , that is .
The atoms are the minimal elements above 1, namely . Every divisor is the join of the atoms below it, for example , and is the isomorphism with the power set of given by the finite representation theorem; there are elements. By contrast, the six divisors of 12 cannot form a Boolean algebra, because 6 is not a power of 2. Concretely, 2 has no complement: an odd divisor of 12 is 1 or 3, and is then 2 or 6, never 12.
Quick check
(Write the three-variable function as a Boolean-ring polynomial.)
Use and De Morgan's law for the complement of a join.
Solution · Answer
By De Morgan, . Hence , since the two constants 1 cancel. Check at : the sum has seven terms equal to 1, and in characteristic 2.
Quick check
(In the Boolean algebra of divisors of 70, list the atoms and find the complement of 10.)
Factor 70 and imitate the divisors of 30.
Solution · Answer
, a product of distinct primes, so the atoms are and there are divisors. The complement of 10 is : and . In the power-set picture, has complement .
Quick check
(In a Boolean ring, is equal to ?)
Expand both sides in ring notation, then test one assignment of truth values.
Solution · Answer
No. Expanding gives , while . At the first is and the second is . The identity that does hold is , proved in the construction section; the plus sign is exclusive-or, not join.