#11309: Sage sees -x +y > 0, -y + x >= 0, and x -y > 0 as equivalent
-------------------------+--------------------------------------------------
Reporter: tnv | Owner: burcin
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: symbolics | Keywords: inequality, equality
Work_issues: | Upstream: N/A
Reviewer: | Author: Keshav Kini, Burcin Erocal
Merged: | Dependencies:
-------------------------+--------------------------------------------------
Comment(by tnv):
Thanks for creating the patch!!
I don't know how to apply this patch though - if you can walk me through
it then I can test.
But in the mean time, what are the result for these commands ? If the
results are different than the defected version above and as expected then
probably the patch is correct.
sage: (-x +y < 0) in [x -y < 0]
Set([-x +y >= 0,x -y >= 0])
sage: var('x,y')
(x, y)
sage: hash(-x + y > 0 )
sage: hash(-x + y >= 0 )
sage: hash(x - y >= 0 )
sage: hash(-y + x >= 0 )
sage: hash(x - y > 0 )
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11309#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.