01-22-2004, 06:34 PM | #1 (permalink) |
The Death Card
Location: EH!?!?
|
Propositional logic
ok i know there's a lot of different notations for logic, but here's what im gonna use for this question
<=> logically equivalent to v or ^ and prove: p <=> p^(p v q) this question, while pegged as being easy, has really got my goat right now |
01-22-2004, 07:45 PM | #2 (permalink) |
Location: Waterloo, Ontario
|
First, we can tell by inspection that (p V q) is equivalent to p for all values of p and q except when p is false and q is true. So, because (p ^ p) is equivalent to p, we can immediately eliminate all but one combination and that's when p is false and q is true. So, we can simply inspect that one case and see if they are logically equivalent. Of course, this problem is so easy that in the time it took me to explain this logic in English, I could have shown you all four states in a truth table. So, why don't I do that anyways...
Code:
true <=> true ^ (true V true ) <=> true true <=> true ^ (true V false) <=> true false <=> false ^ (false V true ) <=> false false <=> false ^ (false V false) <=> false QED. |
Tags |
logic, propositional |
|
|