Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 3712 by jord...@gmail.com: simplify cancels inconsistently
http://code.google.com/p/sympy/issues/detail?id=3712
In git master and 0.7.2:
In [1]: simplify((x-y)*(30*z-20)/10)
Out[1]: (x - y)⋅(3⋅z - 2)
but:
In [2]: simplify((
Updates:
Status: Valid
Labels: Simplify
Comment #1 on issue 3712 by krastano...@gmail.com: simplify cancels
inconsistently
http://code.google.com/p/sympy/issues/detail?id=3712
(No comment was entered for this change.)
--
You received this message because this project is confi
Comment #2 on issue 3712 by smi...@gmail.com: simplify cancels
inconsistently
http://code.google.com/p/sympy/issues/detail?id=3712
It's because the "simpler expression" does not have a short ops count. If
you pass oo for the ratio you will get
simplify((x-y)*(40*z-20)/10,oo)
4*x*z - 2*x
Comment #3 on issue 3712 by asmeu...@gmail.com: simplify cancels
inconsistently
http://code.google.com/p/sympy/issues/detail?id=3712
But (x - y)*(4*z - 2) should have a smaller ops count than the original.
--
You received this message because this project is configured to send all
issue no
Comment #4 on issue 3712 by smi...@gmail.com: simplify cancels
inconsistently
http://code.google.com/p/sympy/issues/detail?id=3712
Than the expanded version? Yes. But simplify doesn't use the
expensive 'factor' option so you don't get that from the expanded version.
In the changes that I'
Updates:
Status: Fixed
Comment #6 on issue 3712 by smi...@gmail.com: simplify cancels
inconsistently
http://code.google.com/p/sympy/issues/detail?id=3712
(No comment was entered for this change.)
--
You received this message because this project is configured to send all
issue noti