On 01/14/2017 03:42 AM, Enrique Artal wrote: > This is true. The problem is that if not used, simple expressions keep to > be too much complicated. Is there any compromise? >
There is simplify_full() which should be safe for all expressions, and simplify_real() that assumes everything is real. Those two methods use our Maxima backend. The sympy backend has improved a lot, too. There's no easy way to get access to it, but something like this should work: sage: import sympy sage: f = sin(x/(x^2 + x)) sage: sympy.simplify(sympy.sympify(f)) sin(1/(x + 1)) In the case of f = sqrt(cos(x)^3 - 3*cos(x)^2 - cos(x) + 6), did you have any particular simplification in mind? I don't see anything obvious that can be done. -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.