Lably
Skip to content

Quantifier (logic)

Mathematical use of "for all" and "there exists"

  • 14 min read
  • 10 chapters

Related on Lably

Through Mathematical logic, Universal quantification and Natural number

The most commonly used quantifiers are ∀ and ∃. Other quantifiers are only definable within second-order logic or higher-order logics. Quantifiers have been generalized beginning with the work of Andrzej Mostowski and Per Lindström.

In a first-order logic statement, quantifications in the same type (either universal quantifications or existential quantifications) can be exchanged without changing the meaning of the statement. In contrast, the exchange of quantifications in different types changes the meaning. As an example for the latter, the only difference in the definition of uniform continuity and (ordinary) continuity is the order of quantifications.

Relations to logical conjunction and disjunction

For a finite domain of discourse D={a1,...an}, the universally quantified formula ∀x∈DP(x) is equivalent to the logical conjunction P(a1)∧...∧P(an). Dually, the existentially quantified formula ∃x∈DP(x) is equivalent to the logical disjunction P(a1)∨...∨P(an). For example, if B={0,1} is the set of binary digits, the formula ∀x∈Bx=x2 abbreviates 0=02∧1=12, which evaluates to true.

Infinite domain of discourse

Consider the following statement (using dot notation for multiplication):

1 · 2 = 1 + 1, and 2 · 2 = 2 + 2, and 3 · 2 = 3 + 3, ..., and 100 · 2 = 100 + 100, and ..., etc.

This has the appearance of an infinite conjunction of propositions. From the point of view of formal languages, this is immediately a problem, since syntax rules are expected to generate finite statements. A succinct equivalent formulation, which avoids these problems, uses universal quantification:

For each natural number n, n · 2 = n + n.

A similar analysis applies to the disjunction,

1 is equal to 5 + 5, or 2 is equal to 5 + 5, or 3 is equal to 5 + 5, ... , or 100 is equal to 5 + 5, or ..., etc.

which can be rephrased using existential quantification:

For some natural number n, n is equal to 5 + 5.

Sign in to keep reading

9 more chapters are free with a Lably account.

More in Foundations