-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Fix is_homogeneous
weight bug
#38575
Conversation
Documentation preview for this PR (built with commit 8fa25d9; changes) is ready! 🎉 |
CI Failure reported at #38579 and is irrelevant |
This seems like a sensible fix, but I don't know what the best thing to do with the weighted polynomials is generally. This could be merged and then a whole new class could be refactored at a later date? |
AFAIK there's basically no support for weighted polynomials in the Sage implementation (not Singular) of multivariate polynomial rings with the |
PoC: ```sage term_order = TermOrder("wdegrevlex", [1, 3]) R.<x, y> = PolynomialRing(Qp(5), order=term_order) assert not (x + y).is_homogeneous() assert (x^3 + y).is_homogeneous() ``` URL: sagemath#38575 Reported by: grhkm21 Reviewer(s):
PoC: ```sage term_order = TermOrder("wdegrevlex", [1, 3]) R.<x, y> = PolynomialRing(Qp(5), order=term_order) assert not (x + y).is_homogeneous() assert (x^3 + y).is_homogeneous() ``` URL: sagemath#38575 Reported by: grhkm21 Reviewer(s):
PoC: ```sage term_order = TermOrder("wdegrevlex", [1, 3]) R.<x, y> = PolynomialRing(Qp(5), order=term_order) assert not (x + y).is_homogeneous() assert (x^3 + y).is_homogeneous() ``` URL: sagemath#38575 Reported by: grhkm21 Reviewer(s):
PoC: ```sage term_order = TermOrder("wdegrevlex", [1, 3]) R.<x, y> = PolynomialRing(Qp(5), order=term_order) assert not (x + y).is_homogeneous() assert (x^3 + y).is_homogeneous() ``` URL: sagemath#38575 Reported by: grhkm21 Reviewer(s):
PoC: ```sage term_order = TermOrder("wdegrevlex", [1, 3]) R.<x, y> = PolynomialRing(Qp(5), order=term_order) assert not (x + y).is_homogeneous() assert (x^3 + y).is_homogeneous() ``` URL: sagemath#38575 Reported by: grhkm21 Reviewer(s):
PoC: ```sage term_order = TermOrder("wdegrevlex", [1, 3]) R.<x, y> = PolynomialRing(Qp(5), order=term_order) assert not (x + y).is_homogeneous() assert (x^3 + y).is_homogeneous() ``` URL: sagemath#38575 Reported by: grhkm21 Reviewer(s):
PoC: