Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Simplifying Xor' topicStudent Support Forum > General > "Simplifying Xor"

Next Comment >Help | Reply To Topic
Author Comment/Response
09/23/07 3:03pm

Why doesn't Simplify simplify this expression involving Xor:?

In[1]:= Simplify[Xor[a, a, b, c]]

Out[1]= a \[Xor] a \[Xor] b \[Xor] c

The two a's should cancel out, and the answer should be b \[Xor] c.

Strangely, if I omit the last c then Simplify *does* simplify:

In[2]:= Simplify[Xor[a, a, b]]

Out[2]= b

URL: ,

Subject (listing for 'Simplifying Xor')
Author Date Posted
Simplifying Xor Gabriel 09/23/07 3:03pm
Re: Simplifying Xor Forum Modera... 09/23/07 6:44pm
Re: Simplifying Xor Gabriel 09/24/07 00:33am
Next Comment >Help | Reply To Topic