Discrete Math implications by rules of inference

In summary: Since p and q are both premises, they can be used at any point in the proof. Additionally, since q was deduced in step 3, it is now considered a known fact within the proof and can also be used at any point.
  • #1
r0bHadz
194
17

Homework Statement


p→(q→r)
¬q →¬p
p
-----------------------
∴r

Homework Equations

The Attempt at a Solution


My book gives the following solution:

(1) p - premise
(2) ¬q→¬p premise
(3) q, (1) and (2) and rule of detachment,
(4) p and q, law of conjuctive addition
.
.
.

Can anyone explain to me why you can use p on step 4?
Since in step 3, you are using step 1 and step 2, and p comes from step 1

Does the p not get "used" up? I don't understand why you're able to use it again.
 
Physics news on Phys.org
  • #2
No the p does not get used up. Since it is a given assumption rather than a hypothesis used to open a conditional proof, it is valid throughout the proof. The only case where statements get 'used up' is where they are made in a conditional proof, in which case they are not valid outside the conditional proof. Since there are no conditional proofs used in what you wrote above, that does not happen here.
 
  • Like
Likes r0bHadz
  • #3
andrewkirk said:
No the p does not get used up. Since it is a given assumption rather than a hypothesis used to open a conditional proof, it is valid throughout the proof. The only case where statements get 'used up' is where they are made in a conditional proof, in which case they are not valid outside the conditional proof. Since there are no conditional proofs used in what you wrote above, that does not happen here.

Hmm great explanation.

Am I right when i say, so because P is the premise, I can use that whenever I want because its never going to not be the premise?

Similarly, because I deducted q in step 3, I can always use q just like I can always use p?
 
  • #4
r0bHadz said:
Hmm great explanation.

Am I right when i say, so because P is the premise, I can use that whenever I want because its never going to not be the premise?

Similarly, because I deducted q in step 3, I can always use q just like I can always use p?
Yes. Both of those are valid.
 
  • Like
Likes r0bHadz

Similar threads

Replies
1
Views
890
Replies
3
Views
987
Replies
4
Views
1K
Replies
2
Views
2K
Back
Top