Knaph

English into All and Some10 of 243 min read

Not All and Not Any

"Not all that glitters is gold." Does it say that nothing which glitters is gold? It does not. "Nobody came" and "not everybody came" also sound close, but they say very different things. How do we put "not" in front of ∀ and ∃?

A big and, a big or

Take a domain of just two things, Ana and Ben. Then "for every x, Fx" says Fa ∧ Fb: both are F. And "there is at least one x with Fx" says Fa ∨ Fb: at least one is F. So ∀ is a big and, and ∃ is a big or.

Now put a ¬ in front. In Level 4 we met De Morgan's rules: ¬(P ∧ Q) says the same as ¬P ∨ ¬Q, and ¬(P ∨ Q) says the same as ¬P ∧ ¬Q.

A world of two children. Only Ana carries the tag F for friendly. Beside it, the claims turned into Fa and Fb joined by and, and by or, with their truth values.

That gives two rules, true for a domain of any size. ¬∀x Fx says the same as ∃x ¬Fx: not everything is F, so something is not F. ¬∃x Fx says the same as ∀x ¬Fx: there is no F thing, so everything is not F.

Two rows. Not for every x, Fx equals there is an x with not Fx. Not there is an x with Fx equals for every x, not Fx. The not moves in, and the quantifier swaps.

Nobody came, not everybody came

Here is the key, and some English put through the two rules.

Domain: people invited to a party
Cx: x came

EnglishFormulaSame as
Nobody came¬∃x Cx∀x ¬Cx: everybody did not come
Not everybody came¬∀x Cx∃x ¬Cx: somebody did not come

"Nobody came" and "not everybody came" are different claims. If Ana came and Ben stayed home, the second is true and the first is false.

"Not all that glitters is gold" is ¬∀x(Gx → Ox), where Gx is "x glitters" and Ox is "x is gold". It means some glittering thing is not gold. It does not mean nothing glittering is gold.

The opposite of an all

What is the opposite of "All dogs bark"? Start with ¬∀x(Dx → Bx). Swap: ∃x ¬(Dx → Bx). An if is false only when its first part is true and its second false (truth tables), so ¬(Dx → Bx) says Dx ∧ ¬Bx. The opposite is ∃x(Dx ∧ ¬Bx): some dog does not bark.

It is not "no dogs bark", which is ∀x(Dx → ¬Bx). In the pictured park Rex barks and Fido does not, so the opposite is true and "no dogs bark" is false.

A park with Rex and Fido, both tagged D for dog, and Tom, a cat. Only Rex carries the tag B for barks.

Try it at home

  1. Take three friends and the claim "everyone has eaten". Write its opposite in two ways, with ¬∀ and with ∃, and say both aloud.
  2. Write "nobody is late" with ¬∃ and with ∀. Say why the two are the same.
  3. Find the opposite of "all swans are white" and write it with a key.

Words to know

  • quantifier negation - the rules that move a ¬ past ∀ or ∃ and swap the quantifier
  • De Morgan's rules - ¬(P ∧ Q) = ¬P ∨ ¬Q, and ¬(P ∨ Q) = ¬P ∧ ¬Q
  • opposite of an all - "some thing is not": ¬∀x Fx = ∃x ¬Fx

Big idea

¬∀x Fx says the same as ∃x ¬Fx, and ¬∃x Fx says the same as ∀x ¬Fx: move the ¬ across the quantifier and swap ∀ and ∃.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.