Going forward the set will be referred to as “Boolean Logic”
Logical Operators
Here is a list of logical operators.
- : And
- : Or
- : Xor
- : Implies
- : Biconditional
Basic Algebras Derived from Logical Operators
Magmas
Boolean logic under the or operation
- is a semigroup
- is a monoid, and the identity is
- is not a group since has no inverse
Boolean logic under the and operation
- Boolean and has an Isomorphism with Boolean or by way of the function that applies the “Not” unary operation to the input.
- Identity element is as it is what maps to in the isomorphism
Boolean logic under the implies operation
- is not a semigroup :( since it is not associative
Boolean logic under the xor operation
- Is a semigroup
- is a monoid
- is a group since all elements are invertable
Boolean logic under the biconditional operation (also called iff for if and only if)
- There exists an Isomorphism between boolean xor and boolean iff therefore they share the same properties
Rings/Double Magmas
We can combine different binary logic groups and semigroups to get ring candidates and analyze them. See also Boolean Rings.
Boolean logic under xor, or
- Is NOT a ring since not all elements distribute
Boolean logic under xor, and
- Is a Ring!
- Distributive property holds for all elements
- is commutative
- Is a Field!
- is commutative
- All elements of excluding the identity, , () have an inverse.
- We already showed has an identity!
Boolean logic under iff, or
- Is isomorphic to since
- And they have the same isomorphism,
Variety Generation
Members of the variety generated by We’ve included and because it is important to include ALL operations when talking about varieties.
Are called a Boolean Algebras See Classification of Boolean Algebras
Some important laws of the variety of Boolean Algebras are:
- All the laws that apply to rings
- AND is Idempotent,
- AND’s identity is
Finite Algebras of
Homomorphic Images of
- is an isomorphism so its basically the same algebra
- using Projections
- The Trivial Algebra in otherwords
Every finite boolean algebra is like this. There is no boolean algebra with 3 elements. Ternary logic is incompatible with Boolean algebra. (This is a separate non trivial theorem). You can do it using Legranges theorem to demonstrate why is a subset of all algebras in this variety so it must have an even number of elements except the trivial one.
Infinite Algebras of
where in infinite
There may be countable subalgebras