Discrete Structures Lecture 4
Discrete Structures Lecture 4
(Discrete Mathematics)
Fall 2016
Lecture - 4
Nested
Quantifiers
Quantifiers with Restricted Domain
•
Quantifiers with Restricted Domain
•
Quantifiers with Restricted Domain
Quantifiers with Restricted Domain
Nested Quantifiers
• Two quantifiers are nested if one is within scope of other,
such as
∀x∃y(x + y = 0).
• Solution:
The quantification ∃y∀xQ(x, y) denotes the
proposition
“There is a real number y such that for every real number x,
Q(x, y).”
• No matter what value of y is chosen, there is only one value
of x for which x + y = 0. Because there is no real number y
such that x + y = 0 for all real numbers x, the statement
∃y∀xQ(x, y) is false.
Example
• The quantification ∀x∃yQ(x, y) denotes the proposition
“For every real number x there is a real number y
such that Q(x, y).”
• xy P(x,y)
• P(x,y) = (x+y == 0) is true
Example
• Examples:
• ¬(xy P(x,y)) = x ¬y P(x,y) = xy ¬P(x,y)
• ¬(xyz P(x,y,z)) = x¬yz P(x,y,z)
= xy ¬ z P(x,y,z) = xyz ¬P(x,y,z)
Negating Multiple Quantifiers