Skip to content
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

Minimal associated primes for polynomial ideals can hang unexpectedly #29671

Open
kedlaya opened this issue May 10, 2020 · 4 comments
Open

Minimal associated primes for polynomial ideals can hang unexpectedly #29671

kedlaya opened this issue May 10, 2020 · 4 comments

Comments

@kedlaya
Copy link
Sponsor Contributor

kedlaya commented May 10, 2020

This might be an upstream issue. I don't know if finding a more minimal example would help to isolate this, but note that this is only in two variables over a quadratic field, and the degrees are not absurdly large.

sage: L.<zeta3> = CyclotomicField(3)                                                        
sage: Q.<x5,x6> = L[] 
sage: I = Q.ideal((x5*x6^16 - 3*x5*x6^15 + 3*x5*x6^14 + x5*x6^13 - 6*x5*x6^12 + 7*x5*x6^11 - 3*x5*x6^10 - 3*x5*x6^9 + 7*x5*x6^8 - 6*x5*x6^7 + x5*x6^6 + 3*x5*x6^5 - 3*x5*x6^4 + x5*x6^3 + (-zeta3)*x6^13 + (3*zeta3)*x6^12 + (-3*zeta3)*x6^11 + (-zeta3)*x6^10 + (6*zeta3)*x6^9 + (-7*zeta3)*x6^8 + (3*zeta3)*x6^7 + (3*zeta3)*x6^6 + (-7*zeta3)*x6^5 + (6*zeta3)*x6^4 + (-zeta3)*x6^3 + (-3*zeta3)*x6^2 + (3*zeta3)*x6 + (-zeta3), x5^2*x6^5 - x5^2*x6^3 + (3*zeta3)*x5*x6^15 + (-7*zeta3)*x5*x6^14 + (4*zeta3)*x5*x6^13 + (7*zeta3)*x5*x6^12 + (-14*zeta3)*x5*x6^11 + (10*zeta3)*x5*x6^10 + (-10*zeta3)*x5*x6^8 + (14*zeta3)*x5*x6^7 + (-8*zeta3)*x5*x6^6 + (-4*zeta3)*x5*x6^5 + (8*zeta3)*x5*x6^4 + (-3*zeta3)*x5*x6^3 + (-zeta3)*x5*x6^2 + (zeta3)*x5 + (3*zeta3 + 3)*x6^12 + (-7*zeta3 - 7)*x6^11 + (4*zeta3 + 4)*x6^10 + (7*zeta3 + 7)*x6^9 + (-14*zeta3 - 14)*x6^8 + (10*zeta3 + 10)*x6^7 + (-10*zeta3 - 10)*x6^5 + (14*zeta3 + 14)*x6^4 + (-8*zeta3 - 8)*x6^3 + (-4*zeta3 - 4)*x6^2 + (8*zeta3 + 8)*x6 + (-3*zeta3 - 3), x5^4*x6^4 - x5^4*x6^3 + (2*zeta3)*x5^3*x6^4 + (-2*zeta3)*x5^3*x6^3 + (-zeta3)*x5^3*x6 + (zeta3)*x5^3 + (-2*zeta3 - 2)*x5^2*x6^4 + (2*zeta3 + 2)*x5^2*x6^3 + (2*zeta3 + 2)*x5^2*x6 + (-2*zeta3 - 2)*x5^2 + 7*x5*x6^15 - 18*x5*x6^14 + 11*x5*x6^13 + 18*x5*x6^12 - 36*x5*x6^11 + 25*x5*x6^10 - 25*x5*x6^8 + 35*x5*x6^7 - 19*x5*x6^6 - 11*x5*x6^5 + 20*x5*x6^4 - 7*x5*x6^3 - 2*x5*x6 + 2*x5 + (-7*zeta3)*x6^12 + (18*zeta3)*x6^11 + (-11*zeta3)*x6^10 + (-18*zeta3)*x6^9 + (36*zeta3)*x6^8 + (-25*zeta3)*x6^7 + (25*zeta3)*x6^5 + (-35*zeta3)*x6^4 + (19*zeta3)*x6^3 + (11*zeta3)*x6^2 + (-20*zeta3)*x6 + (7*zeta3)))

Now lots of things behave normally and run instantly:

sage: gb = I.groebner_basis()
sage: l = I.associated_primes()

But try:

sage: l = I.minimal_associated_primes()

and Sage hangs, apparently within sage.libs.singular.function_factory.ff.primdec__lib.minAssGTZ. (Sage reports that the Singular version is 4.1.1p2.p0.)

Upstream: Reported upstream. No feedback yet.

Component: commutative algebra

Keywords: minimal associated primes, singular

Issue created by migration from https://trac.sagemath.org/ticket/29671

@kedlaya
Copy link
Sponsor Contributor Author

kedlaya commented May 15, 2020

comment:1

Looks like this is an upstream issue:

sage: singular(I).minAssGTZ()

also hangs, whereas similar commands like

sage: singular(I).primdecGTZ()

work just fine.

@kedlaya
Copy link
Sponsor Contributor Author

kedlaya commented May 15, 2020

Changed keywords from minimal associated primes to minimal associated primes, singular

@kedlaya
Copy link
Sponsor Contributor Author

kedlaya commented May 15, 2020

Upstream: Reported upstream. No feedback yet.

@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Oct 24, 2020
@mkoeppe
Copy link
Member

mkoeppe commented May 10, 2021

comment:5

Moving to 9.4, as 9.3 has been released.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 May 10, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 22, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 May 3, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe removed this from the sage-9.8 milestone Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants