(Last modified Thu Apr 24 10:25 2008)

home

Software Foundations
CPOs and lattices

Complete partial orders (cpos)

Let P be an ordered set.  P is a cpo iff for every pair x,y∈P, their LUB xy is an elements of P. 

Another way of saying the same thing:  an ordered set P is a cpo if it is closed under the cup operation. 

A cpo with a least element bottom is called a cpo with bottom.  Some authors use "cpo" to mean "cpo with bottom". 

A cpo is sort of a "half-lattice" (see below).  A lattice has LUBs and GLBs, a cpo has LUBs only. 

Examples:

  1. Any powerset P, ordered by ⊆ is a cpo. 

    Every powerset contains empty; empty⊆S for every subset S∈P, so empty is a lower bound; and no other set is a lower bound for P, so empty is the GLB of the entire powerset P, and thus empty is bottom.  See Figure 1. 

Lattices

Let P be an ordered set.  P is a lattice iff for every pair x,y∈P, their LUB xy and GLB xy are both elements of P. 

Another way of saying the same thing:  an ordered set P is a lattice if it is closed under the cap and cup operations. 

A lattice may have a top and/or a bottom, but an infinite lattice need not have either.  A finite lattice always has a top and a bottom. 

Examples: 

  1. Any powerset P is a lattice. 

    The LUB (GLB) of two sets X and Y is their union (intersection), and a powerset is closed under intersection (union), so P is a lattice.  P is finite and thus has a top and a bottom; top is the set S of which P is the powerset, and bottom is the empty set empty.  See ordered set Figure 2

  2. The integers are a lattice. 

    The LUB (GLB) of two integers x and y is the lesser (greater) of the two, and so is an integer; thus the integers are closed under LUB (GLB).  The integers are an infinite set and so need not have a top or a bottom, and in fact do not; there is no greatest or least integer.  See ordered set Figure 1

For further reading

B. A. Davey and H. A. Priestley.  Introduction to Lattices and Order.  Cambridge University Press, 2002. 

Share-Alike Made with jEdit Valid CSS! Valid HTML 4.01! UC Irvine Thomas A. Alspaugh
Assistant Professor, Informatics Dept.
School of Information and Computer Sciences