# Directed set

In mathematics, a **directed set** (or a **directed preorder** or a **filtered set**) is a nonempty set *A* together with a reflexive and transitive binary relation ≤ (that is, a preorder), with the additional property that every pair of elements has an upper bound:^{[1]} In other words, for any *a* and *b* in *A* there must exist a *c* in *A* with *a* ≤ *c* and *b* ≤ *c*.

Directed sets are a generalization of nonempty totally ordered sets, that is, all totally ordered sets are directed sets (contrast *partially* ordered sets which need not be directed). In topology, directed sets are used to define nets, which generalize sequences and unite the various notions of limit used in analysis. Directed sets also give rise to direct limits in abstract algebra and (more generally) category theory.

## Equivalent definition

In addition to the definition above, there is an equivalent definition. A **directed set** is a set *A* with a preorder such that every finite subset of *A* has an upper bound. In this definition, the existence of an upper bound of the empty subset implies that *A* is nonempty.

## Examples

Examples of directed sets include:

- The set of natural numbers
**N**with the ordinary order ≤ is a directed set (and so is every totally ordered set). - Let
**D**and_{1}**D**be directed sets. Then the Cartesian product set_{2}**D**can be made into a directed set by defining (_{1}D_{2}*n*_{1},*n*_{2}) ≤ (*m*_{1},*m*_{2}) if and only if*n*_{1}≤*m*_{1}and*n*_{2}≤*m*_{2}. In analogy to the product order this is the product direction on the Cartesian product. - It follows from previous example that the set
**N****N**of pairs of natural numbers can be made into a directed set by defining (*n*_{0},*n*_{1}) ≤ (*m*_{0},*m*_{1}) if and only if*n*_{0}≤*m*_{0}and*n*_{1}≤*m*_{1}. - If
*x*_{0}is a real number, we can turn the set**R**− {*x*_{0}} into a directed set by writing*a*≤*b*if and only if

|*a*−*x*_{0}| ≥ |*b*−*x*_{0}|. We then say that the reals have been*directed towards x*. This is an example of a directed set that is not ordered (neither totally nor partially)._{0} - A (trivial) example of a partially ordered set that is
directed is the set {**not***a*,*b*}, in which the only order relations are*a*≤*a*and*b*≤*b*. A less trivial example is like the previous example of the "reals directed towards x_{0}" but in which the ordering rule only applies to pairs of elements on the same side of x_{0}. - If
*T*is a topological space and*x*_{0}is a point in*T*, we turn the set of all neighbourhoods of*x*_{0}into a directed set by writing*U*≤*V*if and only if*U*contains*V*. - In a poset
*P*, every lower closure of an element, i.e. every subset of the form {*a*|*a*in*P*,*a*≤*x*} where*x*is a fixed element from*P*, is directed.

## Contrast with semilattices

Directed sets are a more general concept than (join) semilattices: every join semilattice is a directed set, as the join or least upper bound of two elements is the desired *c*. The converse does not hold however, witness the directed set {1000,0001,1101,1011,1111} ordered bitwise (e.g. 1000 ≤ 1011 holds, but 0001 ≤ 1000 does not, since in the last bit 1 > 0), where {1000,0001} has three upper bounds but no *least* upper bound, cf. picture.

## Directed subsets

The order relation in a directed sets is not required to be antisymmetric, and therefore directed sets are not always partial orders. However, the term *directed set* is also used frequently in the context of posets. In this setting, a subset *A* of a partially ordered set (*P*,≤) is called a **directed subset** if it is a directed set according to the same partial order: in other words, it is not the empty set, and every pair of elements has an upper bound. Here the order relation on the elements of *A* is inherited from *P*; for this reason, reflexivity and transitivity need not be required explicitly.

A directed subset of a poset is not required to be downward closed; a subset of a poset is directed if and only if its downward closure is an ideal. While the definition of a directed set is for an "upward-directed" set (every pair of elements has an upper bound), it is also possible to define a downward-directed set in which every pair of elements has a common lower bound. A subset of a poset is downward-directed if and only if its upper closure is a filter.

Directed subsets are used in domain theory, which studies directed complete partial orders.^{[2]} These are posets in which every upward-directed set is required to have a least upper bound. In this context, directed subsets again provide a generalization of convergent sequences.

## See also

## Notes

## References

- J. L. Kelley (1955),
*General Topology*.

- Gierz, Hofmann, Keimel,
*et al.*(2003),*Continuous Lattices and Domains*, Cambridge University Press. ISBN 0-521-80338-1.