All as an If
"All dogs bark." The quick way to write it is: for every x, x is a dog and x barks. But read that back aloud. Is it what we meant? How do we write a claim about all the dogs, or some of the dogs, when the domain holds other animals too?
All dogs: an if
Our domain is all the animals in a park, not only dogs. Rex and Fido are dogs. Tom is a cat. "All dogs bark" is about the dogs only.
Try ∀x(Dx ∧ Bx). It reads "for every x, x is a dog and x barks". That says every animal in the park is a barking dog, Tom too. We did not mean that.
Say it as a rule instead: take any animal; if it is a dog, then it barks. That is ∀x(Dx → Bx).
Domain: animals in the park
r: Rex, f: Fido, t: Tom
Dx: x is a dog, Bx: x barks, Mx: x meows
In this park ∀x(Dx → Bx) is true. Check Tom: Dt is false, and an if with a false first part is true (truth tables). Tom does not break the rule. But ∀x(Dx ∧ Bx) is false, because Tom is not a dog.
Some dogs: an and
"Some dogs bark" says at least one animal is both a dog and a barker: ∃x(Dx ∧ Bx).
Why not ∃x(Dx → Bx)? Look at a second park, where Rex and Fido do not bark. Tom is not a dog, so Dt → Bt is true, and Tom is a witness. So ∃x(Dx → Bx) is true, yet no dog barks.
The rule of thumb: ∀ goes with →, and ∃ goes with ∧.
No dogs, and dogs that don't
"No dogs meow" means any dog does not meow: ∀x(Dx → ¬Mx). "Some dogs don't bark" means at least one dog is a non-barker: ∃x(Dx ∧ ¬Bx). The same rule holds. Here they are in the second park.
| Formula | Says | True in the second park? |
|---|---|---|
| ∀x(Dx → Bx) | all dogs bark | false (Rex) |
| ∃x(Dx ∧ Bx) | some dog barks | false |
| ∀x(Dx → ¬Mx) | no dog meows | true |
| ∃x(Dx ∧ ¬Bx) | some dog doesn't bark | true (Rex) |
Always read a translation back in English before you trust it.
Careful
∀x(Dx ∧ Bx) is not "all dogs bark". It says everything in the domain is a barking dog.
Try it at home
- Pick a group, such as the animals in a zoo. Write "All lions sleep" and "Some lions sleep" with a key. Say each back in words.
- Make up a small world where ∃x(Dx → Bx) is true but no dog barks. What kind of thing is the witness?
- Write "No cats bark" and "Some cats don't bark". Which one uses →?
Words to know
- ∀ with → - "all D are B" is written ∀x(Dx → Bx): any thing that is D is also B
- ∃ with ∧ - "some D are B" is written ∃x(Dx ∧ Bx): one thing that is both
- witness - a thing that makes an ∃ claim true
Big idea
Write "all D are B" as ∀x(Dx → Bx) and "some D are B" as ∃x(Dx ∧ Bx): ∀ goes with →, ∃ goes with ∧.