-
-
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
exact division in polynomial rings #38928
Comments
I tried responding the sage-devel post about this but I haven't posted there before so I think it needs moderator approval before going through. I can reproduce this in Sage 10.4, and I found some additional weird behaviour:
Do you get the same thing? |
Yes :-( also in sage cell, which has Sage 10.2 |
Copying what I just wrote to sage-devel here: Versions 9.5 - 10.4 produce the output you posted. Versions 9.0 - 9.4 take about 6 minutes and produce "1". Versions 7.0 - 8.8 do not terminate within 12 minutes. Fwiw, you can test something like this "interactively" in bash or zsh (assuming you have a good amount of disk space): cat - | eval `echo -n 'tee -p'; for major in $(seq 7 10); do for minor in $(seq 0 9); do echo -n " >(docker run --rm -i sagemath/sagemath:$major.$minor sage -q | sed --unbuffered s/^/\[$major.$minor\]/ )"; done; done` |
I inserted some print statements in sage/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx Lines 4155 to 4204 in 209ae4c
Apparently, the result of |
Cool! I don't have docker (yet), but that information is extremely valuable. I'm going to see whether I suspect that 9.4 did not use singular for these rings. |
Unfortunately, I cannot build 9.4 on my computer (I'm on Ubuntu 22.04.5 LTS; cysignals-1.10.3 and linbox-1.6.3.p1 fail to build) and I'm not sure whether I can afford to get docker right now. However, I do have a suspect, which is #16567 and was merged in 9.5.beta7. @saraedum, could you check in 9.4:
@miguelmarco, can you help? I have never used singular, so I really have no idea how to fix this. |
More info: after Does that mean that singular cannot do this division? |
Looks like duplicate of #38555 |
I'm on Zulip if you need any assistance with that. On 9.4:
|
This seems related (and might be easier to debug because it crashes and gives a trace):
|
Steps To Reproduce
Expected Behavior
Should give 1.
Actual Behavior
Additional Information
No response
Environment
Checklist
The text was updated successfully, but these errors were encountered: