-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
simplify_full returns odd result from symbolic series input #17400
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:3
Probably with symbolic series, only coefficients should be simplified in the |
comment:4
There are no power series objects in Maxima, just conversion to infinite sums, i.e. formal power series:
The Taylor series objects have an order parameter on creation, but this does not get output or translated to Sage:
so there is no way around it that |
This comment has been minimized.
This comment has been minimized.
comment:5
The following functions call Maxima, have a meaning /wrt series, and therefore need to be modified: |
This comment has been minimized.
This comment has been minimized.
Commit: |
comment:8
Proof of concept. New commits:
|
Changed branch from u/rws/simplify_full_returns_odd_result_from_symbolic_series_input to public/17400 |
comment:10
Squashed it all into one commit. New commits:
|
Author: Ralf Stephan |
Changed branch from public/17400 to u/rws/17400 |
comment:12
Squashed it all into one commit. New commits:
|
comment:13
Pending because #17659 is pending. |
Changed branch from u/rws/17400 to u/rws/17400-1 |
comment:15
Still pending? New commits:
|
comment:16
No, you're right. Maybe there are conflicts with #17402. |
comment:17
Merge conflict, possibly with #20088 |
comment:18
Replying to @rwst:
So there are power series-type object in maxima. We could just access those then and use them to translate back-and-forth. It's a bit of a question how much functionality maxima has for it and whether maxima itself works with them faithfully. The internal representation seems to be a bit complicated:
but fundamentally everything is there to create/peel apart these objects. (note that it would be a bit harder to work with these objects via the expect-interface to maxima) A basic explanation of the MRAT format is here: http://def.fe.up.pt/pipermail/maxima-discuss/2005/010416.html EDIT: never mind, this isn't suitable for power series. This whole "TRUNC" property is very fickle (and it doesn't carry proper order information). It disappears with very trivial arithmetic already. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:22
Two doctests failing, see patchbot. |
SR
.series will lose the order term when passed to Maxima. Thus only the coefficients may be simplified, and this must be done in allsimplify*
functions.See also the related #17399.
Originally found in http://ask.sagemath.org/question/24968/coefficients-in-polynomial-ring-over-symbolic-ring/
Also,
series
should simplify its terms on a per-term basis:Compare with e.g. Pari:
Both issues can be fixed by writing series simplification methods.
Depends on #17399
Depends on #17659
Component: symbolics
Author: Ralf Stephan
Branch/Commit: u/rws/17400-1 @
22c947a
Issue created by migration from https://trac.sagemath.org/ticket/17400
The text was updated successfully, but these errors were encountered: