Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 1911 by alberthilbert: Error in expansion of power with noncommutative base
http://code.google.com/p/sympy/issues/detail?id=1911 Expansion of powers with noncommutative Mul as base is wrong:
x = Symbol('x', commutative=False) y = Symbol('y', commutative=False) ((x*y)**3).expand()
x**3*y**3 I want to write a patch to solve this problem but I have some doubts about what 'expand' should return. Possible candidates are: - (x*y)**3 - x*y*x*y*x*y I prefer the latter one, because it allows to simplify expression like: (x*y)**3 - x*y*x*y*x*y What do you think? Raffaele -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-iss...@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.