Algebrite
Algebrite copied to clipboard
Simplify hanging
In 1.2.1, running simplify on this:
a - a * 5 * ( 1 - a + b ) * ( - 1/2 + a - b + a * b - 1/2 * a ^ 2 - 1/2 * b ^ 2 ) ^ ( - 1 ) / ( 5 * ( 1 - a + b ) * ( - 1/2 + a - b + a * b - 1/2 * a ^ 2 - 1/2 * b ^ 2 ) ^ ( - 1 ) )
Just hangs.
Similarly, going to the algebrite.org site and trying
simplify(a - a * 5 * ( 1 - a + b ) * ( - 1/2 + a - b + a * b - 1/2 * a ^ 2 - 1/2 * b ^ 2 ) ^ ( - 1 ) / ( 5 * ( 1 - a + b ) * ( - 1/2 + a - b + a * b - 1/2 * a ^ 2 - 1/2 * b ^ 2 ) ^ ( - 1 ) ))
also causes it to hang.
There are probably simpler examples.
The brackets don't match in those examples - intentional?
@murkle: No, just a cut-and-paste typo. Thanks for the catch. I've updated the issue. It still hangs.
If anyone could provide any/some/all of the following:
- smallest example?
- exact commit that made things worse?
- something like a test set of small/mixed cases that I can use as test?
- any hints as to what might be going on?
then I can fix this quicker.