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
No order for univariate polynomial rings #28420
Comments
This comment has been minimized.
This comment has been minimized.
Changed keywords from polynomial to polynomial, order |
This comment has been minimized.
This comment has been minimized.
comment:3
Actually, I've trouble with my proposed solution. I actually tried two possibilities, but with difficulties in both cases:
In the first case I have a lot of doctests failing, I've not investigated all of them yet. The second solution has much less failed doctests. Though I have mainly one, that actually also occurs with the first solution. The problem is as follows: To discover that there is a coercion from
The simplest(?) workaround I've in mind is to keep with the second solution and to add the missing coercion (note: I don't know how to do that!). But I am not sure that this is the right thing to do. In particular, this implies that |
comment:4
Would it be hard to check if the term order is weighted, and return a multivariate ring in a single variable or a univariate ring depending on that? |
comment:5
Ticket retargeted after milestone closed |
comment:6
Moving tickets to milestone sage-9.2 based on a review of last modification date, branch status, and severity. |
This ticket add an error message for the constructor of polynomial ring when trying to build a univariate polynomial ring with a term order. Currently,
order = ...
is silently ignored for univariate polynomial rings and this leads to confusions for some users, cf this Ask question¹.Before:
After:
¹ The Ask question uncovers two distinct problems, the second one is fixed in #28421.
CC: @sagetrac-tmonteil
Component: algebra
Keywords: polynomial, order
Author: Bruno Grenet
Branch: u/bruno/univariate_polyring_order
Issue created by migration from https://trac.sagemath.org/ticket/28420
The text was updated successfully, but these errors were encountered: