Answer:
See steps below
Step-by-step explanation:
a)
<em>equivalence of (r implies s) with (not r or s)</em>
<em>De Morgan's Law</em>
<em>Double negation</em>
<em>Distributive Law</em>
The last expression is in CNF.
b)
i)
Modus Ponens states the following,
If (p implies q) is true and p is true, then q is true.
By watching the truth table of implication
![\left[\begin{array}{ccc}p&q&p\rightarrow q\\T&T&T\\T&F&F\\F&T&T\\F&F&T\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7Dp%26q%26p%5Crightarrow%20q%5C%5CT%26T%26T%5C%5CT%26F%26F%5C%5CF%26T%26T%5C%5CF%26F%26T%5Cend%7Barray%7D%5Cright%5D)
We can notice that the only row that satisfies
(p implies q) is true and p is true
is the first row, so q must be true.
ii)
Modus Tollens states that if (p implies q) is true and (not q) is true, then (not p) is true.
By watching the following truth table
![\left[\begin{array}{ccccc}p&q&\neg p&\neg q&p\rightarrow q\\T&T&F&F&T\\T&F&F&T&F\\F&T&T&F&T\\F&F&T&T&T\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccccc%7Dp%26q%26%5Cneg%20p%26%5Cneg%20q%26p%5Crightarrow%20q%5C%5CT%26T%26F%26F%26T%5C%5CT%26F%26F%26T%26F%5C%5CF%26T%26T%26F%26T%5C%5CF%26F%26T%26T%26T%5Cend%7Barray%7D%5Cright%5D)
We can notice that the only row that satisfies (p implies q) is true and (not q) is true, is the fourth row, so (not p) must be true.