Quantification

In language and logic, quantification is a construct that specifies the extent of validity of a predicate, that is the extent to which a predicate holds over a range of things. A language element which generates a quantification is called a quantifier. The resulting statement is a quantified statement, and we say we have quantified over the predicate. Quantification is used in both natural languages and formal languages. In natural language, examples of quantifiers are for all, for some; many, few, a lot are also quantifiers. In formal languages, quantification is a formula constructor that produces new formulas from old ones. The semantics of the language specifies how the constructor is interpreted as an extent of validity. Quantification is an example of a variable-binding operation.

The two fundamental kinds of quantification in predicate logic are universal quantification and existential quantification. These concepts are covered in detail in their individual articles; here we discuss features of quantification that apply in both cases. Other kinds of quantification include uniqueness quantification.

Contents

Quantification in natural language

All known human languages make use of quantification, even languages without a fully fledged number system (Wiese 2004). For example, in English:

  • Every glass in my recent order was chipped.
  • Some of the people standing across the river have white armbands.
  • Most of the people I talked to didn't have a clue who the candidates were.
  • Everyone in the waiting room had at least one complaint against Dr. Ballyhoo.
  • There was somebody in his class that was able to correctly answer every one of the questions I submitted.
  • A lot of people are idiots.

Linguists regard even some slang or scatological expressions semantically as quantifiers:

  • There were a shitload of problems with that new software we bought.

There exists no simple way of reformulating any one of these expressions as a conjunction or disjunction of sentences, each a simple predicate of an individual such as That wine glass was chipped. These examples also suggest that the construction of quantified expressions in natural language can be syntactically very complicated. Fortunately, for mathematical assertions, the quantification process is syntactically more straightforward.

The study of quantification in natural languages is much more difficult than the corresponding problem for formal languages. This comes in part from the fact that the grammatical structure of natural language sentences may conceal the logical structure. Moreover, mathematical conventions strictly specify the range of validity for formal language quantifiers; for natural language, specifying the range of validity requires dealing with non-trivial semantic problems.

Montague grammar gives a novel formal semantics of natural languages. Its proponents argue that it provides a much more natural formal rendering of natural language than the traditional treatments of Frege, Russell and Quine.

Need for quantifiers in mathematical assertions

We will begin by discussing quantification in informal mathematical discourse. Consider the following statement

1·2 = 1 + 1, and 2·2 = 2 + 2, and 3 · 2 = 3 + 3, ...., and n · 2 = n + n, 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 we expect syntax rules to generate finite objects. Putting aside this objection, also note that in this example we were lucky in that there is a procedure to generate all the conjuncts. However, if we wanted to assert something about every irrational number, we would have no way enumerating all the conjuncts since irrationals cannot be enumerated. A succinct formulation which avoids these problems uses universal quantification:

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

A similar analysis applies to the disjunction,

1 is prime, or 2 is prime, or 3 is prime, etc.

which can be rephrased using existential quantification:

For some natural number n, n is prime.

Nesting of quantifiers

Consider the following statement, often referred to as Bertrand's postulate:

For any natural number n, there is a prime number p such that n < p ≤ 2 n.

This could be explained using a challenge-response framework as follows: For any n that you give me, I will give a prime pn such that n < pn ≤ 2 n. The meaning of the assertion in which the quantifiers are turned around

There is a prime number p such that for any natural number n, n < p ≤ 2 n.

is quite different and is actually false. In the challenge-response framework it would mean that I could select the prime p once and for all at the beginning. This of course is not possible.

This illustrates a fundamentally important point when quantifiers are nested: The order of alternation of quantifiers is of absolute importance.

Range of quantification

Every quantification involves one specific variable and a domain of discourse or range of quantification of that variable. The range of quantification specifies the set of values that variable takes. In the examples above, the range of quantification is the set of natural numbers. Specification of the range of quantification allows us to express the difference between, asserting that a predicate holds for some natural number or for some real number. Expository conventions often reserve some variable names such as "n" for natural numbers and "x" for real numbers, although relying exclusively on naming conventions cannot work in general since ranges of variables can change in the course of a mathematical argument.

A more natural way to restrict the domain of discourse uses guarded quantification. For example, the guarded quantification

