I'm in a Foundations of Computer Science course and it's all about logic and proofs. Some proofs are harder than others, and I'm completely stuck on this proof. It comes out of the textbook Texts and Monographs in Computer Science: A Logical Approach to Discrete Math by David Gries and Fred Schneider.
Apparently, the formatting is different than what you would typically see. I can only use axioms in this book, so that's what makes it quite difficult.
Thus to prove
($p \Rightarrow q) \land (q \equiv r) \Rightarrow (p\Rightarrow r)$
we need to use the following axioms:
Mutual implication: $(p \Rightarrow q) \land (q \Rightarrow p) \equiv (p\equiv q)$
Transitivity (a.): $(p \Rightarrow q)\land (q\Rightarrow r)\Rightarrow(p\Rightarrow r)$
Shunting: $p\land q \Rightarrow r\equiv p \Rightarrow (q \Rightarrow r)$
However, I think some manipulation needs to occur first because nothing matches except for shunting, but when I try that it doesn't seem to lead anywhere. That's all the problem statement says, but I'm sure other axioms are needed. Either way, I'm quite lost.
So far I have: $$\eqalign{ & {\bf{3}}.{\bf{72}}(3.80,3.82a,3.65) \cr & {\rm{Claim:}} \cr & \left( {p \Rightarrow q} \right) \wedge \left( {q \equiv r} \right) \Rightarrow \left( {p \Rightarrow r} \right) \cr & {\rm{Proof:}} \cr & \left( {p \Rightarrow q} \right) \wedge \left( {q \equiv r} \right) \Rightarrow \left( {p \Rightarrow r} \right) \cr & = \left\langle {3.59{\rm{, defn}}{\rm{. of implication, three times}}} \right\rangle \cr & \neg \left( {\left( {\neg p \vee q} \right) \wedge \left( {q \equiv r} \right)} \right) \vee \left( {\neg p \vee r} \right) \cr & = \left\langle {3.47a,{\rm{ De Morgan}}} \right\rangle \cr & \neg \left( {\neg p \vee q} \right) \vee \neg \left( {q \equiv r} \right) \vee \left( {\neg p \vee r} \right) \cr & = \left\langle {{\rm{3}}{\rm{.47b, De Morgan}}} \right\rangle \cr & \left( {\neg \neg p \wedge \neg q} \right) \vee \neg \left( {q \equiv r} \right) \vee \left( {\neg p \vee r} \right) \cr & = \left\langle {3.12,{\rm{ double negation}}} \right\rangle \cr & \left( {p \wedge \neg q} \right) \vee \neg \left( {q \equiv r} \right) \vee \left( {\neg p \vee r} \right) \cr} $$
And I'm lost from here.