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
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 as
where
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 that
More 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.
Operations
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.