Knaph

Proofs with All and Some17 of 243 min read

Using an All

In Level 4 a proof moved from claim to claim with rules for and, or, if and not. But "All dogs bark" has an all inside it. How does a proof get from an all down to one thing, and from one thing up to a some?

All-out: from every thing to one

Four new rules join the old ones. The first two are easy. All-out (∀E) says: if every x is F, then a is F, for any name a. An all is true of each thing, so it is true of the thing we name.

Here is the Rex argument from the start of this level. Level 4 could not prove it. Now it takes four lines.

Domain: animals in the park
r: Rex
Dx: x is a dog, Bx: x barks

#LineWhy
1∀x(Dx → Bx)premise
2Drpremise
3Dr → Br∀E 1
4Br→E 3, 2

A four-line proof. Lines 1 and 2 are premises: all dogs bark, and Rex is a dog. Line 3, Rex being a dog gives Rex barks, is written by all-out on line 1. Line 4, Rex barks, is arrow-E on lines 3 and 2.

Line 3 reads the all as one if-then about Rex: if Rex is a dog, Rex barks. Line 4 is →E from Level 4. The name may be any name, even one already in the proof. Here we picked r because the premise Dr talks about Rex.

Some-in: from one thing to a some

Some-in (∃I) goes the other way. If a is F, then there is at least one F, and a is the witness. We replace a name by x and put ∃x in front.

Take Ana and Ben. Ana likes Ben: Lab. Then someone likes Ben, and Ana likes someone.

#LineWhy
1Labpremise
2∃x Lxb∃I 1
3∃x Lax∃I 1

A three-line proof. Line 1 is the premise, Ana likes Ben. Line 2, someone likes Ben, and line 3, Ana likes someone, are both written by some-in on line 1.

Line 2 replaces a by x: someone likes Ben. Line 3 replaces b by x: Ana likes someone. One line gave two different somes. The rule may replace some or all of the copies of one name, but only one name at a time.

From all to some

Put the two rules together. Suppose everyone is friendly. Then someone is friendly.

#LineWhy
1∀x Fxpremise
2Fa∀E 1
3∃x Fx∃I 2

A three-line proof. Line 1 says everyone is friendly. Line 2, a is friendly, comes by all-out. Line 3, someone is friendly, comes by some-in.

This works because a domain is never empty. There is at least one thing to call a. If a domain could be empty, an all would be true and a some false.

Careful

From Lab, ∃x Lxx is wrong. ∃I replaces one name, so it cannot turn a and b into the same x. From Laa you may write ∃x Lxx.

Try it at home

  1. Copy the Rex proof. Cover lines 3 and 4 and rebuild them from the premises.
  2. Let Cx mean x is a cat, Px mean x purrs, and k be Kit. Prove Pk from ∀x(Cx → Px) and Ck.
  3. From Lab, write two different ∃ lines. Then try to reach ∃x Lxx and see why it fails.

Words to know

  • all-out (∀E) - from ∀x Fx, write Fa for any name a
  • some-in (∃I) - from Fa, write ∃x Fx; replace some or all copies of one name
  • witness - the thing named in the line that ∃I starts from

Big idea

All-out takes an all down to any named thing. Some-in lifts a named thing up to a some.

Test your understanding

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