I'm working on Logical Equivalence problems and I'm having trouble understand what to do with this first problem.
The problem is to show that these two statements are equivalent to one another step-by-step using the laws of logic.
The statements are:
P->(~Q -> R) = P ^ ~Q -> R
I'm not very familiar with how to deal with the implies(->) when it comes to the rules.
Any advice would be welcome!
Use the definition of "$\rightarrow$" by \begin{equation}A\rightarrow B :\Leftrightarrow \neg A\vee B.\end{equation} Then you get by the De-Morgan rules
\begin{align}&P\rightarrow \left(\neg Q\rightarrow R\right)\\ \Leftrightarrow&\neg P \vee \left(Q\vee R\right)\\ \Leftrightarrow&\neg P \vee Q\vee R\\ \Leftrightarrow&\neg P \vee \neg\neg Q\vee R\\ \Leftrightarrow& \neg\left(P\wedge\neg Q\right)\vee R\\ \Leftrightarrow& \left(P\wedge\neg Q\right)\rightarrow R\end{align}