Quantifier

Definition. A quantifier turns a statement about one object into a statement about many: "for all xx, P(x)P(x)" asserts PP of every xx, and "there exists xx with P(x)P(x)" asserts PP of at least one. Negation flips each quantifier and pushes inward: not "for all xx, P(x)P(x)" is "there exists xx with not P(x)P(x)", and not "there exists xx with P(x)P(x)" is "for all xx, not P(x)P(x)". Negating an implication is the third rule you need: not "if PP then QQ" is "PP and not QQ". Quantifier order matters: "every lock has a key" and "some key opens every lock" are different claims.

Introduced in Lecture 1; negating quantifiers correctly is the entire mechanism of disproving Big-O claims and of the pumping lemma arguments in Lecture 4.

Created · Updated
Copyright © 2026 Jared Coleman. All rights reserved.