Lably
Skip to content

Two-element Boolean algebra

  • 4 min read
  • 3 chapters

Related on Lably

Through Mathematics, Boolean algebra (structure) and Operation (mathematics)

Definition

B is a partially ordered set and the elements of B are also its bounds.

An operation of arity n is a mapping from Bn to B. Boolean algebra consists of two binary operations and unary complementation. The binary operations have been named and notated in various ways. Here they are called 'sum' and 'product', and notated by infix '+' and '∙', respectively. Sum and product commute and associate, as in the usual algebra of real numbers. As for the order of operations, brackets are decisive if present. Otherwise '∙' precedes '+'. Hence A ∙ B + C is parsed as (A ∙ B) + C and not as A ∙ (B + C). Complementation is denoted by writing an overbar over its argument. The numerical analog of the complement of X is 1 − X. In the language of universal algebra, a Boolean algebra is a ⟨B,+,∙,..¯,1,0⟩ algebra of type ⟨2,2,1,0,0⟩.

Either one-to-one correspondence between {0,1} and {True,False} yields classical bivalent logic in equational form, with complementation read as NOT. If 1 is read as True, '+' is read as OR, and '∙' as AND, and vice versa if 1 is read as False. These two operations define a commutative semiring, known as the Boolean semiring.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Philosophy