Answer to Question #281784 in Discrete Mathematics for V.kathiravan

Question #281784

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


1
Expert's answer
2021-12-22T07:22:49-0500

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||} \n\\hline\\hline \nP & Q & P\\to Q & \\sim Q & \\sim P & \\sim Q\\land (P\\to Q) & (\\sim Q\\land (P\\to Q))\\to \\sim P \\\\ \n\\hline\\hline \n0 & 0 & 1 & 1 & 1 & 1 & 1\\\\ \n\\hline \n0 & 1 & 1 & 0 & 1 & 0 & 1 \\\\\n \\hline \n1 & 0 & 0 & 1 & 0 & 0 & 1\\\\ \n\\hline \n1 & 1 & 1 & 0 & 0 & 0 & 1\\\\ \n\\hline\\hline \n\\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."

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS