In mathematical logic, the quantifier rank of a formula is the depth of nesting of its quantifiers. It plays an essential role in model theory.
The quantifier rank is a property of the formula itself (i.e. the expression in a language). Thus two logically equivalent formulae can have different quantifier ranks, when they express the same thing in different ways.
Let be a first-order formula. The quantifier rank of , written , is defined as:
Remarks
For fixed-point logic, with a least fixed-point operator : .