Lably
Skip to content

Generalized quantifier

Expression denoting a set of sets in formal semantics

  • 9 min read
  • 4 chapters

Related on Lably

Through Semantics, Structure (mathematical logic) and Interpretation (logic)

Model theory

Definition

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 M of the language, and an interpretation I of the variables, we write M⊨I∀xψ to mean "a quantified formula ∀xψ is modelled by the model M with the interpretation I". By definition,M⊨I∀xψ⟺∀a∈M,M⊨I[a/x]ψwhere M is the universe of the model M.

Similarly,M⊨I∃xψ⟺∃a∈M,M⊨I[a/x]ψThis can be written in set-theoretic notation asM⊨I∀xψ⟺{a∈M:M⊨I[a/x]ψ}∈{M}M⊨I∃xψ⟺{a∈M:M⊨I[a/x]ψ}∈{S∈P(M):S≠∅}where P 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:M⊨I∀xψ⟺{a∈M:M⊨I[a/x]ψ}∈∀MM⊨I∃xψ⟺{a∈M:M⊨I[a/x]ψ}∈∃Mwhere ∀M:={M} is the model of the symbol ∀ in the model M, and ∃M:={S∈P(M):S≠∅} is the model of the symbol ∃ in the model M.

Therefore, we can define the model of a generalized quantifier as follows. Given a first-order language augmented with generalized quantifiers Q1,Q2,…, a model M of the language models each Qn as a set QnM⊂P(M), such thatM⊨IQnxψ⟺{a∈M:M⊨I[a/x]ψ}∈QnMMore generally, a quantifier Q may quantify over k variables. Then its model is a set QM⊂P(Mk). The type of such a quantifier is ⟨k⟩.

Equivalently, since a subset of Mk can be regarded as a k-ary relation on M, a quantifier over k variables can be regarded as a predicate for k-ary relations on M.

More generally, a quantifier Q is used as follows: Qx1,1,…,x1,m1;x2,1,…,x2,m2;…;xn,1,…,xn,mn(ψ1,…,ψn)It is modelled by an n-ary relation over m1-ary relation, m2-ary relation, ..., mn-ary relation over M. This general definition a generalized quantifier definition is sometimes called a Lindström quantifier.

Such a quantifier is said to have signature ⟨m1,m2,…,mn⟩. If its signature is of form ⟨1,1,…,1⟩, then it is monadic, otherwise it is polyadic.

Examples

Of type ⟨1⟩:

  • ∃=1 meaning "there exists exactly 1" is defined by ∃=1M:={{a}:a∈M}
  • And more generally, we can define ∃=2,∃=3,… by ∃=2M:={{a,b}:a∈M,b∈M,a≠b}, etc.
  • ∃≤n meaning "there exists at most n" is defined by ∃≤nM:={S:S⊂M,|S|≤n}.
  • ∃≥ω meaning "there exists infinitely many" is defined by ∃≥ωM:={S:S⊂M,S is infinite}.
  • The Rescher quantifier, meaning "more often than not" is defined by QRM:={S:S⊂M,|S|>|M∖S|}.

Of type ⟨2⟩:

  • W meaning "is a well-ordering" is defined by WM:={S:S⊂M×M,S is a well-ordering of M}. For example, Wxy,x<y means "< is a well-ordering". Given a model M of Wxy,x<y, the structure (M,<M) 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 Q2, defined by S∈(Q2)M iff there is an infinite A⊂M, such that ∀x≠y∈A,(x,y)∈S. For example, the infinite Ramsey theorem states that if one has an infinite set M, 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 C1,…,Cm be 2-ary relations, such that Ci(x,y) means x≠y and the edge (x,y) is colored with the i-th color. Then the infinite Ramsey theorem states that ⋁i=1mQ2(Ci).

Of type ⟨n⟩:

  • Ramsey quantifier Qn, defined by S∈(Qn)M iff there is an infinite A⊂M, such that any size-n subset {a1,…,an}⊂A, we have (a1,…,an)∈S. The infinite Ramsey theorem can be stated with Qn.

Of type ⟨1, 1⟩:

  • "All" is defined by AllM:={(A,B):A⊂B,B⊂M}. For example, "all men are mortal" is written as All x,y,(man(x),mortal(y)). 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".

Operations

Quantifiers can be combined and modified to create more quantifiers, using operations upon quantifiers.

Relativization: An n-ary relation R on a set M can be relativized to a subset N⊂M, by defining R↾N:=R∩Nn. In other words, ∀a1,…,an∈N,R↾N(a1,…,an)⟺R(a1,…,an)Using this operation, a quantifier Q of type ⟨m1,…,mn⟩ can be relativized to a quantifier Qrel of type ⟨1,m1,…,mn⟩ by taking its first slot to be the set over which it relativizes:QrelM(N,R1,…,Rn):=QM(R1↾N,…,Rn↾N)Iteration: Given two ⟨1⟩ quantifiers Q,Q′, we have a ⟨2⟩ quantifier Q⋅Q′. This is obtained by generalizing the construction for ∀,∃. Specifically, given a binary relation R, the sentence ∀x∃y,R(x,y) can be analyzed as (∀⋅∃)xy,R(x,y), where ∀⋅∃ is a ⟨2⟩ quantifier obtained by iterating ∀ to ∃.

A model M models ∀x∃y,R(x,y) iff ∀M({a∈M:∃M(RM(a,⋅))}), where RM(a,⋅) is the 1-ary relation on M obtained by plugging in a∈M to the first slot of the 2-ary relation R on M.

Generalizing, given two quantifiers Q,Q′ of types ⟨1⟩, ⟨1⟩, they iterate to a type ⟨2⟩ quantifier:(Q⋅Q′)M(RM):=QM({a∈M:Q′M(RM(a,⋅))})Given Q1,…,Qn quantifiers of types ⟨m1⟩,…,⟨mn⟩, they iterate to Q1⋅⋯⋅Qn, a ⟨m1+⋯+mn⟩ quantifier.

Resumption: Given a quantifier Q of type ⟨1,…,1⟩, it can be resumed to a quantifier Resk⁡(Q) of type ⟨k,…,k⟩, using the fact that a k-ary relation R on a set M is the same as a 1-ary relation on Mk:Resk⁡(Q)M(R1,…,Rn)⟺QM(R1,…,Rn)Note that though they are formally the same, their types are different. One is To see it, consider the resumption of ∃. The formula ∃x,first(x)=second(x) is a formula that is interpreted over a model for which "first" and "second" are defined, in particular models whose universes are of form M×M, whereas Res2⁡(∃)x1x2,x1=x2 is a formula that is interpreted over a plain model.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Language and linguistics