Difference between revisions of "Quantification" - New World Encyclopedia

From New World Encyclopedia
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Claimed}}
+
{{Copyedited}}{{Approved}}{{Images OK}}{{Submitted}}{{Paid}}
In [[linguistics]], [[logic]], and [[mathematics]] etc., '''quantification''' is the kind of linguistic constructions that specifies the quantity of individuals in the domain of discourse that satisfy given conditions. Quantification is used in both natural languages and formal languages, and the linguistic elements, formal or informal, that generate quantification are called 'quantifiers'. Examples of quantifiers in a natural language are: ''every'', ''some'', ''many'', ''few'', ''most'', ''half'' and ''no'', etc. Quantifiers allow quantified statements such as “Every natural number has a successor,” “Some natural numbers are even,etc. In [[formal languages]], quantifiers are formula constructors that produce new formulas from old ones. The two fundamental kinds of quantification in [[predicate logic]] are ''universal quantification'' and ''existential quantification''. The traditional symbol for the universal quantifier "all" is "_", an inverted letter "A", and for the existential quantifier "exists" is "_", a rotated letter "E".
+
In [[linguistics]], [[logic]], and [[mathematics]] etc., '''quantification''' is the kind of linguistic construction that specifies the quantity of individuals in the domain of discourse that satisfy given conditions. Quantification is used in both natural languages and [[formal language]]s, and the linguistic elements, formal or informal, that generate quantification are called ''quantifiers''. Examples of quantifiers in a natural language include: ''every'', ''some'', ''many'', ''few'', ''most'', ''half'' and ''no'', etc. Quantifiers also allow quantified statements such as “Every natural number has a successor,” “Some natural numbers are even.” In [[formal languages]], quantifiers are formula constructors that produce new formulas from old ones. The two fundamental kinds of quantification in [[predicate logic]] are ''universal quantification'' and ''existential quantification''. The traditional symbol for the universal quantifier "all" is "∀," an inverted letter "A," and for the existential quantifier "exists" is "∃," a rotated letter "E." These quantifiers have been formalized and considered in various areas.
 
+
{{toc}}
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 quantification imposes a limitation on the variables of a proposition. 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 language]]s and [[formal language]]s. Examples of quantifiers in a natural language are: ''for all'', ''for some'', ''many'', ''few'', ''a lot'', and ''no''. 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 [[free variables and bound variables|variable-binding operation]].
 
 
 
The two fundamental kinds of quantification in [[predicate (logic)|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]].
 
 
 
The traditional symbol for the universal quantifier "all" is "∀", an inverted letter "[[A]]", and for the existential quantifier "exists" is  "∃", a rotated letter "[[E]]".
 
 
 
 
== Quantification in natural language ==
 
== Quantification in natural language ==
 +
The notion of ''quantification'' in the context of [[linguistics]], [[logic]] and [[mathematics]] denotes the kind of linguistic construction that specifies the quantity of individuals in the domain of discourse that satisfy given conditions. The linguistic elements that generates quantified statements are called ''quantifiers''. Examples of quantifiers in a natural language, such as English, include: every, some, for all, most, half, two, three, no, etc. These expressions allow statements such as:
 +
* 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 nobody in his class that was able to correctly answer every question that I submitted.
 +
* A lot of people are smart.
  
All known human languages make use of quantification, even languages without a fully fledged number system (Wiese 2004).  For example, in English:
+
=== Importance of Quantifiers===
* ''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 smart''.
 
 
 
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 ==
+
In considering the following quantified statement:
 +
: Everybody in the room is tall.
 +
one would assume that if there are only three people in the room, say John, Mary, Bob, the quantified statement can be considered as [[equivalence|equivalent]] to the following [[conjunction|conjunctive]] statement:
 +
: John is tall, Mary is tall and Bob is tall.
 +
However, this does not mean that we can always translate given quantified statements equivalently to some statements without quantification. We may not have the names of all the things that are being referred to when we make quantified statements. In addition, the statement cannot be translated directly even with the knowledge of the names for all the considered objects. Consider the following statement:
 +
: Every natural number is greater than –1.
 +
This quantified statement may be considered as translatable to an equivalent statement without quantification by enumerating all the instances of “n> -1” with respect to [[natural numbers]] and form an infinite [[conjunction| conjunction]] of those instances of the following form:
 +
: 0> -1, and 1> -1, and 2> -1, …, and n > -1, ...
 +