For some natural number n, n is even and n is prime

means

For some even number n, n is prime.

In some mathematical theories one assumes a single domain of discourse fixed in advance. For example, in Zermelo Fraenkel set theory, variables range over all sets. In this case, guarded quantifiers can be used to mimic a smaller range of quantification. Thus in the example above to express

For any natural number n, n·2 = n + n

in Zermelo-Fraenkel set theory, one can say

For any n, if n belongs to N, then n·2 = n + n,

where N is the set of all natural numbers.

Notation for quantifiers

The traditional symbol for the universal quantifier is "∀", a rotated letter "A", which stands for the word "all". The corresponding symbol for the existential quantifier is "∃", a rotated letter "E", which stands for the word "exists". Correspondingly, quantified expressions are constructed as follows,

<math> \exists{n}\, P \quad \forall{n}\, P <math>

where "P" denotes a formula. Many variant notations are used, such as

<math> \exists{n}\, P \quad (\exists{n}) P \quad \exists{n}(P) \quad \exists_{n}\, P \quad \exists{n}{,}\, P \quad \exists{n}{:}\, P \quad \exists{n}{\in}\mathbb{N}\, P \quad \exists\, n \in \mathbb{N}{,}\, P \quad \exists{n}{:}\mathrm{uint}\, P <math>

All of these variations apply to universal quantification as well as to existential quantification. Additionally, the expression "(n) P" is sometimes used for universal quantification.


Note that some versions of the notation explicitly mention the range of quantification. The range of quantification must always be specified, but for a given mathematical theory, this can be done in several ways:

  • Assume a fixed domain of discourse for every quantification, as is done in Zermelo Fraenkel set theory,
  • Fix several domains of discourse in advance and require that each variable have a declared domain, which is the type of that variable. This is analogous to the situation in strongly-typed computer programming languages, where variables have declared types.
  • Mention explicitly the range of quantification, perhaps using a symbol for the set of all objects in that domain or the type of the objects in that domain.

Also note that one can use any variable as a quantified variable in place of any other, under certain restrictions, that is in which variable capture does not ocur. Even if the notation uses typed variables, one can still use any variable of that type. The issue of variable capture is exceedingly important, and we discuss that in the formal semantics below.

Informally, the "∀x" or "∃x" might well appear after P(x), or even in the middle if P(x) is a long phrase. Formally, however, the phrase that introduces the dummy variable is standardly placed in front.

Note that mathematical formulas mix symbolic expressions for quantifiers, with natural language quantifiers such as

For any natural number x, ....
There exists an x such that ....
For at least one x.

Keywords for uniqueness quantification include:

For exactly one natural number x, ....
There is one and only one x such that ....

One might even avoid variable names such as x using a pronoun. For example,

For any natural number, its product with 2 equals to its sum with itself
Some natural number is prime.

Formal semantics

Mathematical semantics is the application of mathematics to study the meaning of expressions in a formal that is mathematically specified language. It has three elements: A mathematical specification of a class of objects via syntax, a mathematical specification of various semantic domains and the relation between the two, which is usually expressed as a function from syntactic objects to semantic ones. In this article, we only address the issue of how quantifier elements are interpreted.


In this section we only consider first order logic with function symbols. We refer the reader to the article on model theory for more information on the interpretation of formulas within this logical framework. The syntax of a formula can be give by a syntax tree. Quantifiers have scope and a variable x is free if it is not within the scope of a quantification for that variable. Thus in

<math> \forall x (\exists y B(x,y)) \vee C(y,x) <math>

the occurrence of both x and y in C(y,x) is free.


Missing image
IMG_Tree.jpg
Image:IMG_Tree.jpg


Syntactic tree illustrating scope and variable capture

An interpretation for first order predicate calculus assumes as given a domain of individuals X. A formula A whose free variables are x1, ..., xn is interpreted as a boolean-valued function F(v1, ..., vn) of n arguments, where each argument ranges over the domain X. Boolean-valued means that the function assumes one of the values T (interpreted as truth) or F(interpreted as falsehood) . The interpretation of the formula

<math> \forall x_n A(x_1, \ldots , x_n) <math>

