Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to generate the truth table to show that $p \implies (q \vee r)$ is equivalent to $(p \wedge \neg q ) \implies r$ ? Can I use BooleanTable?

share|improve this question
5  
BooleanTable[Implies[p, q || r], {p, q, r}] == BooleanTable[Implies[p && Not[q], r], {p, q, r}] – Dr. belisarius Dec 20 '13 at 0:48
4  
Alternatively, Reduce[Equivalent[Implies[p, q || r], Implies[p && Not[q], r]]] – Daniel Lichtblau Dec 20 '13 at 0:57

(from the comments of belisarius & Daniel Lichtblau)

Equal[
  BooleanTable[Implies[p, q || r], {p, q, r}],
  BooleanTable[Implies[p && Not[q], r], {p, q, r}]
]

(* ==> True *)

Or without truth tables:

Reduce[Equivalent[Implies[p, q || r], Implies[p && Not[q], r]]]

(* ==> True *)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.