Algebraic Logic#
…
Universal Algebraic Definition of Semilattice#
In universal algebra, one studies sets \(A\) equipped with operations, which are subject to equations.
Definition: A monoid \((A,e,\cdot)\) has a constant \(e\in A\) and a binary operation \(\cdot:A\times A\to A\) satisfing the equations
For example, numbers with \(e=0\) and \(\cdot\) as \(+\) are a monoid. Similarly, numbers with \(1\) and multiplication are a monoid or truthvalues with False and Or and truth values with True and And.
These are also example of what is known as a commutative monoid. A commutative monoid \((A,e,\cdot)\) is a monoid that is commutative, that is, it satifies
for all \(a,b\in A\).
A monoid \((A,e,\cdot)\) is idempotent if
for all \(a\in A\).
A commutative idempotent monoid is called a bounded semilattice (or sometimes semilattice for short).
Example:
Truth values with False and Or are a bounded semilattice and truth values with True and And are a bounded semilattice.
Sets with \(\emptyset\) and \(\cup\) are a semilattice.
We arrived at the algebraic definition of a (bounded) semilattice, that is, a definition in terms of operations and equations.
Order-Theoretic Definition of Semilattices#
What is an order?#
A pre-order \((A,R)\) consists of a set \(A\) together with a relation [1]
such that
In words, \(R\) is reflexive (the first condition) and \(R\) is transitive (the second condition). Usually one writes \(aRb\) instead of \((a,b)\in R\) and also \(\le\) instead of \(R\). Finally, one often uses “,” to mean “and” and \(\Longrightarrow\) to mean “if … then …”.
With this notation the two conditions above become
A partial order \((A,\le)\) is a pre-order such that
Semilattices#
In an order \((A,\le)\), an element \(c\in A\) is an upper bound of \(a\) and \(b\) if \(a\le c\) and \(b\le c\). If for all \(d\in A\) we have
then \(c\) is called a least upper bound.
Exercise: Define greatest lower bound.
Notation: The least upper bound of \(a\) and \(b\) is denoted by \(a\vee b\).
Reminder: Let us recall or-introduction
and or-elimination
A join-semilattice is a partial order in which any two elements have a least upper bound.
A meet-semilattice is a partial order in which any two elements have a greatest lower bound.
Equivalence of Algebraic and Order-Theoretic Definitions#
…
todo
…
Order in Algebraic Logic#
In algebraic logic, the “logical order” \(a\le b\) is read as “if \(a\) then \(b\)”.
We all expect “if \(a\) then \(a\vee b\)”.
Thus, \(a\le a\vee b\).
Weak Kleene Logic according to Jose#
I claim that in WK logic, we have \(a\le\star\) for all \(a\), if \(\le\) is the logical order induced by \(\vee\).
We have
Therefore
References#
https://en.wikipedia.org/wiki/Semilattice