ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 04 Jan 2013 01:21:04 -0600Behavior of 'or'http://ask.sagemath.org/question/9686/behavior-of-or/Hello !
Here I have observed something in sage.
sage: (x == 1 or x == -3).full_simplify()
x == -3
sage: (x == -1 or x == -3).full_simplify()
x == -3
sage: (x == -1 or x == 3).full_simplify()
x == 3
sage: (x == -1 or x == -3).full_simplify()
x == -3
sage: (x == 1 or x == -3).full_simplify()
x == -3
I wish to know that why sage replies with the second argument. It is very necessary for me to understand this behavior of sage.
Many Thanks !
sage_learnerFri, 04 Jan 2013 01:21:04 -0600http://ask.sagemath.org/question/9686/