sage.rings.polynomial.laurent_polynomial_ring_base: Split out from .laurent_polynomial_ring#35229
Conversation
…aurent_polynomial_ring
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. |
tscrim
left a comment
There was a problem hiding this comment.
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.
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.
|
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
sagemathgh-41058: remove some deprecated stuff in rings/ after File: src/sage/rings/polynomial/laurent_polynomial_ring.py ; PR: sagemath#35229 closed in 2023 File: src/sage/rings/polynomial/groebner_fan.py ; PR: sagemath#33468 closed in 2022 File: src/sage/rings/polynomial/multi_polynomial.pyx ; PR: sagemath#32709 closed in 2023 File: src/sage/rings/number_field/number_field.py ; PR: sagemath#33386 closed in 2022 ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#41058 Reported by: Frédéric Chapoton Reviewer(s):
sagemathgh-41058: remove some deprecated stuff in rings/ after File: src/sage/rings/polynomial/laurent_polynomial_ring.py ; PR: sagemath#35229 closed in 2023 File: src/sage/rings/polynomial/groebner_fan.py ; PR: sagemath#33468 closed in 2022 File: src/sage/rings/polynomial/multi_polynomial.pyx ; PR: sagemath#32709 closed in 2023 File: src/sage/rings/number_field/number_field.py ; PR: sagemath#33386 closed in 2022 ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#41058 Reported by: Frédéric Chapoton Reviewer(s):
sagemathgh-41058: remove some deprecated stuff in rings/ after File: src/sage/rings/polynomial/laurent_polynomial_ring.py ; PR: sagemath#35229 closed in 2023 File: src/sage/rings/polynomial/groebner_fan.py ; PR: sagemath#33468 closed in 2022 File: src/sage/rings/polynomial/multi_polynomial.pyx ; PR: sagemath#32709 closed in 2023 File: src/sage/rings/number_field/number_field.py ; PR: sagemath#33386 closed in 2022 ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#41058 Reported by: Frédéric Chapoton Reviewer(s):
sagemathgh-41058: remove some deprecated stuff in rings/ after File: src/sage/rings/polynomial/laurent_polynomial_ring.py ; PR: sagemath#35229 closed in 2023 File: src/sage/rings/polynomial/groebner_fan.py ; PR: sagemath#33468 closed in 2022 File: src/sage/rings/polynomial/multi_polynomial.pyx ; PR: sagemath#32709 closed in 2023 File: src/sage/rings/number_field/number_field.py ; PR: sagemath#33386 closed in 2022 ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#41058 Reported by: Frédéric Chapoton Reviewer(s):
sagemathgh-41058: remove some deprecated stuff in rings/ after File: src/sage/rings/polynomial/laurent_polynomial_ring.py ; PR: sagemath#35229 closed in 2023 File: src/sage/rings/polynomial/groebner_fan.py ; PR: sagemath#33468 closed in 2022 File: src/sage/rings/polynomial/multi_polynomial.pyx ; PR: sagemath#32709 closed in 2023 File: src/sage/rings/number_field/number_field.py ; PR: sagemath#33386 closed in 2022 ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#41058 Reported by: Frédéric Chapoton Reviewer(s):
📚 Description
We move the abstract base class
LaurentPolynomialRing_genericto a separate module.This is for modularization purposes (meta-ticket #32414).
We also deprecate the function
is_LaurentPolynomialRingand replace the (few) uses byisinstance.📝 Checklist
⌛ Dependencies