Predicates and Quantifiers
A predicate is a statement with a variable, like , which becomes true or false only when is specified. Quantifiers bind variables over a domain to make definite claims.
| Quantifier | Symbol | Meaning | True Condition |
|---|---|---|---|
| Universal | For all , | Holds for every element | |
| Existential | There exists | At least one element satisfies |
Order matters for mixed quantifiers. means for every there is some . This is weaker than , where one single works for every .
Example: Over integers, "for every there is a larger " is true, but "there is a larger than every " is false. Swapping order can change truth value.
Negating Quantifiers
Negation of quantifiers requires pushing the negation inward, flipping the quantifier and negating the predicate:
The negation of "all are " is "some is not ." This is why a single counterexample disproves a universal claim.
Common pitfall: means at least one is not , not that none are . Never swap with , as order completely changes logical meaning.