Generalized quantifier
In formal semantics, a generalized quantifier (GQ) is an expression that denotes a set of sets. This is the standard semantics assigned to quantified noun phrases. For example, the generalized quantifier every boy denotes the set of sets of which every boy is a member: { X ∣ ∀ x ( x is a boy → x ∈ X ) } {\displaystyle \{X\mid \forall x(x{\text{ is a boy}}\to x\in X)\}} This treatment of quantifiers has been essential in achieving a compositional semantics for sentences containing quantifiers.
In formal semantics, a generalized quantifier (GQ) is an expression that denotes a set of sets. This is the standard semantics assigned to quantified noun phrases. For example, the generalized quantifier every boy denotes the set of sets of which every boy is a member: This treatment of quantifiers has been essential in achieving a compositional semantics for sentences containing quantifiers.[1][2]
Model theory
[edit]Definition
[edit]In first-order logic, there are two quantifiers . They have a fixed meaning in model-theoretic semantics (that is, set-theoretic semantics) of first-order logic, as follows.
Given a first-order language, a model of the language, and an interpretation of the variables, we write to mean "a quantified formula is modelled by the model with the interpretation ". By definition,where is the universe of the model .
Similarly,This can be written in set-theoretic notation aswhere denotes the power set operation.
This may appear somewhat circular, as set theory is usually formalized in a first-order logic (as in ZFC set theory). However, if one takes such a set theory as a given base, then one can build other first-order logics over this base set theory. This is the typical perspective taken in model theory.
Next, we consider themselves as symbols that are being modelled. This is similar to how equality itself interpreted as a binary relation symbol in first-order logic with equality. Then we rewrite again:where is the model of the symbol in the model , and is the model of the symbol in the model .
Therefore, we can define the model of a generalized quantifier as follows. Given a first-order language augmented with generalized quantifiers , a model of the language models each as a set , such thatMore generally, a quantifier may quantify over k variables. Then its model is a set . The type of such a quantifier is .
Equivalently, since a subset of can be regarded as a k-ary relation on , a quantifier over k variables can be regarded as a predicate for k-ary relations on .
More generally, a quantifier is used as follows: It is modelled by an n-ary relation over -ary relation, -ary relation, ..., -ary relation over . This general definition a generalized quantifier definition is sometimes called a Lindström quantifier.
Such a quantifier is said to have signature . If its signature is of form , then it is monadic, otherwise it is polyadic.
Examples
[edit]Of type ⟨1⟩:
- meaning "there exists exactly 1" is defined by
- And more generally, we can define by , etc.
- meaning "there exists at most n" is defined by .
- meaning "there exists infinitely many" is defined by .
- The Rescher quantifier, meaning "more often than not" is defined by .
Of type ⟨2⟩:
- meaning "is a well-ordering" is defined by . For example, means " is a well-ordering". Given a model of , the structure is a well-ordered partially ordered set. Notably, well-ordering is not axiomatizable in standard first-order logic, thus showing that we have expanded the power of the logical language.
- Ramsey quantifier , defined by iff there is an infinite , such that . For example, the infinite Ramsey theorem states that if one has an infinite set , and draw an edge between any pair of points, and color each edge from one of a finite number of colors, then there exists an infinite clique of the same color. Let be 2-ary relations, such that means and the edge is colored with the i-th color. Then the infinite Ramsey theorem states that .
Of type ⟨n⟩:
- Ramsey quantifier , defined by iff there is an infinite , such that any size-n subset , we have . The infinite Ramsey theorem can be stated with .[3]
Of type ⟨1, 1⟩:
- "All" is defined by . For example, "all men are mortal" is written as . Similarly, "Some", "Not any", and "Not all" are of type ⟨1, 1⟩. In this way, the 4 types of sentences in term logic are naturally expressed in first-order logic with generalized quantifiers.
- Similarly, "at least 5", "exactly 3", "an even number of", "there are more than", .
- The Härtig quantifier, meaning "equally many".[4]
Operations
[edit]Quantifiers can be combined and modified to create more quantifiers, using operations upon quantifiers.
Relativization: An n-ary relation on a set can be relativized to a subset , by defining . In other words, Using this operation, a quantifier of type can be relativized to a quantifier of type by taking its first slot to be the set over which it relativizes:Iteration: Given two ⟨1⟩ quantifiers , we have a ⟨2⟩ quantifier . This is obtained by generalizing the construction for . Specifically, given a binary relation , the sentence can be analyzed as , where is a ⟨2⟩ quantifier obtained by iterating to .
A model models iff , where is the 1-ary relation on obtained by plugging in to the first slot of the 2-ary relation on .
Generalizing, given two quantifiers of types ⟨1⟩, ⟨1⟩, they iterate to a type ⟨2⟩ quantifier:Given quantifiers of types , they iterate to , a quantifier.
Resumption: Given a quantifier of type , it can be resumed to a quantifier of type , using the fact that a k-ary relation on a set is the same as a 1-ary relation on :Note that though they are formally the same, their types are different. One is To see it, consider the resumption of . The formula is a formula that is interpreted over a model for which "first" and "second" are defined, in particular models whose universes are of form , whereas is a formula that is interpreted over a plain model.
Type theory
[edit]A version of type theory is often used to make the semantics of different kinds of expressions explicit. The standard construction defines the set of types recursively as follows:
- e and t are types.
- If a and b are both types, then so is
- Nothing is a type, except what can be constructed on the basis of lines 1 and 2 above.
Given this definition, we have the simple types e and t, but also a countable infinity of complex types, some of which include:
- Expressions of type e denote elements of the universe of discourse, the set of entities the discourse is about. This set is usually written as . Examples of type e expressions include John and he.
- Expressions of type t denote a truth value, usually rendered as the set , where 0 stands for "false" and 1 stands for "true". Examples of expressions that are sometimes said to be of type t are sentences or propositions.
- Expressions of type denote functions from the set of entities to the set of truth values. This set of functions is rendered as . Such functions are characteristic functions of sets. They map every individual that is an element of the set to "true", and everything else to "false." It is common to say that they denote sets rather than characteristic functions, although, strictly speaking, the latter is more accurate. Examples of expressions of this type are predicates, nouns and some kinds of adjectives.
- In general, expressions of complex types denote functions from the set of entities of type to the set of entities of type , a construct we can write as follows: .
We can now assign types to the words in our sentence above (Every boy sleeps) as follows.
- Type(boy) =
- Type(sleeps) =
- Type(every) =
- Type(every boy) =
and so we can see that the generalized quantifier in our example is of type
Thus, every denotes a function from a set to a function from a set to a truth value. Put differently, it denotes a function from a set to a set of sets. It is that function which for any two sets A,B, every(A)(B)= 1 if and only if .
Typed lambda calculus
[edit]A useful way to write complex functions is the lambda calculus. For example, one can write the meaning of sleeps as the following lambda expression, which is a function from an individual x to the proposition that x sleeps. Such lambda terms are functions whose domain is what precedes the period, and whose range are the type of thing that follows the period. If x is a variable that ranges over elements of , then the following lambda term denotes the identity function on individuals:
We can now write the meaning of every with the following lambda term, where X,Y are variables of type :
If we abbreviate the meaning of boy and sleeps as "B" and "S", respectively, we have that the sentence every boy sleeps now means the following: By β-reduction, and
The expression every is a determiner. Combined with a noun, it yields a generalized quantifier of type .
Properties
[edit]Monotonicity
[edit]Monotone increasing GQs
[edit]A generalized quantifier GQ is said to be monotone increasing (also called upward entailing) if, for every pair of sets X and Y, the following holds:
- if , then GQ(X) entails GQ(Y).
The GQ every boy is monotone increasing. For example, the set of things that run fast is a subset of the set of things that run. Therefore, the first sentence below entails the second:
- Every boy runs fast.
- Every boy runs.
Monotone decreasing GQs
[edit]A GQ is said to be monotone decreasing (also called downward entailing) if, for every pair of sets X and Y, the following holds:
- If , then GQ(Y) entails GQ(X).
An example of a monotone decreasing GQ is no boy. For this GQ we have that the first sentence below entails the second.
- No boy runs.
- No boy runs fast.
The lambda term for the determiner no is the following. It says that the two sets have an empty intersection. Monotone decreasing GQs are among the expressions that can license a negative polarity item, such as any. Monotone increasing GQs do not license negative polarity items.
- Good: No boy has any money.
- Bad: *Every boy has any money.
Non-monotone GQs
[edit]A GQ is said to be non-monotone if it is neither monotone increasing nor monotone decreasing. An example of such a GQ is exactly three boys. Neither of the following sentences entails the other.
- Exactly three students ran.
- Exactly three students ran fast.
The first sentence does not entail the second. The fact that the number of students that ran is exactly three does not entail that each of these students ran fast, so the number of students that did that can be smaller than 3. Conversely, the second sentence does not entail the first. The sentence exactly three students ran fast can be true, even though the number of students who merely ran (i.e. not so fast) is greater than 3.
The lambda term for the (complex) determiner exactly three is the following. It says that the cardinality of the intersection between the two sets equals 3.
Conservativity
[edit]A determiner D is said to be conservative if the following equivalence holds: For example, the following two sentences are equivalent.
- Every boy sleeps.
- Every boy is a boy who sleeps.
It has been proposed that all determiners—in every natural language—are conservative.[2] The expression only is not conservative. The following two sentences are not equivalent. But it is, in fact, not common to analyze only as a determiner. Rather, it is standardly treated as a focus-sensitive adverb.
- Only boys sleep.
- Only boys are boys who sleep.
See also
[edit]References
[edit]- ^ Montague, Richard (1974). "The proper treatment of quantification in English". In Kulas, J.; Fetzer, J.H.; Rankin, T.L. (eds.). Philosophy, Language, and Artificial Intelligence (PDF). Studies in Cognitive Systems. Vol. 2. Springer, Dordrecht. pp. 141–162. doi:10.1007/978-94-009-2727-8_7. ISBN 978-94-010-7726-2.
- ^ a b Barwise, Jon; Cooper, Robin (1981). "Generalized quantifiers and natural language". Linguistics and Philosophy. 4 (2): 159–219. doi:10.1007/BF00350139.
- ^ Schmerl, James H.; Simpson, Stephen G. (1982-06). "On the role of Ramsey quantifiers in first order arithmetic". The Journal of Symbolic Logic. 47 (2): 423–435. doi:10.2307/2273152. ISSN 0022-4812.
{{cite journal}}: Check date values in:|date=(help) - ^ Herre, Heinrich; Krynicki, Michał; Pinus, Alexandr; Väänänen, Jouko (1991-12). "The Härtig quantifier: a survey". The Journal of Symbolic Logic. 56 (4): 1153–1183. doi:10.2307/2275466. ISSN 0022-4812.
{{cite journal}}: Check date values in:|date=(help)
Further reading
[edit]- Stanley Peters; Dag Westerståhl (2006). Quantifiers in language and logic. Clarendon Press. ISBN 978-0-19-929125-0.
- Antonio Badia (2009). Quantifiers in Action: Generalized Quantification in Query, Logical and Natural Languages. Springer. ISBN 978-0-387-09563-9.
- Wągiel M (2021). Subatomic quantification (pdf). Berlin: Language Science Press. doi:10.5281/zenodo.5106382. ISBN 978-3-98554-011-2.
External links
[edit]- Dag Westerståhl, 2011. 'Generalized Quantifiers'. Stanford Encyclopedia of Philosophy.