Set Theory & Logic Codexery

Quantifier (logic)

Operators specifying how many individuals satisfy a property.

Last updated

Quantifiers in mathematical logic are formal versions of words like "all," "some," "most," and "few" from natural language. They act as operators that tell you how many objects within a particular domain satisfy a given condition, which is expressed as an open formula. The two most familiar quantifiers are the universal quantifier (∀) and the existential quantifier (∃).

For example, the formula ∀x x ≥ 0 means that every number in the domain is non-negative. This statement is true when the domain is the natural numbers but false when it is the integers. In contrast, the formula ∃x x² − 5x + 6 = 0 says that at least one number in the domain satisfies the equation, and indeed both 2 and 3 do.

Order of quantifiers (nesting)

Other quantifiers, such as "most" or "few," can only be defined in second-order or higher-order logics. The study of quantifiers was generalized by Andrzej Mostowski and Per Lindström. In first-order logic, swapping two quantifiers of the same type (both universal or both existential) does not change a statement's meaning, but swapping quantifiers of different types does. For instance, the difference between uniform continuity and ordinary continuity lies entirely in the order of the quantifiers.

Relations to logical conjunction and disjunction

When the domain is finite, a universal quantifier is equivalent to a logical conjunction (an "and" statement) of the property for each element, while an existential quantifier is equivalent to a logical disjunction (an "or" statement). For example, if the domain is the binary digits {0, 1}, the formula ∀x ∈ B x = x² is shorthand for 0 = 0² ∧ 1 = 1², which is true.

Infinite domain of discourse

For infinite domains, a statement like "for every number, something holds" looks like an infinite conjunction, but formal languages require finite statements. Universal and existential quantifiers provide a compact way to express these ideas without infinite lists.

Algebraic approaches to quantification

Algebraic approaches to quantification have been limited in progress. Three main methods exist: relation algebra (invented by Augustus De Morgan and developed by others, though it cannot handle quantifiers nested more than three deep, yet its models include ZFC set theory and Peano arithmetic); cylindric algebra (devised by Alfred Tarski and Leon Henkin); and polyadic algebra (by Paul Halmos).

Quick Facts

Field
Mathematical logic
Related concepts
  • First-order logic
  • second-order logic
  • logical conjunction
  • logical disjunction

Facts from the source article.

Frequently Asked Questions

What is Quantifier (logic)?

In mathematical logic, a quantifier is a formal operator that specifies how many elements in a given domain satisfy a particular condition. It serves as the precise logical counterpart to everyday words like 'all,' 'some,' or 'most.'

How does Quantifier (logic) interact with the domain of discourse?

The truth of a quantified statement depends entirely on which domain is chosen; for example, '∀x x ≥ 0' holds when the domain is the natural numbers but fails when it is the integers. This domain-sensitivity is a defining feature of how quantifiers operate.

What related concepts does Quantifier (logic) connect to?

It sits alongside logical conjunction, disjunction, and the frameworks of first-order and second-order logic, where it governs how variables are bound and how properties are distributed across a set. Generalizing beyond the basic ∀ and ∃ opens the door to more expressive logical languages.

More in Set Theory & Logic

Sources

Compiled from Wikipedia and the sources listed below. Text from Wikipedia is available under CC BY-SA 4.0; this entry is adapted from it.

Spotted an error? Know more?

Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced

Comments

Loading…
Open in the interactive codex →