However, this translation may be a problem from the standpoint of natural languages, since we expect [[syntax|syntactical]] rules of natural languages to generate finite linguistic expressions.
 +
The problem does not stop here, even when one accepts such an infinite conjunction. For example:
 +
: Every irrational number is not 1.
 +
In the case of the natural number case above, we could enumerate all the instances of natural numbers and thus could think about the possibility of forming the infinite conjunction, but, in our present example, [[irrational numbers]] cannot be enumerated. Thus we would have no way of enumerating all the conjuncts unless we accept that our language can contain more elements than can be enumerated.
  
We will begin by discussing quantification in informal mathematical discourse. Consider the following statement
+
As we can see in these examples, quantification allows us to express a variety of concepts that may be otherwise inexpressible.
: 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 [[logical conjunction|conjunction]]'' of propositions.  From the point of view of [[formal language]]s this is immediately a problem, since we expect [[syntax]] rules to generate [[finite set|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 (logic)|disjunction]],
 
: 1 is [[prime number|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 ==
+
=== Nesting of quantifiers ===
  
Consider the following statement:
+
Many quantified statements have nested structures and the order of quantification in a given structure is often very important to understand what is meant to be conveyed. First:
:For any natural number ''n'', there is a natural number ''s'' such that ''s'' = ''n'' × ''n''.
+
:For any natural number ''n'', there is a natural number ''s'' such that ''s'' = ''n'' × ''n''.
 
This is clearly true; it just asserts that every number has a square.
 
This is clearly true; it just asserts that every number has a square.
 
 
The meaning of the assertion in which the quantifiers are turned around is quite different:
 
The meaning of the assertion in which the quantifiers are turned around is quite different:
: There is a natural number ''s'' such that for any natural number ''n'', ''s'' = ''n'' × ''n''.
+
: There is a natural number ''s'' such that for any natural number ''n'', ''s'' = ''n'' × ''n''.
 
This is clearly false; it asserts that there is a single natural number ''s'' that is at once the square of ''every'' natural number.  
 
This is clearly false; it asserts that there is a single natural number ''s'' that is at once the square of ''every'' natural number.  
 +
This illustrates a fundamentally important point when quantifiers are nested: The order of alternation of quantifiers is of absolute importance.
  
This illustrates a fundamentally important point when quantifiers are nested: The order of alternation of quantifiers is of absolute importance.
+
In addition, unlike these examples, in some quantified statements the intended order of nested quantification is ambiguous:
 
+
: Everybody likes somebody.
A less trivial example  is the important concept of [[uniform continuity]]  from [[mathematical analysis|analysis]], which differs from the more familiar concept of [[continuous function|pointwise continuity]] only by an exchange in the positions of two quantifiers.
+
This can mean two different things. One is that every single person likes some person, and those who are liked are possibly different. The other is that some single person is liked by everybody. This type of ambiguity abounds in our everybody conversation and what is meant by a given quantified statement must often be skimmed from the contextual information in the discourse.  
To illustrate this, let ''f'' be a real-valued function on '''R'''.  
 
 
 
* A: Pointwise continuity of ''f'' on '''R''':
 
::<math> \underbrace{\forall x \in \mathbb{R}, \ \forall \epsilon >0}, \exists \delta > 0, \forall h \in \mathbb{R}, \quad |h| < \delta  \implies |f(x) - f(x+h)| < \epsilon </math>
 
  
interchanging the universal quantifiers over the braces, this is the same as
+
=== Range of quantification ===
* A': Pointwise continuity of ''f'' on '''R''':
 
::<math> \forall \epsilon >0, \ \underbrace{\forall x \in \mathbb{R},  \exists \delta > 0}, \  \forall h \in \mathbb{R}, \quad |h| < \delta  \implies |f(x) - f(x+h)| < \epsilon </math>
 
  
This differs from
+
Quantification involves a domain of discourse or range of quantification of that variable. For instance, in the everybody-tall example above, the domain of discourse consists of John, Mary, and Bob, and in the natural number example, it consists of all the natural numbers.
* B: Uniform continuity of ''f'' on '''R''':
 
::<math> \forall \epsilon >0, \underbrace{\exists \delta > 0, \forall x \in \mathbb{R}}, \forall h \in \mathbb{R}, \quad |h| < \delta\implies |f(x) - f(x+h)| < \epsilon </math>
 
by interchanging the existential and universal quantifiers over the braces in A'.
 
  
== Range of quantification ==
+
The domain of discourse is often specified implicitly in terms of contextual information. For instance, in many contexts, the domain of the discourse may not have to be explicitly stated when it can be guaranteed that certain conversational assumptions are shared (e.g. Mary, John and Bob are the people in question). Certain areas of mathematics assumes the objects that are studied as is in the case of [[set theory]], [[graph theory]], etc. Also, there may be certain convention that are associated with certain contexts. In [[mathematics]], "''n''" is often reserved to quantify the domain of [[natural numbers]] while “''x'',” to quantify over [[real numbers]].
 +
However, the domain of quantification often has to be explicitly specified. For this purpose, we use what is called '''guarded quantification''. For example:
 +
: For some even number ''n'', ''n'' is prime.
 +
Here, the intended domain is being made explicit by the phrase “even number” following the quantifier “some.” In the sense, the phrases “somebody” “nobody” etc. are also the examples of guarded 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 the 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.
+
==Quantification in Formal Language==
 
+
=== Notation for quantifiers ===
A more natural way to restrict the domain of discourse uses ''guarded quantification''.  For example, the guarded quantification
+
In [[formal system|formal language]], the traditional symbol for the universal quantifier is "∀," an inverted 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."
: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 axioms|Zermelo Fraenkel]] set theory, variables range over all [[set]]s.  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 "∀", an inverted 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,  
 
