In mathematics, a partial order or total order < on a set X {\displaystyle X} is said to be dense if, for all x {\displaystyle x} and y {\displaystyle y} in X {\displaystyle X} for which x < y {\displaystyle x<y} , there is a z {\displaystyle z} in X {\displaystyle X} such that x < z < y {\displaystyle x<z<y} . That is, for any two elements, one less than the other, there is another element between them. For total orders this can be simplified to "for any two distinct elements, there is another element between them", since all elements of a total order are comparable.