-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
assume doesn't interact well with solve #6515
Comments
comment:1
It sounds like Maxima (intentionally?) doesn't use assumptions in solve, see for instance http://www.math.utexas.edu/pipermail/maxima/2008/013152.html and other similar threads. The above solution seems reasonable. |
comment:2
Update: the solution above works well for single equations in one variable, but is tricky to implement for multiple equations (you can't subs x+y==3, for instance). Also, one has to keep in mind how to check assumptions like 'x is Integer', which can't be subs'ed in. |
Attachment: 6515-solve-assume.patch.gz |
comment:4
It doesn't catch everything, but is better than what we have now. |
Attachment: trac_6515-referee.patch.gz minor documentation fixes |
Author: Robert Bradshaw |
Reviewer: Burcin Erocal |
comment:5
The patch looks good and doctests pass. There is one minor problem, the line
is repeated several times in the doctest for I attached a patch to change these lines and add an |
comment:6
Thanks for looking at this. Nice catches, I approve of your changes. |
comment:7
For the record: Applying the patch to 4.3.2 + a long queue gives
Please let us know (via sage-devel) about the best order in which to apply the symbolics and calculus patches. |
comment:8
The first patch is missing a Mercurial header and the ticket number. I've applied a refreshed patch to 4.3.3.alpha0. |
Merged: sage-4.3.3.alpha0 |
This has been brought up several times on the mailing lists. As a specific example
At the very least, we could probably filter out the "solutions" that violate the assumptions.
Component: calculus
Author: Robert Bradshaw
Reviewer: Burcin Erocal
Merged: sage-4.3.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6515
The text was updated successfully, but these errors were encountered: