Nested Quantifiers: Maria Tamoor
Nested Quantifiers: Maria Tamoor
Nested Quantifiers: Maria Tamoor
Maria Tamoor
Nested quantifiers
Nested quantifiers commonly occur in mathematics and
computer science.
Nested quantifiers, where one quantifier is within the scope
of another, such as
Assume that the domain for the variables x and y consists of all
real numbers. The statement
∀x∀y(x + y = y + x) says that x + y = y + x for all real numbers
x and y. This is the commutative law for addition
of real numbers. Likewise, the statement
∀x∃y(x + y = 0) says that for every real number x there is a real
number y such that x + y = 0.
This states that every real number has an additive inverse.
Translate into English the statement
∀x∀y((x > 0) ∧ (y < 0) → (xy < 0))
where the domain for both variables consists of all real
numbers.
“The product of a positive real number and a negative
real number is always a negative real number.”
Let Q(x, y) denote “x + y = 0.” What are the truth values of the
quantifications ∃y∀xQ(x, y) and ∀x∃yQ(x, y), where the domain
for all variables consists of all real numbers?
∃y∀xQ(x, y) denotes the proposition
“There is a real number y such that for every real number x, Q(x,
y).”
so its false
∀x∃yQ(x, y)
denotes the proposition
“For every real number x there is a real number y such that Q(x,
y).”
so its true
“The sum of two positive integers is always positive”
into a logical expression.
∀x∀y((x > 0) ∧ (y > 0) → (x +y > 0)),
where the domain for both variables consists of all
integers
Nesting of Quantifiers