Quantifier
Quantifiers are symbols that allow us to talk about parameters in predicates.
Two kinds:
- Existential Quantification (there exists)
- Universal Quantification (for all)
Quantifiers allow us to form propositions out of predicates without filling in any specific value for parameters.
Existential Quantification
The existential quantifier has the symbol and means "there exists".
The above expression means that "There exists from such that is true
".
We don't get to known which value of works, just that some value of works.
Existential Quantifiers Examples:
- means "There exists an in such that is
true
". - means that
"There exists an in such that is a fish is
true
". - means that "There exists some real number such that is an integer".
Universal Quantification
The universal quantifier has the symbol and means "for all".
The above expression means that "For every in , is always true
".
Universal Quantifiers Examples:
- means that "For all from , is
true
". - means that "For all in , is a cat".
- mean that "All integers are real numbers".
Free Parameters
Consider .
- The parameter is quantified over, so we cannot fill it in.
- The parameter is not quantified over, so we can fill it in.
- is called a free parameter.
- The truth value of depends on the value of parameter .
If there are no free parameters, then the predicate is fully quantified.
Necessary and Sufficient Conditions
When we say:
- is a sufficient condition for .
- is a necessary condition for .
When we say:
- is necessary and sufficient for .
- is necessary and sufficient for .
Statement: "Squareness is a sufficient condition for rectangularity".
We can say that , if is a square, then x is a rectangle.