Comment #21 on issue 2039 by smichr: Mul.eval_subs problems
http://code.google.com/p/sympy/issues/detail?id=2039

Sigh...I even made a crib sheet for myself listing power and log rules. But I made the mistake. I hoped to be encouraged that I got it right in powdenest, but alas, no:

from sympy import *
var('x')
x
from sympy.simplify.simplify import powdenest
powdenest(sqrt(x**2))
x


You can remove the numerator from a rational power (x**2/3) = (x**(1/3))**2; you can move a integer to join a "power already in progress" (i.e. the reverse of the above) but you can't move a pure integer out to join the fraction. I suppose powdenest could get the assume_all_pos hint...

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to