Solution to show that ~Q,P—>Q=>~P in mathematical foundations of computer science - Sikademy
Author Image

Archangel Macsika

show that ~Q,P—>Q=>~P in mathematical foundations of computer science

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question

Let us construct a truth table for the compound proposition (\sim Q\land (P\to Q))\to \sim P:


\begin{array}{||c|c||c|c|c|c|c||} \hline\hline P & Q & P\to Q & \sim Q & \sim P & \sim Q\land (P\to Q) & (\sim Q\land (P\to Q))\to \sim P \\ \hline\hline 0 & 0 & 1 & 1 & 1 & 1 & 1\\ \hline 0 & 1 & 1 & 0 & 1 & 0 & 1 \\ \hline 1 & 0 & 0 & 1 & 0 & 0 & 1\\ \hline 1 & 1 & 1 & 0 & 0 & 0 & 1\\ \hline\hline \end{array}


It follows that the formula (\sim Q\land (P\to Q))\to \sim P is a tautology, and hence \sim Q, P\to Q\vdash\ \sim P.

Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-5-stid-8-sqid-480-qpid-367