Comment #22 on issue 2552 by [email protected]: (1/(x*y)).subs(x*y, whatever)
doesn't work
http://code.google.com/p/sympy/issues/detail?id=2552
Yes, I agree that the target result must be 'whatever*y**(m-n)'.
I conclude also that 'as_base_exp' can't serve as a helper procedure for
the substitution, I guess that the substitution (implicit substitution in
this case) is an independent process with its algorithm.
I still do not understand it well with "the concepts are one and the same."
(how the simplification, cancelation, hashes and the automatic conversion
collaborate each with other in the core), I will think about it later. but
I afraid now the p.5 of comment #14, that it is hard to play with the parts
of expressions when they automatically converted by the some private causes.
--
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.