开发者

Propositional calculus [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 12 years ago.

开发者_如何转开发 Improve this question

Why ( P ^ Q ) === ( ~P -> Q ) ?

How to prove?

Thanks!


No, it's not: ~P -> Q === P v Q, it is not equivalent to P ^ Q

One way to prove it is to use a truth table:

P | Q | P v Q | ~P | ~P -> Q
0   0     0     1       0        
0   1     1     1       1
1   0     1     0       1
1   1     1     1       1
          ^             ^
          +-------------+
       these are equivalent


Just look at the truth tables for each expression:

p | q | p v q
--+---+------
T | T | T
T | F | T
F | T | T
F | F | F

p | q | ~p -> q
--+---+--------
T | T | T
T | F | T
F | T | T
F | F | F
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