Show that ((p implies q) and (q implies r)) implies (p implies r) is a tautology

  • Thread starter Thread starter VinnyCee
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 37K views
VinnyCee
Messages
486
Reaction score
0

Homework Statement



Show that [tex]\left[\left(p\,\longrightarrow\,q\right)\,\wedge\,\left(q\,\longrightarrow\,r\right)\right]\,\longrightarrow\,\left(p\,\longrightarrow\,r\right)[/tex] is a tautology.



Homework Equations



Logical equivalences.



The Attempt at a Solution



[tex]\begin{array}{l}<br /> \left[ {\left( {p\; \to \;q} \right)\; \wedge \;\left( {q\; \to \;r} \right)} \right]\; \to \;\left( {p\; \to \;r} \right) \\ <br /> \left[ {\left( {\neg p\; \vee \;q} \right)\; \wedge \;\left( {\neg q\; \vee \;r} \right)} \right]\; \to \;\left( {p\; \to \;r} \right) \\ <br /> \left\{ {\left[ {\left( {\neg p\; \vee \;q} \right)\; \wedge \;\neg q} \right]\; \vee \;\left[ {\left( {\neg p\; \vee \;q} \right)\; \wedge \;r} \right]} \right\}\; \to \;\left( {p\; \to \;r} \right) \\ <br /> \left\{ {\left[ {\left( {\neg p\; \wedge \;\neg q} \right)\; \vee \;\left( {q\; \wedge \;\neg q} \right)} \right]\; \vee \;\left[ {\left( {\neg p\; \wedge \;r} \right)\; \vee \;\left( {q\; \wedge \;r} \right)} \right]} \right\} \to \;\left( {p\; \to \;r} \right) \\ <br /> \left\{ {\left[ {\left( {\neg p\; \wedge \;\neg q} \right)\; \vee \;{\rm F}} \right]\; \vee \;\left[ {\left( {\neg p\; \wedge \;r} \right)\; \vee \;\left( {q\; \wedge \;r} \right)} \right]} \right\}\; \to \;\left( {p\; \to \;r} \right) \\ <br /> \left\{ {\left[ {\neg p\; \wedge \;\neg q} \right]\; \vee \;\left[ {\left( {\neg p\; \wedge \;r} \right)\; \vee \;\left( {q\; \wedge \;r} \right)} \right]} \right\}\; \to \;\left( {p\; \to \;r} \right) \\ <br /> \end{array}[/tex]

What now?
 
Physics news on Phys.org
Without any prior assumptions we need to assume (p->q) and (q->r) and from there show that p imples r. This may not be legit if your instructor wants a symbolic elimination of the "fluff". Symbollically: keep on working, you are no the right track - expand and cancel falsehoods or tautologies like you have been doing.
 
As SiddharthM says, you should just expand all you implications (there are two left) as not ors. Or write out a truth table.