This question was asked on AskSage here:
http://ask.sagemath.org/question/2853/testing-inequalities-in-sage
So I have these commands to test the triangle inequality:
var('a','b')
eqn1=abs(a+b)
eqn2=abs(a)+abs(b)
bool(eqn1<=eqn2)
I had expected the result to be True, but it returned false.
In general, what other information should I provide to sage e.g. via
assume(...) in order for Sage to correctly evaluate an inequality?
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.