-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
sage.rings.polynomial.laurent_polynomial_ring_base
: Split out from .laurent_polynomial_ring
#35229
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #35229 +/- ##
===========================================
+ Coverage 88.60% 88.61% +0.01%
===========================================
Files 2148 2149 +1
Lines 398653 398661 +8
===========================================
+ Hits 353241 353288 +47
+ Misses 45412 45373 -39
... and 26 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understand it, the rest is just moving stuff line-for-line, which is okay. I know this is for modularization purposes, but it looks weird that the main global entry point is separate from the generic class. I would consider changing the generic class name to LaurentPolynomialRing
and moving the dispatch function into its __classcall_private__
.
We implement it as a quotient ring | ||
|
||
.. MATH:: | ||
|
||
R[x_1, y_1, x_2, y_2, \ldots, x_n, y_n] / (x_1 y_1 - 1, x_2 y_2 - 1, \ldots, x_n y_n - 1). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not true: It is not in the category of quotients, which reflects that it doesn't have methods like ambient()
and lift()
, nor does it reflect the internal structure. We have implemented it as a localization. Although it is fine to say it is isomorphic to this quotient ring; not that anything needs to be said here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not my text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. LGTM.
Thanks! |
SageMath version 10.0.beta4, Release Date: 2023-03-12
Thanks again! |
Documentation preview for this PR is ready! 🎉 |
|
This one is also unrelated. |
SageMath version 10.0.beta6, Release Date: 2023-03-26
📚 Description
We move the abstract base class
LaurentPolynomialRing_generic
to a separate module.This is for modularization purposes (meta-ticket #32414).
We also deprecate the function
is_LaurentPolynomialRing
and replace the (few) uses byisinstance
.📝 Checklist
⌛ Dependencies