Nested Quantifiers
Nested Quantifiers: Order, Domain, and Negation
Read quantifiers from left to right
In ∀x ∃y P(x,y), choose an arbitrary x first, then find a y that works for that x. The y may depend on x.
In ∃y ∀x P(x,y), one y is chosen first and must work for every x. The two forms can have dramatically different truth values.
For example, over the integers, every integer has a larger integer, but no one integer is larger than every integer.
The domain is part of the statement
Before assigning true or false, state whether variables range over integers, real numbers, students, sets, or another domain. A claim about a largest element may behave differently in a finite set and in the real numbers. Leaving the domain unstated is not harmless; it changes what witnesses and counterexamples are available.
Negate by changing both layers
The negation of ∀x ∃y P(x,y) is ∃x ∀y ¬P(x,y). In words: it is not true that every x has some y with the property exactly when there is at least one x for which no y has the property.
Swap ∀ with ∃ one layer at a time, then negate the predicate. Do not merely insert the word “not” at the beginning and leave the quantifiers unchanged.
Witnesses and counterexamples
To prove an existential statement, provide a witness and verify it. To refute a universal statement, provide one counterexample in the stated domain. For a nested statement, match the evidence to the order: a different witness for each x can establish ∀x∃y, but it cannot establish ∃y∀x.
Let the domain be the real numbers. Is ∃y ∀x (y ≥ x) true or false?
Which statement is the negation of ∀x ∃y P(x,y)?