Quantifiers and Predicate Logic
Look at this sentence:
Every American has a dream.
Let
Quantifiers that are mostly used are the existential quantifier ("there exists," denoted as
We can try to write that sentence using quantifiers in this way:
It reads as "there exists a dream in the set of dreams such that all Americans have it".
But, it means that there is a dream that every American has, that every American has the same dream. This is not what we wanted!
Let's do it better:
Now, it says that every American has their own dream.
Negating Quantifiers
Let's say that
Both of them mean the same thing.
Also,
This time, let's say that
They also mean the same thing.
These are also called De Morgan's Law for Quantifiers.
Now, let's look at this sentence:
All that glitters is not gold.
If we let
But, it says that "everything that glitters is not gold". Think about it for a minute. Is it what the poet really meant?
The formula is not what we mean it to be; gold glitters — gold is one of the things that glitters, so it is not true that everything that glitters is not gold.
So, the correct way to put it is this:
Now, it says what we mean it to say, "not everything that glitters is gold."