-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
bug in multivariate factorization over prime fields #13770
Comments
comment:1
maybe one should consider replacing Singular by another more reliable component? Paul |
comment:2
Paul, to be fair #13672 isn't a bug in Singular but an issue with Pari and how we use it. Also, I am not sure there is a component we could use besides Singular for factoring. In any case, I've forwarded your bug report. |
Upstream: Reported upstream. No feedback yet. |
This comment has been minimized.
This comment has been minimized.
comment:5
Replying to @zimmermann6:
If there were any (for multivariate polynomials etc.), we would immediately use it in Singular. |
Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release. |
comment:7
from Martin Lee:
|
comment:9
Martin Lee tells me the bug is fixed by this commit: Singular/Singular#215 Also it is fixed in Singular 3-1-6. Any plan to upgrade the Singular version? Martin also tells me Singular 3-1-7 is planned within the next month. Paul |
Attachment: trac_13770.patch.gz |
Author: Paul Zimmermann |
comment:10
on http://www.loria.fr/~zimmerma/singular-3-1-5.p8.spkg I've put an updated Singular spkg which includes the first patch of Singular/Singular#215. This seems to be enough to solve this bug. The attached patch adds a non-regression test. Paul |
comment:11
Replying to @zimmermann6:
Wouldn't it be safer to include all four commits? Did you check whether this solves #14658? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:14
Jeroen,
indeed (maybe only the first three, since the last one only adds tests). But I didn't know how to extract the diff, thus I edited the Singular source file manually, it took then several hours on my laptop to recompile the spkg and rebuild Sage, thus I was quite happy it worked (currently running
unfortunately not. The first example of #14658 does no longer produce an error (same with vanilla 5.11 btw) but the factorization is incomplete:
The other example still breaks with Paul |
comment:15
my Singular spkg was corrupted. I made a new one (same url). Paul |
comment:16
When updating a spkg, you should add a Changelog entry in I will make these changes and try to use the 3 commits from the upstream pull request. |
Changed author from Paul Zimmermann to Paul ZImmermann, Jeroen Demeyer |
comment:17
To download patches from github, see http://stackoverflow.com/questions/6188591/download-github-pull-request-as-unified-diff (I agree it is hard to find out) |
comment:18
Also rebasing to #14737. |
comment:19
thank you Jeroen for the pointers. I thus let you continue on this ticket. Paul |
Changed author from Paul ZImmermann, Jeroen Demeyer to Paul Zimmermann, Jeroen Demeyer |
comment:21
just answering to my own question:
this is planned in #14333 Paul |
Changed author from Paul Zimmermann, Jeroen Demeyer to Paul ZImmermann, Jeroen Demeyer |
Changed author from Paul ZImmermann, Jeroen Demeyer to Paul Zimmermann, Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
Attachment: singular-3-1-5.p9.diff.gz |
This comment has been minimized.
This comment has been minimized.
comment:25
New spkg is up, but I still need to test it properly myself. |
comment:26
#14658 is still not fixed:
Note that we do not even get deterministic answers:
|
comment:27
Passes all tests on the buildbot, so needs_review for real. |
Reviewer: Jean-Pierre Flori |
Changed keywords from none to sd53, singular, polynomial, factorization |
comment:28
Looks good. |
Merged: sage-5.12.rc0 |
after #11829, #11838, #12918, #12928, here is another bug in multivariate factorization over prime fields:
When will Sage be usable for this kind of computation?
spkg: http://boxen.math.washington.edu/home/jdemeyer/spkg/singular-3-1-5.p9.spkg (spkg diff)
apply attachment: trac_13770.patch
See also upstream Singular/Singular#215
Upstream: Fixed upstream, but not in a stable release.
CC: @malb @simon-king-jena @alexanderdreyer
Component: commutative algebra
Keywords: sd53, singular, polynomial, factorization
Author: Paul Zimmermann, Jeroen Demeyer
Reviewer: Jean-Pierre Flori
Merged: sage-5.12.rc0
Issue created by migration from https://trac.sagemath.org/ticket/13770
The text was updated successfully, but these errors were encountered: