Counting Quantifier
   HOME

TheInfoList



OR:

A counting quantifier is a
mathematical Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
term for a quantifier of the form "there exists at least ''k'' elements that satisfy property ''X''". In
first-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
with equality, counting quantifiers can be defined in terms of ordinary quantifiers, so in this context they are a notational shorthand. However, they are interesting in the context of logics such as
two-variable logic with counting In mathematical logic and computer science, two-variable logic is the fragment of first-order logic where formulae can be written using only two different variables. This fragment is usually studied without function symbols. Decidability Some ...
that restrict the number of variables in formulas. Also, generalized counting quantifiers that say "there exists infinitely many" are not expressible using a finite number of formulas in first-order logic.


Definition in terms of ordinary quantifiers

Counting quantifiers can be defined recursively in terms of ordinary quantifiers. Let \exists_ denote "there exist exactly k". Then :\begin \exists_ x P x &\leftrightarrow \neg \exists x P x \\ \exists_ x P x &\leftrightarrow \exists x (P x \land \exists_ y (P y \land y \neq x)) \end Let \exists_ denote "there exist at least k". Then :\begin \exists_ x P x &\leftrightarrow \top \\ \exists_ x P x &\leftrightarrow \exists x (P x \land \exists_ y (P y \land y \neq x)) \end


See also

*
Uniqueness quantification In mathematics and logic, the term "uniqueness" refers to the property of being the one and only object satisfying a certain condition. This sort of quantification is known as uniqueness quantification or unique existential quantification, and i ...
*
Lindström quantifier In mathematical logic, a Lindström quantifier is a generalized polyadic quantifier. Lindström quantifiers generalize first-order quantifiers, such as the existential quantifier, the universal quantifier, and the counting quantifiers. They were i ...
*
Spectrum of a sentence In mathematical logic, the spectrum of a sentence is the set of natural numbers occurring as the size of a finite model in which a given sentence is true. By a result in descriptive complexity, a set of natural numbers is a spectrum if and only i ...


References

* Erich Graedel, Martin Otto, and Eric Rosen. "Two-Variable Logic with Counting is Decidable." In ''Proceedings of 12th IEEE Symposium on Logic in Computer Science LICS `97'', Warschau. 1997
Postscript file
Quantifier (logic) {{logic-stub