I am new to lattices, having some difficulty understanding the main definition. First, here are my main questions.
- What it means for every pair in a lattice to have a lub/glb. For example, what can $\{x,y,z\}$ be paired with in the diagram to give it a lub/glb.
- How to formalize the definition: $\forall \{a, b\} \in P, \{a,b\}\ has\ lub\ and\ glb$
Second, here is my understanding so far if that's helpful...
A partial order is a binary relation $\prec$ over a set $X$, creating a poset, written as $P = (X, \prec)$, satisfying:
- $a \prec a$ (reflexivity)
- $a \prec b \land b \prec a \Rightarrow a = b$ (anti-symmetry)
- $a \prec b \land b \prec c \Rightarrow a \prec c$ (transitivity)
Posets can be drawn graphically as Hasse diagrams.
A maximal element of $p_{max} \in P$ satisfies:
$$\neg (\exists x \in P : p_{max}\prec x)$$
A minimal element of $p_{min} \in P$ satisfies:
$$\neg (\exists x \in P : x \prec p_{min})$$
An upper bound of $S \subset P$ is an element $p_{(+)} \in P$ such that:
$$p_{(+)} \succeq x, \forall x \in S$$
A least upper bound of $S \subset P$ is an element $p_{(<)} \in P$ satisfying:
$$\forall p_{(+)} \in S,\ p_{(<)} \preceq p_{(+)}$$
A lower bound of $S \subset P$ is an element $p_{(-)} \in P$ such that:
$$p_{(-)} \preceq x, \forall x \in S$$
A greatest lower bound of $S \subset P$ is an element $p_{(>)} \in P$ satisfying:
$$\forall p_{(-)} \in S,\ p_{(>)} \succeq p_{(-)}$$
A join semi-lattice is a poset $P$ where every pair of elements has a least upper bound (join).
A meet semi-lattice is a poset $P$ where every pair of elements has a greatest lower bound (meet).
A lattice arises when every pair of elements in $P$ has a least upper bound and greatest lower bound.
$$\forall \{a, b\} \in P, \{a,b\}\ has\ lub\ and\ glb$$
Not sure how to write that formally.