Comment #8 on issue 2571 by asmeurer: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571
There's no sense putting the 5 inside the Integral
Yes there is. Why should I be prevented from substituting some nested part of an expression just because it happens to live in an Integral?
Background: in order to integrate functions with symbolic base and exponent like x**x, risch_integrate() must first rewrite it as an exponential, like exp(x*log(x)). After integrating, you generally have exp(x*log(x)) in the result, and since the user entered x**x, it's nice to have that in the result, so we substitute it back. Sometimes, like in the example I gave in the OP, the result is non-elementary, so it lives in an unevaluated Integral. But you still want to replace exp(x*log(x)) with x**x.
-- 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.
