Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 4018 by [email protected]: Equality arithmetic is wrong: Eq(x,0)+2 -> Eq(x+2,0)
http://code.google.com/p/sympy/issues/detail?id=4018

I thought that arithmetic involving Equality would fail but it gives an incorrect result instead:

Eq(x,0)+2
x + 2 == 0

It seems to me that at worst it should fail and at best it should give Eq(x+2,0+2)

Operations involving two equalities is kind of strange, too. e.g. Eq(x,2)/Eq(x,3) -> x==2(x==3)**-1. In that case, again, at worst I would like to see it fail or make it the convention that the lhs combines and the rhs combines to give x/x==2/3 -> False

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to