Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.4K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

logic formula doesn't work in Wolfram Alpha

Posted 2 years ago

(s => !r) && (r && !v => u) && (!t && !r => w or u) && (!x => !u) && (r => x xor s) && (v => t xor r) && (w => v) && (x => t) && (t => !v && r)

Doesn't work with or without a preceding "truth table". Is there a maximum length? I am trying to formalize the following equation:

(if s then (not r)) and ((if r and not v) then u) and ((if not t and not r) then w or u) and (if not x then not u) and (if r then either t or s) and (if v then either t or r) and (if w then v) and (if x then t) and (if t then (not v) and r)

POSTED BY: G Henry
4 Replies
Posted 2 years ago

Good idea! And thanks again!

POSTED BY: G Henry
Posted 2 years ago
POSTED BY: Bill Nelson
Posted 2 years ago

Bingo - problem solved! Thanks a million times!

So Wolfram-Alpha assigns a special meaning to 'x' ? Are there any other letters I have to be careful with?

POSTED BY: G Henry
Posted 2 years ago
POSTED BY: Bill Nelson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard