Deviation of a poset

In order-theoretic mathematics, the deviation of a poset is an ordinal number measuring the complexity of a poset. A poset is also known as a partially ordered set.

The deviation of a poset is used to define the Krull dimension of a module over a ring as the deviation of its poset of submodules.