The usual orderThere are two natural orders to put on the product of two lattices is, the product order, rather than and the lexical order.
- Product order: (a,b) ≤ (ca',db') if and only if a ≤ ca' and b ≤ db'
- Lexical order: (a,b) ≤ (ca',db') if and only if a ≤ ca', or a = ca' and b ≤ db'
With the product order, which is commonly used, one should simply take lub or glb separately in each coordinate, and it is not difficult to see that this is a laticelattice order.
To see this, suppose that L and K and L are lattices, such that LK is not a linear order and KL has no least element. In this case, the lexical order on L x K x L is not a lattice order. Let a and ba' be elements of LK that are incomparable, and let cb be any element of L. I claim that (a,cb) and (ba',cb) have no least upper bound in the lexical order. To see this, suppose that (x,y) is the least upper bound of (a,cb) and (ba',cb). It must be that a and ba' are both ≤ x, and so lub(a,ba') ≤ x. Since a and ba' are incomparable, they are both strictly less than lub(a,ba'). Thus, any element of the form (lub(a,ba'),y) is an upper bound. But there is no least such element, since L has no least element.
HoweverOne can picture this easily, if the lattices are complete, thenyou understand that the lexical order on K x L is the structure obtained by replacing each element of K with a lattice ordercopy of L. In this case, the lub(The points (a,b),(a',b')) = and (ca',db) lie in different copies of L, where c =and there is a minimal copy of L above them at lub(a,a') and d, but there is no least suchelement in that copy of L to serve as the lub of (ca,db) is an upper boundand (a',b).
The same idea shows that if L does have a least and greatest element---call them 0 and 1---then K x L will be a lattice. The lub of (a,b) and (a',b'). A similar idea works for glb. Also, one can show that the product lattice in the lexical order is also completesimply (lub(a, fora'),0), if a and a' are incomparable; it is X(a',b'), if a < a'; and it is any subset of(a,lub(b,b')), if a = a'. Similarly, the productglb of (a, then lubb) and (Xa',b') will be (cglb(a,da'), where c is the lub of the first coordinates of the pairs in X1), if a and da' are incomparable; it is chosen again to be least such that (ca,db), if a < a'; and it is an upper bound(a,glb(b,b')), if a = a'.
In factparticular, if we are careful in the argument, we don't need completeness, but only boundedness (meaning that L hasis complete, then it will have a least and greatest element). We didn't use any extra fact about K, and forso K x L all we need is that it haswill be a minimal and maximal element; one needs to argue separate cases depending on whetherlattice in the first coordinateslexical order.
The argument also shows that if K is a linear order, then the incomparability cases above do not arise, and a' are comparable orso K x L will be a lattice, even when L does not have least and greatest elements. This appears to establish
In summary, this establishes:
- If L is boundedhas a least and greatest element, then K x L is a lattice under the lexical order.
- If K is linearly ordered, then K x L is a lattice under the lexical order.
- In all other cases, K x L is not a lattice under the lexical order.
When both lattices are complete, then the lattice K x L under the lexical order is also complete. If X is any subset of K x L, then lub(X) will be (c,d), where c is the lub of the first coordinates of the pairs in X, and d is chosen to be least such that (c,d) is an upper bound.