Message Boards Message Boards

How to write equations in wolfram?

Posted 11 years ago

Hello, I have these equations which I need to write it Wolfram ... How to do Negate?

These equations are equal can I somehow compute one equation from another using Wolfram and boolean algebra?

Thank you

Attachments:
POSTED BY: Alon Vasago
9 Replies

Alon,

I usually use the function Equivalent together with TautologyQ to test if two logical expressions are equivalent, like this:

(* Let us prove that ((A OR B) => C) <=> (A => C) AND (B => C) *)
Equivalent[Implies[Or[A,B],C], And[Implies[A,C],Implies[B,C]]]//TautologyQ

Now, if you substitute your own expression instead of these two simple ones shown above, then it should work. Note that this is for Mathematica and not for Wolfram Alpha (I don't know if Wolfram Alpha understands the same syntax or not).

POSTED BY: Tigran Aivazian

I fixed the first link... sorry about that. The second one discusses the area of automated theorem proving--often (I think) it's in the realm of automatically generating a boolean proof (via manipulating logical expressions) of a logical equivalence. Which is that I think you are wanting to do.

POSTED BY: David Reiss
Posted 11 years ago

Hmm thx but I do not have time to learn all this stuff just for these two equations so no easy way I see :(

POSTED BY: Alon Vasago
Posted 11 years ago

First link does not work second I dont understand ... is there any software for it?

POSTED BY: Alon Vasago
POSTED BY: David Reiss
Posted 11 years ago
POSTED BY: Alon Vasago
Posted 11 years ago

I mean Wolfram Alpha - I read the documentation but when I add the "symbols" there it just return me some nonsense - and yes I mean logical things with 4 variables A B C and D - these two equations should be equal but I need to find a way to create one equation from another.

POSTED BY: Alon Vasago

What do you mean by Wolfram: Mathematica or Wolfram Alpha?

Also, what do you mean by Negate? Do you mean logical negation or changing the sign of an algebraic expression?

I think you are meaning logical operations. If so, read the documentation (always read the documentation). Here are some links if you are meaning Mathematica.

http://reference.wolfram.com/language/guide/LogicAndBooleanAlgebra.html

http://reference.wolfram.com/language/howto/UseLogicalOperators.html

http://reference.wolfram.com/language/guide/TheoremProving.html

POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract