On 06/15/2013 11:31 AM, Eric Gourgoulhon wrote: > Hi, > > Here is some behavior of Sage which can be quite disturbing for a new > user and probably would be considered as a bug: > > sage: assume(x<0) > sage: sqrt(x^2).simplify_full() > x > > > I know that the problem is due to Maxima function randcan and has been > much discussed, in particular here: > http://www.math.utexas.edu/pipermail/maxima/2011/026097.html > What is the latest status of this ? In particular, is there any > possibility to enforce the correct behavior by passing some options to > Maxima ? (I've noticed that maxima_calculus.eval('radexpand:true') does > not help).
We must remove simplify_radical() from simplify_full() and rename it. It doesn't do simplification, and as long as it has "simplify" in the name, users are going to (correctly) conclude that this is a bug. There are plenty of tickets about this. Most of the info can be found here: http://trac.sagemath.org/sage_trac/ticket/12737 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.