Computer programs can handle all sorts of data, from sums of money in bank accounts to sensor readings from scientific instruments. In many cases, the data are a set of discrete elements, such as temperatures. Moreover, some elements of a set may be larger in value than others, or they may exhibit some other relationship that allows you to rank them or put them in order.
In mathematics, such a collection of elements is known as a partially ordered set, or poset. One example of a poset consists of an integer and all its positive divisors (excluding 1). For instance, the positive divisors of 42 are 2, 3, 6, 7, 14, and 21. The relationships among the integers in the poset {2, 3, 6, 7, 14, 21, 42} can be expressed symbolically in a special type of diagram known as a Hasse diagram, named for mathematician Helmut Hasse (1898–1979).