I need to show this formula is a theorem of propositional calculus. I tried assuming antecedent and proving consequent but didn't work for this proof. Do I need to show it is equivalent to true? How should I start?
$(p \rightarrow q) \rightarrow (p \wedge r \rightarrow q \wedge r)$
Background:
In my class, there is no mention to it but I think this form of logic it's called Equational Logic. This is a sample demonstration.

If we want to use the proof system of David Gries & Fred Schneider, A Logical Approach to Discrete Math (Springer, 1993), we can mimick the proof of (4.2), page 70 :
We have to use (3.60) : $(\alpha \Rightarrow \beta) \equiv (\alpha \land \beta \equiv \alpha)$ to get :
Using Idempotency, Associativity and Simmetry we get :
Now we use (3.62) : $\alpha \Rightarrow (\beta \equiv \gamma) \equiv (\alpha \land \beta) \equiv (\alpha \land \gamma)$, to get :
Now we use (4.1) : $\alpha \Rightarrow (\beta \Rightarrow \alpha )$ to derive (this is not an equivalence but $\Leftarrow$) :
The last step uses again (3.60) to conclude with :
In conclusion, we have :