Primary text, Chapters II–III, on the meaning and laws of class symbols, including . Its operations and restrictions should be distinguished from a modern Boolean algebra.
Boolean operation Created 2026-09-24 Updated 2026-10-14
A Boolean operation is a Boolean function taking truth values encoded as bits: means false and means true. These operations supply the concrete two-valued interpretation of a Boolean algebra. A Boolean valuation fixes the inputs; a truth table lists every possible input. With two input bits there are four rows.
The basic logical connectives are logical conjunction (AND, , both true), logical disjunction (OR, , at least one true), exclusive or (XOR, , exactly one true), and logical negation (NOT, , the opposite value). OR is inclusive: it accepts the case where both inputs are true.[ref]
For an original program-condition example, let mean “the backup is recent” and mean “the backup is verified”. A rule requiring a recent, verified backup uses logical conjunction; one accepting either qualification uses logical disjunction. A rule flagging a mismatch between the two qualifications uses exclusive or. A recent, verified backup gives : AND and OR accept it, while XOR does not flag it. The last row of the truth table makes this difference explicit.
The same small Boolean operations build larger tests and Boolean circuits. In a programming language, the value of a condition and the procedure for evaluating it both matter. For Boolean operands, Python's and, or, and not implement these logical connectives. Evaluation proceeds from the left; and skips its right operand if the left is false, and or skips it if the left is true. More generally, and and or return an operand, whereas not returns a Boolean.[ref]
For example, the Python condition denominator != 0 and numerator / denominator > 2 avoids division by zero because the logical conjunction's second test is evaluated only when the first succeeds. Reversing the tests preserves the abstract truth table for defined operands but can raise a division-by-zero error handled through exception handling. A rewrite involving a side effect must also preserve the needed evaluation behavior.
Every proper lattice ideal of a Boolean algebra extends to a prime lattice ideal. More generally, an ideal disjoint from a lattice filter extends to a prime ideal still disjoint from that filter. This Boolean case of the Stone prime filter theorem is equivalent to the ultrafilter lemma over Zermelo–Fraenkel set theory and is weaker than the axiom of choice.
A Boolean algebra homomorphism is equivalent to a function assigning to every an ultrafilter on : test membership of in every image subset. This gives a left adjoint valued in the opposite category of sets. Its unit sends an algebra element to the set of ultrafilters containing . On an infinite power-set algebra this map is not surjective, because the subset consisting of the principal ultrafilters cannot arise this way in the presence of a nonprincipal ultrafilter.
The lattice ideals of a Boolean algebra form a frame under inclusion. Meets are intersections and joins are ideals generated by unions. A complemented ideal is principal: if and , choose with ; then and . This ideal frame defines an extremally disconnected locale exactly when is complete.
Lindenbaum algebra 2026-10-14
Identify classical propositional formulae when their equivalence is provable from a fixed theory. Their equivalence classes form the Lindenbaum algebra: meet and join are induced by conjunction and disjunction, complementation by negation, and the order by provable implication. Provable equivalence is preserved by each connective, so these operations are well-defined; the familiar classical propositional identities make this a Boolean algebra. A homomorphism of lattices to preserving zero and one also preserves complements and therefore specifies a truth valuation of the atomic propositions. All axioms of the fixed theory represent one. Separating the class of an unprovable formula from one consequently gives a countervaluation, proving the completeness theorem for propositional logic.
Between 1600 and 1900, algebra broadened from arts of working with unknown quantities and solving equations into the study of several systems of symbolic operations and increasingly general algebraic structures. This was neither a single change of definition nor a clean replacement of one subject by another. Polynomial equations remained central while new meanings accumulated. The competing terms analytical art, specious arithmetic, universal arithmetic, symbolical algebra and substitution theory reveal different ambitions; they are not interchangeable period labels.
Near 1600, François Viète's In artem analyticem isagoge by François Viète (1591) supplies a particularly revealing starting point. His analytical art uses letters for known quantities as well as unknown ones. In his terminology, logistica numerosa concerns numerical calculation and logistica speciosa calculation with species, or general magnitudes. Vowels represent unknowns and consonants known magnitudes. This allows a single relation to represent many particular problems, but it is still tied to geometrical homogeneity: a square and a length do not simply become quantities of the same kind because they are written with letters.[ref][ref]
For example, a relation we write as has quantities of compatible dimensions if and are lengths and is an area. Letters do more than abbreviate a numerical question: they express relations between whole families of magnitudes. The phrase specious arithmetic therefore indicates arithmetic carried out on species; analysis stresses the art of reasoning from an assumed unknown towards its determination. Neither term should be reduced to the modern subject real analysis.
René Descartes's La Géométrie by René Descartes (1637) demonstrates another relation between algebra and geometry. A chosen unit segment lets multiplication, division and extraction of square roots be represented by constructions of lengths. The product of two measured lengths can itself be represented by a length relative to that unit. In modern dimensional notation the construction gives for unit length , removing the obstacle that a product must always be treated as an area. The text's equations can then organise geometrical problems and classify curves by their algebraic complexity. Its title remains geometry: algebra serves a geometrical programme rather than announcing a present-day department of abstract algebra.[ref]
A further term, universal arithmetic, stresses the extension of calculation from particular numbers to general quantities. Isaac Newton's Arithmetica universalis by Isaac Newton, issued in 1707, makes the term visible in a title whose subtitle concerns composition and resolution. A title is evidence for the vocabulary, not a sufficient definition of all contemporary usage.[ref] In Leonhard Euler's Elements of Algebra by Leonhard Euler, published in German in 1770, general numerical calculation and the solution of equations remain a substantial conception of the subject. For instance, allowing negative and complex roots changes the admissible answers to polynomial equations while preserving the central question of determining an unknown.[ref]
The eighteenth-century elimination theory exemplified by Alexandre-Théophile Vandermonde's memoir broadens the scale of the task. Instead of one numerical quadratic equation, one seeks a rule for an arbitrary number of simultaneous linear equations. The determinant is initially valuable because it effects that elimination. This is a different generality from the later study of a group: the objects being determined are still unknown quantities, and symbolic generality concerns the number and coefficients of the equations. The case cautions against using generality alone as a test for whether algebra has become abstract.[ref]
In nineteenth-century British discussion, George Peacock's A Treatise on Algebra by George Peacock (1830) distinguishes arithmetical algebra from symbolical algebra. If the symbols mean positive numbers, has no positive-number result. Yet algebraists manipulate this expression without restriction. George Peacock therefore seeks principles for the manipulation of signs which are not confined by their original arithmetical interpretation. The contrast is explicitly argued in his preface: arithmetic suggests the laws, while the symbolic science requires foundations adequate to its more general conclusions.[ref]
The familiar extension illustrates the stakes. From distributivity, , so the rule is forced if these operations obey the assumed laws. This explains how a law can survive a change in interpretation. It does not establish that every familiar law must survive every extension: once the allowable systems themselves change, an argument must state which laws it assumes. The name symbolical algebra consequently carries a stronger methodological claim than simply writing an unknown as .
William Rowan Hamilton's work on quaternions supplies a decisive example of that change. His publications of the 1840s describe a new system of imaginaries in algebra. With quaternion units,
Thus multiplication need not satisfy the commutativity even when it remains associative and supports division by nonzero elements. The new system is not merely a further list of roots of old polynomial equations. It has its own operations, interpretation and laws. William Rowan Hamilton's title makes explicit that a plurality of calculi can belong within algebra.[ref]
George Boole's An Investigation of the Laws of Thought by George Boole (1854) offers a different interpretation of symbols. If represents selection of a class, repeating that selection gives ; multiplication can represent intersection and a complementary class. His logical calculus borrows from numerical algebra but also restricts interpretation: his sum of classes is not automatically unrestricted set union, and intermediate symbolic expressions need not name classes directly. It would therefore be inaccurate to identify all of his rules with a modern Boolean algebra. The example nevertheless shows why algebraic reasoning could extend beyond magnitudes.[ref]
The shift can also take a concrete linear form. Arthur Cayley's A Memoir on the Theory of Matrices by Arthur Cayley (1858) treats matrices with operations of their own. The identity matrix is no longer the scalar , though it plays an analogous role; matrix multiplication is generally noncommutative. For example,
produce and . This is a checkable reason why universal arithmetic can no longer mean that every rule of ordinary numbers applies unchanged.[ref]
Meanwhile, substitution theory studies permutations and their compositions, originally in close relation to polynomial equations. Évariste Galois's work connects the solvability by radicals of an equation with its associated group. Augustin-Louis Cauchy's work on substitutions and Heinrich Weber's 1882 definition illustrate successive forms of generalisation: from particular permutations towards arbitrary elements satisfying operational conditions. This is not a claim that one man supplied the complete modern hierarchy of groups, rings and fields at once. It identifies the change in the question: one can now investigate what follows from the laws of an operation, independently of whether the elements are numbers, substitutions or classes.[ref]
By 1900, algebra could concern the laws and structures of several calculi. Earlier meanings persisted in teaching and in the theory of equations. The strongest account of the change therefore combines continuity with enlargement: letters for general quantities, symbolic operations with explicit laws, nonnumerical interpretations, and structural questions about those laws. Analytical art foregrounded a method of discovery, universal arithmetic foregrounded general calculation, symbolical algebra foregrounded formal operations, and substitution theory foregrounded a particular class of transformations. Their differing uses help explain the expansion more precisely than a single date for the birth of abstraction.
Allow clean workspace bits, as in standard reversible computation. Boolean algebra expresses any Boolean function as XORs of ANDs and constants. A Toffoli gate maps to , so an initially zero target computes an AND without erasing the inputs. A CNOT gate accumulates XORs, and a NOT gate supplies complemented bits or constants. Intermediate products can be computed into workspace, XORed into an output, and then uncomputed by reversing the workspace computation. This realizes the reversible embedding for any Boolean function and, with reversible clean-up, universal reversible classical computation.
The Fredkin transformation has control and targets . A network of three gates, shown in i, is
where the sequence is executed left to right. After the first gate ; after the second ; and the last gives . If , ; if , . Thus the circuit is exactly a Fredkin gate.
The workspace qualification matters for the unrestricted universality claim. On four or more wires, every embedded NOT, CNOT and Toffoli gate is an even permutation of all computational states. Without ancillary wires they cannot implement, for example, a permutation swapping just and while fixing the other four-bit strings. Clean ancillas remove this obstruction on the designated input subspace.
For a Boolean algebra , write for its principal lattice ideal. The ideal frame of a Boolean algebra has intersections as meets and ideals generated by unions as joins. The pseudocomplement of an ideal is
In particular , so every principal ideal is complemented and regular.
If is complete, put . Then and . Thus all regular ideals are principal and complemented, so the corresponding locale is extremally disconnected.
Conversely, if the ideal frame of a Boolean algebra is extremally disconnected, each is complemented. Any complemented ideal is principal: if and , the fact that their generated join contains supplies with . Then , so ; every is disjoint from and therefore . Thus . Write . Since , bounds . If is another upper bound, implies , so . An arbitrary subset has the same upper bounds as the lattice ideal it generates, so every subset of has a supremum. Hence
Now put and . This is a complete Boolean algebra, with arbitrary Boolean joins , so the preceding result makes extremally disconnected. We construct its map to using the permitted Joyal extension lemma.
The map , , is a frame homomorphism, with right adjoint . Thus is a nucleus on a frame whose fixed frame is . It preserves finite joins: both and equal , and . Consequently the locale with frame is a flat sublocale of . It is also the Booleanization of a locale , so it has its inclusion map to .
The Joyal extension lemma says that a map from a flat sublocale to a compact locale that is a regular locale extends uniquely to the ambient locale. Apply it to this inclusion. Its frame formula gives
where is the well-inside relation . This also proves directly that the map is surjective. Indeed implies : meet with . Every member of the ideal is therefore at most in , since a finite Boolean join of its generators is below ; the last inequality follows because . Regularity gives
Thus can be recovered from , so is injective. A locale map with injective inverse-image frame homomorphism is a surjection. We have obtained an extremally disconnected and a surjection .
For a Boolean algebra , let be its set of ultrafilters, equivalently the Boolean homomorphisms . Regard as an object of . A homomorphism acts by inverse image of ultrafilters, a set map , hence an arrow in the opposite category.
A Boolean homomorphism gives the function
Conversely, a function gives . The ultrafilter laws are exactly what makes this map preserve the Boolean operations, including complements and . These constructions are inverse and natural, proving the Boolean ultrafilter-power-set adjunction
Its unit is .
Take , an object in the image of the right adjoint. There is a nonprincipal ultrafilter on , by extending the cofinite filter in the usual choice setting. The subset consisting of all principal ultrafilters is not for any : containing the principal ultrafilter at every integer forces , but also contains the nonprincipal ultrafilters. Thus is not surjective and is not an isomorphism. By the necessary condition proved in the root solution, this adjunction is not idempotent.
We prove the Ehrenfeucht-Mostowski theorem by ultraproducts, with no application of Ramsey theorem. Expand the infinite structure by Skolem functions, choose distinct elements , and choose a nonprincipal ultrafilter on . Let be the desired total index order and put .
For every finite ordered subset , define an ultrafilter on by the ordered Fubini product of ultrafilters: a set belongs to exactly when
Here means , with the quantifiers nested in the displayed order. The resulting collection is an ultrafilter, by induction using the ultrafilter laws for negation and conjunction. For , the inverse image of under coordinate projection belongs to exactly when : quantifiers on unused coordinates leave a truth value unchanged.
Consequently there is a well-defined ultrafilter on the Boolean algebra of finite-coordinate cylinders in , declaring a cylinder large by this test. Coherence proves finite intersection closure and ensures that the empty cylinder is not large. Extend its generated filter to an ultrafilter on all subsets of . Form the ultrapower , and for let be the class of .
If , the coordinate equality test belongs to no corresponding two-coordinate product ultrafilter: for every value of the outer coordinate, the inner equality set is a singleton, excluded by nonprincipality. Hence the are distinct. For any first-order formula and any , the Łoś theorem gives
The right side is independent of the actual increasing index tuple, so the form an order-indiscernible sequence. Constant functions embed elementarily into . Take the Skolem hull of the generators. The Tarski-Vaught test gives an elementary substructure, and transporting terms along an index-order automorphism gives a well-defined automorphism of the hull, with inverse obtained by transporting along the inverse index automorphism. Equality of term representations is preserved by indiscernibility. This is the indiscernible and automorphism conclusion of Ehrenfeucht–Mostowski, obtained entirely from ultrafilters and Łoś's theorem. The ordered Fubini products need not be symmetric; order indiscernibility is exactly what their coherence supplies.
A local operator is an inflationary, idempotent, finite-meet-preserving map with , expressed in the internal logic of a topos. For a subterminal object with truth value , the closed local operator and quasi-closed local operator are respectively
The first is a local operator by distributivity. For the second put . Then , is order-reversing, and : the first inequality gives , while its application to gives the reverse inequality. Thus is inflationary and idempotent, and .
For meet preservation, monotonicity gives . Conversely put . From and , we obtain . Intersecting with gives , hence . This proves all local-operator axioms. Also and . Equivalently, it is the largest local operator leaving fixed: if , then
This explains the quasi-closed terminology as relative double negation above the closed bottom .
The subobject classifier of is the closed-subobject classifier . Its bottom is , its meet is inherited, its join is , and implication between closed truth values is the ambient implication. To verify the last claim, if , then
It follows that ; inflationarity gives equality and also .
Suppose . Every closed lies above , and its complement in is , also closed because . We have . Moreover , so . Thus the fixed truth values form a Boolean algebra, and the sheaf topos is a Boolean topos.
Conversely suppose the sheaf topos is Boolean and put . Complementation in its classifier is . Applying the double-complement identity to , and using the implication calculation above, gives
Therefore
For the cover, work in the slice category . Its generic subterminal object is . Form its quasi-closed Boolean subtopos , and compose its embedding with the slice projection to obtain . The slice projection has inverse image , and sheafification is left exact, so this is a geometric morphism.
To prove surjectivity, take a monomorphism with characteristic predicate , and suppose makes it invertible. Pullback to the slice followed by sheafification makes this exactly the assertion that it is -dense. Internally on , therefore,
for the generic truth value . Substitute by pulling back along the graph . The left side becomes , so and the original mono is invertible. Thus reflects invertible monos. If it identifies two parallel arrows, their equalizer becomes invertible; reflection then shows the arrows were already equal. Hence is faithful, and
The generic truth value is essential: substituting only a fixed global value such as would give a Boolean subtopos, but need not give a surjection onto the original topos.