Definition
Lattice
A lattice is an algebraic structure that has the following axioms:
- is a commutative semigroup
- is a commutative semigroup
- Absorption: For all :
Examples:
Distributivity
Definition
Link to originalDistributive Lattice
A lattice is called distributive if the following holds for all :
Boolean Algebra
Definition
Link to originalBoolean Algebra
A distributive lattice is called Boolean Algebra if it has the following properties:
- is a monoid.
- is a monoid.
- Neutral element for :
- Neutral element for :
- All elements have a complement :
Examples
Min and Max over
Show that is a lattice:
Show that is a commutative semigroup:
Show that is a commutative semigroup:
Show Absorption for
Show that:
This can be achieved by case analysis on and :
- If , then . Thus .
- If , then . Thus .
Show Absorption for
Show that:
This can be achieved by case analysis on and :
- If , then . Thus .
- If , then . Thus .