Correspondingly, quantified expressions are constructed as follows,  
: <math> \exists{x}\, P \quad \forall{x}\, P </math>
+
: <math> \exists{x}\, P \quad \forall{x}\, P </math>
 
where "''P''" denotes a formula. Many variant notations are used, such as
 
where "''P''" denotes a formula. Many variant notations are used, such as
: <math> \exists{x}\, P \quad (\exists{x}) P \quad (\exists x \ . \ P) \quad (\exists x : P) \quad \exists{x}(P) \quad \exists_{x}\, P \quad \exists{x}{,}\, P \quad \exists{x}{\in}\mathbb{N}\, P \quad \exists\, x{:}\mathbb{N}\, P</math>
+
: <math> \exists{x}\, P \quad (\exists{x}) P \quad (\exists x \ . \ P) \quad (\exists x : P) \quad \exists{x}(P)</math>
 
All of these variations also apply to universal quantification.
 
All of these variations also apply to universal quantification.
 
Other variations for the universal quantifier are
 
Other variations for the universal quantifier are
 
: <math>(x) \, P \quad \bigwedge_{x} P</math>
 
: <math>(x) \, P \quad \bigwedge_{x} P</math>
  
Early 20th century documents do not use the ∀ symbol. The typical notation was (''x'')''P'' to express "for all ''x'', ''P''", and "(∃''x'')''P''" for "there exists ''x'' such that ''P''"The ∃ symbol was coined by [[Giuseppe Peano]] around 1890. Later, around [[1930]], [[Gerhard Gentzen]] introduced the ∀ symbol to represent universal quantification. [[Gottlob Frege|Frege's]] ''[[Begriffsschrift]]'' used an entirely different notation, which did not include an existential quantifier at all; ∃''x'' ''P'' was always represented instead with the Begriffsschrift equivalent of ¬∀''x'' ¬''P''.
+
Early twentieth-century documents do not use the ∀ symbol. The typical notation was (''x'')''P'' to express "for all ''x'', ''P''," and "(∃''x'')''P''" for "there exists ''x'' such that ''P''." The ∃ symbol was coined by [[Giuseppe Peano]] around 1890. Later, around 1930, Gerhard Gentzen introduced the ∀ symbol to represent universal quantification. [[Gottlob Frege|Frege's]] ''Begriffsschrift'' used an entirely different notation, which did not include an existential quantifier at all; ∃''x'' ''P'' was always represented instead with the Begriffsschrift equivalent of ∀''x'' ''P''.
 
 
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 (logic)|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 occur.  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 ==
+
=== Formal semantics ===
  
[[Mathematical semantics]] is the application of [[mathematics]] to study the [[meaning]] of expressions in a [[formal language|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.
+
Now we illustrate the way the quantifiers are treated in [[formal system|formal languages]] by taking the example of the first-order [[logic]]. The readers are referred to [[predicate calculus]] for more details.  
  
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 given 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
+
An interpretation for first-order [[predicate calculus]] assumes as given
:<math> \forall x (\exists y  B(x,y)) \vee C(y,x) </math>
+
a domain of individuals ''X''. A formula ''A'' whose free variables
the occurrence of both ''x'' and ''y'' in ''C''(''y'',''x'') is free.
 
 
 
[[Image:IMG_Tree.jpg|thumb|323px|left|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 ''x''<sub>1</sub>, ..., ''x''<sub>n</sub> is interpreted as a
 
are ''x''<sub>1</sub>, ..., ''x''<sub>n</sub> is interpreted as a
[[boolean]]-valued function ''F''(''v''<sub>1</sub>, ...,
+
boolean-valued function ''F''(''v''<sub>1</sub>, ...,
 
''v''<sub>''n''</sub>) of ''n'' arguments, where each argument ranges
 
''v''<sub>''n''</sub>) 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
+
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>  
 
:<math> \forall x_n A(x_1, \ldots , x_n) </math>  
is the function ''G'' of ''n''-1 arguments such that ''G''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>) = '''T''' if and only if ''F''(''v''<sub>1</sub>, ..., ''v''<sub>''n''-1</sub>, ''w'') = '''T''' for every ''w'' in ''X''. If ''F''(''v''<sub>1</sub>, ..., ''v''<sub>''n''-1</sub>, ''w'') = '''F''' for at least one value of ''w'', then ''G''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>) = '''F'''. Similarly the interpretation of the formula
+
is the function ''G'' of ''n''-1 arguments such that ''G''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>) = '''T''' if and only if ''F''(''v''<sub>1</sub>, ..., ''v''<sub>''n''-1</sub>, ''w'') = '''T''' for every ''w'' in ''X''. If ''F''(''v''<sub>1</sub>, ..., ''v''<sub>''n''-1</sub>, ''w'') = '''F''' for at least one value of ''w'', then ''G''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>) = '''F'''. Similarly the interpretation of the formula
 
:<math> \exists x_n A(x_1, \ldots , x_n) </math>  
 
:<math> \exists x_n A(x_1, \ldots , x_n) </math>  
is the function ''H'' of ''n''-1 arguments such that ''H''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>) = '''T''' if and only if ''F''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>, ''w'') = '''T''' for at least one ''w'' and ''H''(''v''<sub>1</sub>, ..., ''v''<sub>''n''-1</sub>) = '''F''' otherwise.
+
is the function ''H'' of ''n''-1 arguments such that ''H''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>) = '''T''' if and only if ''F''(''v''<sub>1</sub>, ...,''v''<sub>''n''-1</sub>, ''w'') = '''T''' for at least one ''w'' and ''H''(''v''<sub>1</sub>, ..., ''v''<sub>''n''-1</sub>) = '''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
+
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>  
+
:<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  
 
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> \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>
+
:<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 < ''a'' ≤ ''b'' ≤  1.  If ''A'' is a formula with free variables ''x''<sub>1</sub>,...,''x''<sub>''n''</sub> whose interpretation is
+
=== History of formalization ===
the function ''F'' of variables ''v''<sub>1</sub>,...,''v''<sub>''n''</sub>
+
''Term logic'' treats quantification in a manner that is closer to natural language, and also less suited to formal analysis. ''Aristotelian logic'' treated ''All''', ''Some'' and ''No'' in the first century B.C.E., in an account also touching on the alethic [[modality|modalities]].
then the interpretation of
 
:<math> \exists^{\mathrm{many}} x_n A(x_1, \ldots, x_{n-1}, x_n) </math>
 
is the function of ''v''<sub>1</sub>,...,''v''<sub>''n''-1</sub> which is '''T''' if and only if
 
:<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 ''v''<sub>1</sub>,...,''v''<sub>''n''-1</sub> which is '''F''' if and only if
 
:<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 [[measurable|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.
+
The first variable-based treatment of quantification was [[Gottlob Frege]]'s 1879 ''Begriffsschrift''. To universally quantify a variable, Frege would make a dimple in an otherwise straight line appearing in his diagrammatic formulas, then write the quantified variable over the dimple. Frege did not have a specific notation for existential quantification, instead using the equivalent of <math>\sim\forall x:\sim\ldots</math>. Frege's treatment of quantification went largely unremarked until [[Bertrand Russell]]'s 1903 ''Principles of Mathematics''.
  
== History of formalization ==
+
Meanwhile, [[Charles Sanders Peirce]] and his student O. H. Mitchell independently invented the existential as well as the universal quantifier, in work culminating in Peirce (1885). Peirce and Mitchell wrote Π<sub>x</sub> and Σ<sub>x</sub> where we now write ∀''x'' and ''x''. This notation can be found in the writings of Ernst Schroder, Leopold Loewenheim, Thoralf Skolem, and Polish logicians into the 1950s. It is the notation of [[Kurt Goedel]]'s landmark 1930 paper on the [[completeness]] of first-order [[logic]], and 1931 paper on the incompleteness of Peano arithmetic. Peirce's later existential graphs can be seen as featuring tacit variables whose quantification is determined by the shallowest instance. Peirce's approach to quantification influenced Ernst Schroder, William E. Johnson, and all of Europe via [[Giuseppe Peano]]. Pierce's logic has attracted fair attention in recent decades by those interested in heterogeneous reasoning and diagrammatic inference.
[[Term logic]] treats quantification in a manner that is closer to natural language, and also less suited to formal analysis. [[Aristotelian logic]] treated ''All''', ''Some'' and ''No'' in the [[1st century B.C.E.]], in an account also touching on the [[alethic modalities]].
 
  
The first variable-based treatment of quantification was [[Gottlob Frege]]'s 1879 ''[[Begriffsschrift]]''. To universally quantify a variable, Frege would  make a dimple in an otherwise straight line appearing in his diagrammatic formulas, then write the quantified variable over the dimple. Frege did not have a specific notation for existential quantification, instead using the equivalent of <math>\sim\forall x:\sim\ldots</math>. Frege's treatment of quantification went largely unremarked until [[Bertrand Russell]]'s 1903 ''Principles of Mathematics''.
+
[[Giuseppe Peano|Peano]] notated the universal quantifier as ''(x)''. Hence "''(x)''φ" indicated that the formula φ was true for all values of ''x''. He was the first to employ, in 1897, the notation (∃''x'') for existential quantification. The ''Principia Mathematica'' of [[Alfred North Whitehead|Whitehead]] and [[Bertrand Russell|Russell]] employed Peano's notation, as did [[Quine]] and [[Alonzo Church]] throughout their careers. Gentzen introduced the ∀ symbol 1935 by analogy with Peano's ∃ symbol. ∀ did not become canonical until the 1950s.
 
 
Meanwhile, [[Charles Sanders Peirce]] and his student O. H. Mitchell independently invented the existential as well as the universal quantifier, in work culminating in Peirce (1885). Peirce and Mitchell wrote Π<sub>x</sub> and Σ<sub>x</sub> where we now write ∀''x'' and ∃''x''. This notation can be found in the writings of [[Ernst Schroder]], [[Leopold Loewenheim]], [[Thoralf Skolem]], and Polish logicians into the 1950s. It is the notation of [[Kurt Goedel]]'s landmark 1930 paper on the [[completeness]] of [[first order logic]], and 1931 paper on the incompleteness of [[Peano arithmetic]]. Peirce's later [[existential graph]]s can be seen as featuring tacit variables whose quantification is determined by the shallowest instance. Peirce's approach to quantification influenced [[Ernst Schroder]], [[William E. Johnson]], and all of Europe via [[Giuseppe Peano]]. Pierce's logic has attracted fair attention in recent decades by those interested in [[heterogeneous reasoning]] and [[logical graph|diagrammatic inference]].
 
 
 
[[Peano]] notated the universal quantifier as (''x''). Hence "(''x'')φ" indicated that the formula φ was true for all values of ''x''. He was the first to employ, in 1897, the notation (∃''x'') for existential quantification. The ''[[Principia Mathematica]]'' of [[Alfred North Whitehead|Whitehead]] and [[Bertrand Russell|Russell]] employed Peano's notation, as did [[Quine]] and [[Alonzo Church]] throughout their careers. [[Gentzen]] introduced the ∀ symbol 1935 by analogy with Peano's ∃ symbol. ∀ did not become canonical until the 1950s.
 
  
 
==References==
 
==References==
*[[Jon Barwise]] and [[John Etchemendy]], 2000. ''Language Proof and Logic''. CSLI (University of Chicago Press) and New York: Seven Bridges Press. A gentle introduction to [[first order logic]] by two first rate logicians.
+
* Barwise, Jon, and John Etchemendy. ''Language, proof, and logic''. Stanford, Calif.: CSLI Publications, 2002. ISBN 1889119083
* [[Gottlob Frege]], 1879. ''[[Begriffsschrift]]''. Translated in [[Jean van Heijenoort]], 1967. ''From Frege to Godel: A Source Book on Mathematical Logic, 1879-1931''. Harvard Univ. Press. The first appearance of quantification.
+
* Frege, Gottlob. 1879. ''Begriffsschrift''. Translated by Jean van Heijenoort, 1967. ''From Frege to Godel: A Source Book on Mathematical Logic, 1879-1931''. Harvard Univ. Press.
* [[David Hilbert]] and [[Wilhelm Ackermann]], 1950 (1928). ''[[Principles of Theoretical Logic]]''. Chelsea. Translation of ''Grundzüge der theoretischen Logik''. Springer-Verlag. The 1928 first edition is the first time quantification was consciously employed in the now-predominant manner, namely as the defining aspect of [[first order logic]].
+
* Hilbert, David, and Wilhelm Ackermann. 1950 (1928). ''Principles of Theoretical Logic''. Chelsea. Translation of ''Grundzüge der theoretischen Logik''. Springer-Verlag.
*[[Charles Peirce]], 1885, "On the Algebra of Logic: A Contribution to the Philosophy of Notation, ''American Journal of Mathematics 7'': 180-202. Reprinted in Kloesel, N. et al, eds., 1993. ''Writings of C. S. Peirce, Vol. 5''. Indiana Univ. Press. The first appearance of quantification in anything like its present form.
+
* Peirce, Charles. 1885. "On the Algebra of Logic: A Contribution to the Philosophy of Notation,''American Journal of Mathematics 7'': 180-202. Reprinted by Kloesel, N. et al, (eds.), 1993. ''Writings of C. S. Peirce, Vol. 5''. Indiana Univ. Press.
* [[Hans Reichenbach]], 1975 (1947). ''Elements of Symbolic Logic'', Dover Publications. The quantifiers are discussed in chapters §18 "Binding of variables" through §30 "Derivations from Synthetic Premises".
+
* Reichenbach, Hans. 1975 (1947). ''Elements of Symbolic Logic''. Dover Pubns, 1980. ISBN 0486240045
* Wiese, 2003. ''Numbers, language, and the human mind''.  Cambridge University Press. ISBN 0-521-83182-2.
+
*Westerstahl, Dag. "Quantifiers" in Goble, Lou (ed.), ''The Blackwell Guide to Philosophical Logic''. Malden, Mass.: Blackwell Publishers, 2001. ISBN 0631206922
*Westerstahl, Dag, 2001, "Quantifiers," in Goble, Lou, ed., ''The Blackwell Guide to Philosophical Logic''. Blackwell.
 
  
 
==External links==
 
==External links==
* http://www.stanford.edu/group/nasslli/courses/peters-wes/PWbookdraft2-3.pdf
+
All links retrieved December 6, 2022.
 
 
[[Category:logic]]
 
[[Category:Mathematical logic]]
 
[[Category:Philosophical logic]]
 
[[Category:Semantics]]
 
 
 
[[da:Kvantor]]
 
[[de:Quantor]]
 
[[eo:Kvantoro]]
 
[[fr:Quantification (physique)]]
 
[[it:Quantificatore]]
 
[[nl:Kwantor]]
 
[[pl:Kwantyfikator]]
 
[[ru:Квантор]]
 
[[sv:Kvantifikator]]
 
[[zh:量化 (数理逻辑)]]
 
  
 +
*[http://plato.stanford.edu/entries/generalized-quantifiers/ Generalized Quantifiers] Stanford Encyclopedia of Philosophy.
  
 +
===General Philosophy Sources===
 +
*[http://plato.stanford.edu/ Stanford Encyclopedia of Philosophy]
 +
*[http://www.iep.utm.edu/ The Internet Encyclopedia of Philosophy]
 +
*[http://www.bu.edu/wcp/PaidArch.html Paideia Project Online]
 +
*[http://www.gutenberg.org/ Project Gutenberg]
 +
 +
[[category:Philosophy and religion]]
 +
[[Category:philosophy]]
  
 
{{credit|75125720}}
 
{{credit|75125720}}

Latest revision as of 04:04, 7 December 2022

In linguistics, logic, and mathematics etc., quantification is the kind of linguistic construction that specifies the quantity of individuals in the domain of discourse that satisfy given conditions. Quantification is used in both natural languages and formal languages, and the linguistic elements, formal or informal, that generate quantification are called quantifiers. Examples of quantifiers in a natural language include: every, some, many, few, most, half and no, etc. Quantifiers also allow quantified statements such as “Every natural number has a successor,” “Some natural numbers are even.” In formal languages, quantifiers are formula constructors that produce new formulas from old ones. The two fundamental kinds of quantification in predicate logic are universal quantification and existential quantification. The traditional symbol for the universal quantifier "all" is "∀," an inverted letter "A," and for the existential quantifier "exists" is "∃," a rotated letter "E." These quantifiers have been formalized and considered in various areas.

Quantification in natural language

The notion of quantification in the context of linguistics, logic and mathematics denotes the kind of linguistic construction that specifies the quantity of individuals in the domain of discourse that satisfy given conditions. The linguistic elements that generates quantified statements are called quantifiers. Examples of quantifiers in a natural language, such as English, include: every, some, for all, most, half, two, three, no, etc. These expressions allow statements such as:

  • 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 nobody in his class that was able to correctly answer every question that I submitted.
  • A lot of people are smart.

Importance of Quantifiers

In considering the following quantified statement:

Everybody in the room is tall.

one would assume that if there are only three people in the room, say John, Mary, Bob, the quantified statement can be considered as equivalent to the following conjunctive statement:

John is tall, Mary is tall and Bob is tall.

However, this does not mean that we can always translate given quantified statements equivalently to some statements without quantification. We may not have the names of all the things that are being referred to when we make quantified statements. In addition, the statement cannot be translated directly even with the knowledge of the names for all the considered objects. Consider the following statement:

Every natural number is greater than –1.

This quantified statement may be considered as translatable to an equivalent statement without quantification by enumerating all the instances of “n> -1” with respect to natural numbers and form an infinite conjunction of those instances of the following form:

0> -1, and 1> -1, and 2> -1, …, and n > -1, ...

However, this translation may be a problem from the standpoint of natural languages, since we expect syntactical rules of natural languages to generate finite linguistic expressions. The problem does not stop here, even when one accepts such an infinite conjunction. For example:

Every irrational number is not 1.

In the case of the natural number case above, we could enumerate all the instances of natural numbers and thus could think about the possibility of forming the infinite conjunction, but, in our present example, irrational numbers cannot be enumerated. Thus we would have no way of enumerating all the conjuncts unless we accept that our language can contain more elements than can be enumerated.

As we can see in these examples, quantification allows us to express a variety of concepts that may be otherwise inexpressible.

Nesting of quantifiers

Many quantified statements have nested structures and the order of quantification in a given structure is often very important to understand what is meant to be conveyed. First:

For any natural number n, there is a natural number s such that s = n × n.

This is clearly true; it just asserts that every number has a square. The meaning of the assertion in which the quantifiers are turned around is quite different:

There is a natural number s such that for any natural number n, s = n × n.

This is clearly false; it asserts that there is a single natural number s that is at once the square of every natural number. This illustrates a fundamentally important point when quantifiers are nested: The order of alternation of quantifiers is of absolute importance.

In addition, unlike these examples, in some quantified statements the intended order of nested quantification is ambiguous:

Everybody likes somebody.

This can mean two different things. One is that every single person likes some person, and those who are liked are possibly different. The other is that some single person is liked by everybody. This type of ambiguity abounds in our everybody conversation and what is meant by a given quantified statement must often be skimmed from the contextual information in the discourse.

Range of quantification

Quantification involves a domain of discourse or range of quantification of that variable. For instance, in the everybody-tall example above, the domain of discourse consists of John, Mary, and Bob, and in the natural number example, it consists of all the natural numbers.

The domain of discourse is often specified implicitly in terms of contextual information. For instance, in many contexts, the domain of the discourse may not have to be explicitly stated when it can be guaranteed that certain conversational assumptions are shared (e.g. Mary, John and Bob are the people in question). Certain areas of mathematics assumes the objects that are studied as is in the case of set theory, graph theory, etc. Also, there may be certain convention that are associated with certain contexts. In mathematics, "n" is often reserved to quantify the domain of natural numbers while “x,” to quantify over real numbers. However, the domain of quantification often has to be explicitly specified. For this purpose, we use what is called 'guarded quantification. For example:

For some even number n, n is prime.

Here, the intended domain is being made explicit by the phrase “even number” following the quantifier “some.” In the sense, the phrases “somebody” “nobody” etc. are also the examples of guarded quantification.

Quantification in Formal Language

Notation for quantifiers

In formal language, the traditional symbol for the universal quantifier is "∀," an inverted 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,

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

All of these variations also apply to universal quantification. Other variations for the universal quantifier are

Early twentieth-century documents do not use the ∀ symbol. The typical notation was (x)P to express "for all x, P," and "(∃x)P" for "there exists x such that P." The ∃ symbol was coined by Giuseppe Peano around 1890. Later, around 1930, Gerhard Gentzen introduced the ∀ symbol to represent universal quantification. Frege's Begriffsschrift used an entirely different notation, which did not include an existential quantifier at all; ∃x P was always represented instead with the Begriffsschrift equivalent of ∀x P.

Formal semantics

Now we illustrate the way the quantifiers are treated in formal languages by taking the example of the first-order logic. The readers are referred to predicate calculus for more details.

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

is the function G of n-1 arguments such that G(v1, ...,vn-1) = T if and only if 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

is the function H of n-1 arguments such that H(v1, ...,vn-1) = T if and only if 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

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

History of formalization

Term logic treats quantification in a manner that is closer to natural language, and also less suited to formal analysis. Aristotelian logic treated All', Some and No in the first century B.C.E., in an account also touching on the alethic modalities.

The first variable-based treatment of quantification was Gottlob Frege's 1879 Begriffsschrift. To universally quantify a variable, Frege would make a dimple in an otherwise straight line appearing in his diagrammatic formulas, then write the quantified variable over the dimple. Frege did not have a specific notation for existential quantification, instead using the equivalent of . Frege's treatment of quantification went largely unremarked until Bertrand Russell's 1903 Principles of Mathematics.

Meanwhile, Charles Sanders Peirce and his student O. H. Mitchell independently invented the existential as well as the universal quantifier, in work culminating in Peirce (1885). Peirce and Mitchell wrote Πx and Σx where we now write ∀x and ∃x. This notation can be found in the writings of Ernst Schroder, Leopold Loewenheim, Thoralf Skolem, and Polish logicians into the 1950s. It is the notation of Kurt Goedel's landmark 1930 paper on the completeness of first-order logic, and 1931 paper on the incompleteness of Peano arithmetic. Peirce's later existential graphs can be seen as featuring tacit variables whose quantification is determined by the shallowest instance. Peirce's approach to quantification influenced Ernst Schroder, William E. Johnson, and all of Europe via Giuseppe Peano. Pierce's logic has attracted fair attention in recent decades by those interested in heterogeneous reasoning and diagrammatic inference.

Peano notated the universal quantifier as (x). Hence "(x)φ" indicated that the formula φ was true for all values of x. He was the first to employ, in 1897, the notation (∃x) for existential quantification. The Principia Mathematica of Whitehead and Russell employed Peano's notation, as did Quine and Alonzo Church throughout their careers. Gentzen introduced the ∀ symbol 1935 by analogy with Peano's ∃ symbol. ∀ did not become canonical until the 1950s.

References
ISBN links support NWE through referral fees

  • Barwise, Jon, and John Etchemendy. Language, proof, and logic. Stanford, Calif.: CSLI Publications, 2002. ISBN 1889119083
  • Frege, Gottlob. 1879. Begriffsschrift. Translated by Jean van Heijenoort, 1967. From Frege to Godel: A Source Book on Mathematical Logic, 1879-1931. Harvard Univ. Press.
  • Hilbert, David, and Wilhelm Ackermann. 1950 (1928). Principles of Theoretical Logic. Chelsea. Translation of Grundzüge der theoretischen Logik. Springer-Verlag.
  • Peirce, Charles. 1885. "On the Algebra of Logic: A Contribution to the Philosophy of Notation,” American Journal of Mathematics 7: 180-202. Reprinted by Kloesel, N. et al, (eds.), 1993. Writings of C. S. Peirce, Vol. 5. Indiana Univ. Press.
  • Reichenbach, Hans. 1975 (1947). Elements of Symbolic Logic. Dover Pubns, 1980. ISBN 0486240045
  • Westerstahl, Dag. "Quantifiers" in Goble, Lou (ed.), The Blackwell Guide to Philosophical Logic. Malden, Mass.: Blackwell Publishers, 2001. ISBN 0631206922

External links

All links retrieved December 6, 2022.

General Philosophy Sources

Credits

New World Encyclopedia writers and editors rewrote and completed the Wikipedia article in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution. Credit is due under the terms of this license that can reference both the New World Encyclopedia contributors and the selfless volunteer contributors of the Wikimedia Foundation. To cite this article click here for a list of acceptable citing formats.The history of earlier contributions by wikipedians is accessible to researchers here:

The history of this article since it was imported to New World Encyclopedia:

Note: Some restrictions may apply to use of individual images which are separately licensed.