Even More Logic Practice!

In today's brief lab, we'll continue practicing the skill of applying the rules of natural deduction to write rigorous, low-level proofs.

Note: this "lab" is not due, but will be good practice as you prep for the exam on Friday.

Problem: Logic Practice

For each claim:

  • In a sentence, describe what the claim is saying. Your description should be in the rough form "under assumptions ... we must show that ... ." You can reference the atomic propositions in the claims directly in your description, i.e., you don't need to instantiate the proof state into a real-world context.

  • Now instantiate the claim using real-world statements like "the sun is shining" or "it is cold outside" or "pigs can fly". Try to pick statements that make sense in the context of the claim itself, what is being assumed, and what you are trying to prove.

  • Finally, give a rigorous, natural deduction-style proof of the claim.

Claim 1

.

Strategy for proof:

  • We have 2 ORs to eliminate and 1 arrow to introduce.
  • We can actually do these in pretty much any order and the proof will work.
  • Let's start with the arrow and assume .
  • When we go to elim the , we see that the and will lead to absurdity and give us .
  • In the branch of the OR, we will go to elim the other OR, .
  • In the branch of that OR, the and will lead to absurdity to give us . And the branch gives us .
  • We then just need to close everything out, finishing the two OR eliminations, and finally finishing the arrow introduction.

Proof

Claim: .

(1) [given]
(2) [given]

(3) [assumption for intro]

(4) [assumption for -elim on line 1]
(5) [-intro 3, 4]
(6) [-intro 5]
(7) [-elim 6]

(8) [assumption for -elim on line 1]

(9) [assumption for -elim on line 2]
(10) [-intro 8, 9]
(11) [-intro 10]
(12) [-elim 11]

(13) [assumption for -elim on line 2]
(14) [from 13]

(15) [-elim 2, 9-12, 13-14]

(16) [-elim 1, 4-7, 8-15]

(17) [intro 3-16]


Strategy for proof:

  • We have an arrow to eliminate and nothing to introduce.
  • But we can't eliminate the arrow yet because that requires .
  • We are stuck! We will need to pull something out of thin air... But what?
  • The Law of the Excluded Middle is always Provable!
  • We need either (our goal) or (to use for the arrow elimination). Use the Law of the Excluded Middle to give us .
  • Now OR elimination will give us in one branch. The other branch gives us , which leads to , which leads to absurdity, giving us anyway.

Proof

Claim: .

(1) [given]
(2) [given]
(3) [Law of the Excluded Middle]

(4) [assumption for -elim]
(5) [from 4]

(6) [assumption for -elim]
(7) [elim 1, 6]
(8) [-into 2, 7]
(9) [-intro 8]
(10) [-elim 9]

(11) [-elim 3, 4-5, 6-10]


Claim 3

.

There are actually a couple ways to approach this problem. Two proofs are shown below!

Strategy for proof 1:

  • We have an AND to introduce on the RHS, so we need to show both parts of the AND, and .
  • To get , we can use the from with the to do OR elimination. will come from either branch (since the first will be absurdity).
  • To get , we can use the from with the to do OR elimination. will come from either branch (since the first will be absurdity).
  • This gives us both the and to introduce the final AND.

Proof 1

Claim: .

(1) [given]
(2) [given]
(3) [given]

(4) [assumption for -elim 2]
(5) [-elim 1]
(6) [-intro 5, 4]
(7) [-intro 6]
(8) [-elim 7]

(9) [assumption for -elim 2]
(10) [from 9]

(11) [-elim 2, 4-8, 9-10]

(12) [assumption for -elim 3]
(13) [-elim 1]
(14) [-intro 13, 12]
(15) [-intro 14]
(16) [-elim 15]

(17) [assumption for -elim 3]
(18) [from 17]

(19) [-elim 3, 12-16, 17-18]
(20) [-intro 11, 19]

Strategy for proof 2:

  • We can use the with the first branch of to get absurdity, and conclude our goal of .
  • But, the other branch just gives us . So how to get the as well?
  • Within this branch, we can go to eliminate the other OR, .
  • The branch will give absurdity and again let us conclude our goal .
  • The branch gives us our . Since we are already in an branch from the first OR, we now have and , so we can introduce the AND in this context to get .
  • Then we just close off the OR eliminations to get our goal!

Proof 2

Claim: .

(1) [given]
(2) [given]
(3) [given]

(4) [assumption for -elim 2]
(5) [-elim 1]
(6) [-intro 5, 4]
(7) [-intro 6]
(8) [-elim 7]

(9) [assumption for -elim 2]

(10) [assumption for -elim 3]
(11) [-elim 1]
(12) [-intro 11, 10]
(13) [-intro 12]
(14) [-elim 13]

(15) [assumption for -elim 3]
(16) [-intro 9, 15]

(17) [-elim 3, 10-14, 15-16]

(18) [-elim 2, 4-8, 9-17]