Help with indirect logic proof please

  • Context: Undergrad 
  • Thread starter Thread starter LCharette
  • Start date Start date
  • Tags Tags
    Logic Proof
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
LCharette
Messages
8
Reaction score
0
Using the five axioms below prove: p→q

A1: p→~y
A2: ~r→q
A3: p→~z
A4: x→ q or z
A5: r→x or y

Do I have to take the contrapositive of some of the axioms to begin this proof?
 
Mathematics news on Phys.org
Yes, that would be the simplest thing to do. The very first "axiom" gives you p-> ~y but there is no "~y-> " so you cannot continue directly. However, you do have "A5: r->x or y which has contrapositive ~(x or y)= (~x) and (~y)->~r and then both "A2: ~r-> q" and "A4: x-> q or z".
 
Am I on the right track with this?

Conclusions Justifications
1. p Given
2. ~z or ~y All cases
3. ~z Case 1
4. ~x A4
5. ~r A5
6. q A2