#11309: Sage sees -x +y > 0, -y + x >= 0,  and  x -y > 0 as equivalent
-----------------------------------+----------------------------------------
   Reporter:  tnv                  |          Owner:  burcin                    
                     
       Type:  defect               |         Status:  positive_review           
                     
   Priority:  major                |      Milestone:  sage-4.7.1                
                     
  Component:  symbolics            |       Keywords:  inequality equality 
relational sd31 __richcmp__
Work_issues:                       |       Upstream:  N/A                       
                     
   Reviewer:  Karl-Dieter Crisman  |         Author:  Keshav Kini, Burcin 
Erocal                     
     Merged:                       |   Dependencies:                            
                     
-----------------------------------+----------------------------------------

Comment(by tnv):

 It now can tell that  -x +y >0 is different than -y + x >= 0  but it says
 that  -x+y >0  is not the same as y > x  ---

 or may be this is another problem ?

 {{{
 sage: ( -x+y >0 ) == (y > x )
 False

 sage: (-x + y < 0)  ==  (-x < -y)
 False
 sage: (x + y == 0)  ==  (x == -y)
 False
 sage: (x - y == 0)  ==  (x == y)
 False
 sage: (- x + y == 0)  ==  (0 == -x + y)
 False
 sage: (x < y)  ==  (y > x)
 False
 sage: (x == y) == (-x == -y)
 False
 sage: (x + y < 1 )  ==  (x + y -1 < 0)
 False

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11309#comment:20>
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.

Reply via email to