is the function G of n-1 arguments such that G(v1, ...,vn-1) = T iff F(v1, ..., vn-1, w) = T for every w in X. If F(v1, ..., vn-1, w) = F for at least one value of w, then G(v1, ...,vn-1) = F. Similarly the interpretation of the formula

<math> \exists x_n A(x_1, \ldots , x_n) <math>

is the function H of n-1 arguments such that H(v1, ...,vn-1) = T iff F(v1, ...,vn-1, w) = T for at least one w and H(v1, ..., vn-1) = F otherwise.

The semantics for uniqueness quantification requires first order predicate calculus with equality. This means there is given a distinguished two-placed predicate "="; the semantics is also modified accordingly so that "=" is always interpreted as the two-place equality relation on X. The interpretation of

<math> \exists ! x_n A(x_1, \ldots , x_n) <math>

then is the function of n-1 arguments, which is the logical and of the interpretations of

<math> \exists x_n A(x_1, \ldots , x_n) <math>
<math> \forall y,z \left\{ A(x_1, \ldots ,x_{n-1}, y) \wedge A(x_1, \ldots ,x_{n-1}, z) \implies y = z \right\}<math>

Paucal, multal and other degree quantifiers

So far we have only considered universal, existential and uniqueness quantification as used in mathematics. None of this applies to a quantification such as

  • There were many dancers out on the dance floor this evening.

Though we will not consider semantics of natural language in this article, we will attempt to provide a semantics for assertions in a formal language of the type

  • There are many integers n < 100, such that n is divisible by 2 or 3 or 5.

One possible interpretation mechanism can obtained as follows: Suppose that in addition to a semantic domain X, we have given a probability measure P defined on X and cutoff numbers 0 < ab ≤ 1. If A is a formula with free variables x1,...,xn whose interpretation is the function F of variables v1,...,vn then the interpretation of

<math> \exists^{\mathrm{many}} x_n A(x_1, \ldots, x_{n-1}, x_n) <math>

is the function of v1,...,vn-1 which is T iff

<math> \operatorname{P} \{w: F(v_1, \ldots, v_{n-1}, w) = \mathbf{T} \} \geq b <math>

and F otherwise. Similarly, the interpretation of

<math> \exists^{\mathrm{few}} x_n A(x_1, \ldots, x_{n-1}, x_n) <math>

is the function of v1,...,vn-1 which is F iff

<math> 0< \operatorname{P} \{w: F(v_1, \ldots, v_{n-1}, w) = \mathbf{T}\} \leq a <math>

and T otherwise. We have completely avoided discussion of technical issues regarding measurability of the interpretation functions; some of these are technical questions that require Fubini's theorem.

We also caution the reader that the corresponding logic for such a semantics is exceedingly complicated.

History of formalisation

The first variable-based treatments of quantification in formal logic did not appear until the 19th century, although term logic treats quantification in a manner that is closer to how quantifiers appear in natural language, and is less suited to formal analysis. Aristotelian logic gave an account of the All', Some and No quantifiers in the 1st century BC in an account that also treated the alethic modalities.

The first variable-based treatment of logic was that of Gottlob Frege's Begriffsschrift, but was closely followed by C. S. Pierce's independent formulation of existential graphs. Frege's account proved the more influential, due to its adoption by Giuseppe Peano, although Pierce's logic has recently been attracting greater interest by logicians interested in heterogenous reasoning and diagrammatic inference.

The first rigorous notation for quantification appeared in Gottlob Frege's Begriffsschrift. Frege used a curved line underneath a variable name to indicate that the variable was universally quantified in the formula that followed. Frege did not have a special notation for existential quantification, instead using the equivalent of <math>\sim\forall x:\sim\ldots<math>.

In Whitehead and Russell's Principia Mathematica, Frege's notation was simplified. The formula "<math>(x)\phi<math>" was used to indicate that the formula φ was true for all values of x. Existential quantification was written "<math>(\exists x)\phi<math>"; the ∃ symbol itself was first used by Peano in 1897.

The ∀ symbol was a later invention, introduced by Gentzen in 1935 by analogy with Peano's ∃ symbol.

References

eo:Kvantoro pl:Kwantyfikator

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools