The existential quantifier is used in predicate logic to ensure a predicate is true for at least one element in a set. It can be thought of as a generalised disjunction
where is the predicate for . Which means there exists (there is at least one) element in that the predicate holds for.
Definition
Existential Quantifier ^definition
Let be a predicate and let be a universe (universal set) consisting of . Then the existential quantifier is applied as:
Which means for at least element in , the predicate must hold.
A convention when having a proper subset , is:
Truth (Existential Quantifier) ^definition-truth
The truth of the existential quantifier requires a model (having universe, and interpretation, ) with a variable assignment, :
- : Refers to truth of the predicate,
- : Refers to on-the-fly variable assignment
The universal quantifier is always true for an empty set, i.e. is true. The existential quantifier is shorthand for the disjunction of the same predicate for every element in the set:
Since the disjunction needs only one of it’s operands to be true.
The existential quantifier is always false for an empty set, i.e. is unsatisfiable
Existential Quantifier Couples With Conjunction
The universal quantifier couples well with conjunction ():
- means all students studying a major
- means is a CS major
- means is employed
The statement above means ‘there exists an employed CS major’. It means there is at least one such person (not me).
Compare with implication:
means ‘there exists a college major, who, if they are studying CS, is employed’. At first glance both statements seem to mean the same thing. However, the problem is that this chosen person could very well be an unemployed person who does not study CS, because implication is always true if the premise is false. Meaning, if I were to pick a random college major, and I know that they are not a CS major, the premise of my implication is false, so the implication is vacuously true. Hence, it does not matter if they are unemployed.
Obviously this is very different than using and far more undesirable.
%%🖋 Edit in Excalidraw, and the dark exported image%%