encyclopegia.org

Two-element Boolean algebra

In mathematics and abstract algebra, the two-element Boolean algebra is the Boolean algebra whose underlying set (or universe or carrier) B is the Boolean domain.[src] The elements of the Boolean domain are 1 and 0 by convention, so that B = {0, 1}.[src] Paul Halmos's name for this algebra "2" has some following in the literature, and will be employed here.[src]

In mathematics and abstract algebra, the two-element Boolean algebra is the Boolean algebra whose underlying set (or universe or carrier) B is the Boolean domain.[src] The elements of the Boolean domain are 1 and 0 by convention, so that B = {0, 1}.[src] Paul Halmos's name for this algebra "2" has some following in the literature, and will be employed here.[src] ==Definition== B is a partially ordered set and the elements of B are also its bounds.[src] An operation of arity n is a mapping from B n to B.[src] Boolean algebra consists of two binary operations and unary complementation.[src] The binary operations have been named and notated in various ways.[src] Here they are called 'sum' and 'product', and notated by infix '+' and '∙', respectively.[src] Sum and product commute and associate, as in the usual algebra of real numbers.[src] As for the order of operations, brackets are decisive if present.[src] Otherwise '∙' precedes '+'.[src] Hence is parsed as and not as .[src] Complementation is denoted by writing an overbar over its argument.[src] The numerical analog of the complement of is .[src] In the language of universal algebra, a Boolean algebra is a \langle B,+, ∙ ,\overline{..},1,0\rangle algebra of type \langle 2,2,1,0,0\rangle .[src] Either one-to-one correspondence between {0,1} and {True,False} yields classical bivalent logic in equational form, with complementation read as NOT.[src] If 1 is read as True, '+' is read as OR, and '∙' as AND, and vice versa if 1 is read as False.[src] These two operations define a commutative semiring, known as the Boolean semiring.[src] ==Some basic identities== 2 can be seen as grounded in the following trivial "Boolean" arithmetic: \begin{align} &1 + 1 = 1 + 0 = 0 + 1 = 1 \\ &0 + 0 = 0 \\ &0\cdot0 = 0\cdot1 = 1\cdot0 = 0 \\ &1\cdot1 = 1 \\ &\overline{1} = 0 \\ &\overline{0} = 1 \end{align} Note that: '+' and '∙' work exactly as in numerical arithmetic, except that 1+1=1.[src] '+' and '∙' are derived by analogy from numerical arithmetic; simply set any nonzero number to 1.[src] Swapping 0 and 1, and '+' and '∙' preserves truth; this is the essence of the duality pervading all Boolean algebras.[src] This Boolean arithmetic suffices to verify any equation of 2, including the axioms, by examining every possible assignment of 0s and 1s to each variable (see decision procedure).[src] The following equations may now be verified: \begin{align} &A + A = A \\ &A \cdot A = A \\ &A + 0 = A \\ &A + 1 = 1 \\ &A \cdot 0 = 0 \\ &\overline{\overline{A}} = A \end{align} Each of '+' and '∙' distributes over the other: \ A \cdot (B+C) = A \cdot B + A \cdot C; \ A+(B \cdot C) = (A+B) \cdot (A+C).[src] That '∙' distributes over '+' agrees with elementary algebra, but not '+' over '∙'.[src] For this and other reasons, a sum of products (leading to a NAND synthesis) is more commonly employed than a product of sums (leading to a NOR synthesis).[src] Each of '+' and '∙' can be defined in terms of the other and complementation: A \cdot B=\overline{\overline{A}+\overline{B}} A+B=\overline{\overline{A} \cdot \overline{B}}.[src] We only need one binary operation, and concatenation suffices to denote it.[src] Hence concatenation and overbar suffice to notate 2.[src] This notation is also that of Quine's Boolean term schemata.[src] Letting (X) denote the complement of X and "()" denote either 0 or 1 yields the syntax of the primary algebra of G.[src] Spencer-Brown's Laws of Form.[src] A basis for 2 is a set of equations, called axioms, from which all of the above equations (and more) can be derived.[src] There are many known bases for all Boolean algebras and hence for 2.[src] An elegant basis notated using only concatenation and overbar is: \ ABC = BCA (Concatenation commutes, associates) \overline{A}A = 1 (2 is a complemented lattice, with an upper bound of 1) \ A0 = A (0 is the lower bound).[src] A\overline{AB} = A\overline{B} (2 is a distributive lattice) Where concatenation = OR, 1 = true, and 0 = false, or concatenation = AND, 1 = false, and 0 = true.[src] (overbar is negation in both cases.) If 0=1, (1)–(3) are the axioms for an abelian group.[src] (1) only serves to prove that concatenation commutes and associates.[src] First assume that (1) associates from either the left or the right, then prove commutativity.[src] Then prove association from the other direction.[src] Associativity is simply association from the left and right combined.[src] This basis makes for an easy approach to proof, called "calculation" in Laws of Form, that proceeds by simplifying expressions to 0 or 1, by invoking axioms (2)–(4), and the elementary identities AA=A, \overline{\overline{A}}=A, 1+A = 1 , and the distributive law.[src] ==Metatheory== De Morgan's theorem states that if one does the following, in the given order, to any Boolean function: Complement every variable; Swap '+' and '∙' operators (taking care to add brackets to ensure the order of operations remains the same); Complement the result, the result is logically equivalent to what you started with.[src] Repeated application of De Morgan's theorem to parts of a function can be used to drive all complements down to the individual variables.[src] A powerful and nontrivial metatheorem states that any identity of 2 holds for all Boolean algebras.[src] Conversely, an identity that holds for an arbitrary nontrivial Boolean algebra also holds in 2.[src] Hence all identities of Boolean algebra are captured by 2.[src] This theorem is useful because any equation in 2 can be verified by a decision procedure.[src] Logicians refer to this fact as "2 is decidable".[src] All known decision procedures require a number of steps that is an exponential function of the number of variables N appearing in the equation to be verified.[src] Whether there exists a decision procedure whose steps are a polynomial function of N falls under the P = NP conjecture.[src] The above metatheorem does not hold if we consider the validity of more general first-order logic formulas instead of only atomic positive equalities.[src] As an example consider the formula .[src] This formula is always true in a two-element Boolean algebra.[src] In a four-element Boolean algebra whose domain is the powerset of , this formula corresponds to the statement and is false when x is .[src] The decidability for the first-order theory of many classes of Boolean algebras can still be shown, using quantifier elimination or small model property (with the domain size computed as a function of the formula and generally larger than 2).[src] ==See also== Boolean algebra Bounded set Lattice (order) Order theory ==References== ==Further reading== Many elementary texts on Boolean algebra were published in the early years of the computer era.[src] Perhaps the best of the lot, and one still in print, is: Mendelson, Elliot, 1970.[src] Schaum's Outline of Boolean Algebra.[src] McGraw–Hill.[src] The following items reveal how the two-element Boolean algebra is mathematically nontrivial.[src] Stanford Encyclopedia of Philosophy: "The Mathematics of Boolean Algebra," by J.[src] Donald Monk.[src] Burris, Stanley N., and H.P.[src] Sankappanavar, H.[src] P., 1981.[src] A Course in Universal Algebra.[src] Springer-Verlag.[src] .[src]

71 sentences · 71 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Two-element Boolean algebra." encyclopegia.org, 2025, https://encyclopegia.org/wiki/two-element-boolean-algebra. Accessed 29 November 2026.

Chicago

"Two-element Boolean algebra." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/two-element-boolean-algebra.

APA

encyclopegia.org. (2025). Two-element Boolean algebra. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/two-element-boolean-algebra

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

EFL League Two

stub · references available

The Two Noble Kinsmen

stub · references available

Epic Mickey 2: The Power of Two

stub · references available

identity element

stub · references available

two-stage-to-orbit

stub · references available

Teresa Cristina of the Two Sicilies

stub · references available

two-dimensional space

stub · references available

Maria Christina of the Two Sicilies

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1285567631 · 0.5 · snapshot enwiki-001285567631

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.