📜  门| GATE-CS-2016(Set 2)|第37章

📅  最后修改于: 2021-06-29 23:40:14             🧑  作者: Mango

谓词演算中下列哪种格式正确的公式无效?

22
(A) A
(B) B
(C) C
(D) D答案: (D)
解释:

Suppose if there are two statements P and Q,
   P=>Q = ~PvQ i.e.
   The only situation where implication fails is (=>) when P is true and Q is false. 
   i.e. A truth statement can't imply a false statement.
    So, for these type of questions it will be better to take option and 
    check for some arbitrary condition
   By looking options, we are pretty sure that A,B are correct
   Suppose X is any number and statement is P(x) = X is a prime number
                                            Q(x) = X is a non-prime number
   If we look at option D,
   Before Implication :- For all x, x is either prime or non-prime which is true
   After Implication  :-   For all x, x is prime or for all x, x is non-prime which is 
obviously false i.e. here, truth statement implies a false statement which is not valid.

   If we carefully look at option C,
   There exists a number x, which is both prime and non-prime which is false
   and a false statement can imply either true or false. So option (C) is correct
 So Answer is Option (D)

该解释由Anil Saikrishna提供。
这个问题的测验