-
-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid simplification from Expression.simplify_rational() #12794
Comments
A .sage file exhibiting the problem |
This comment has been minimized.
This comment has been minimized.
comment:1
Attachment: simplify_rational_gone_wild.sage.gz If you could narrow it down, that would be helpful. I'm adding this to the description, as well as the graphic. |
Shows the problem |
comment:2
Attachment: tmp_0.png But I should point out that there are lots of cool examples of "simplification" actually making things simpler. Could this just be a loss of significance error? Otherwise, try
(courtesy of the calculus text we currently teach from here). So I'm more concerned about the left end of your graph than the right. |
Attachment: better.png shows the solution! |
comment:3
The attached picture actually is for #12795, but as it was the same, it's still worth posting here too. I think they are probably both invalid, or more precisely are warnings about how rewriting expressions in different ways allows for a lot of numerical error to creep in. Good stuff. (Not good enough for me to want to teach a numerical analysis course, but good enough for me to want to take a numerical analysis course...) |
Well, I thought this one was safe. Not so!
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/12794
The text was updated successfully, but these errors were encountered: