-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
proof=False unnecessary in factor() #10902
Comments
comment:1
I reported this upstream: http://www.singular.uni-kl.de:8002/trac/ticket/320 |
comment:2
Dear Martin, Replying to @malb:
this ticket is empty on my browser (firefox). Also, is there a workaround to factor bivariate Paul |
comment:3
Paul, the Singular developers replied on that ticket and state that this bug is fixed in Singular 3-1-2. Updating to 3-1-2 is now #10903. As for a workaround, I cannot immediately think of any. It's a pretty grim situation, but at least now there is a Singular developer working on factoring. |
comment:4
Replying to @malb:
thanks Martin. Once Singular is updated to 3-1-2, I will try to find examples where the factorization returned by Singular is incomplete. It would help to have concrete examples Paul |
comment:5
3-1-2 should also improve this, but there are some issues that are only resolved in whatever is the next version of Singular, cf. http://www.singular.uni-kl.de:8002/trac/ticket/291#comment:4 |
comment:6
Is this really so bad?
The factor of
Is there a case where the two expressions aren't equivalent as functions? Or am I missing something obvious like usual? |
comment:7
Replying to @sagetrac-dsm:
But polynomials over GF(2) are not merely boolean functions. There's a one-to-one mapping between square-free polynomials over GF(2) and boolean functions, but polynomials are more than that. So I'd say it is very bad. |
comment:8
here is another example over GF(2):
An example over GF(3):
|
comment:9
and an example over GF(5):
and one over GF(7):
Examples can be constructed at will with the following code (change GF(7) by whatever you want):
|
Changed keywords from none to sd34 |
Dependencies: #10903 |
Author: Martin Albrecht, Paul Zimmermann |
comment:14
Replying to @malb:
the 2nd patch from #11339 fails to apply on 4.7.1:
I could try 4.7.2.alpha, where can I download it? Paul |
comment:15
Yes, you'll need 4.7.2.alpha3: http://boxen.math.washington.edu/home/release/sage-4.7.2.alpha3/sage-4.7.2.alpha3.tar |
Work Issues: spkg fails to build |
comment:16
Martin, with 4.7.2.alpha3 the two patches from #11339 apply ok, but the new skpg fails to compile
Any clue? Paul |
comment:17
The new SPKG should fix this issue. http://sage.math.washington.edu/home/malb/spkgs/singular-3-1-3-3.spkg |
comment:18
I finally managed to apply the 4 patches, I ran However
Paul |
Changed work issues from spkg fails to build to Proof=... still present |
comment:19
for the proof thingy you'll also need to apply the patch from this ticket, i.e.,attachment: trac_10902_factor_fixed.patch |
comment:22
I've rebased the patch to 5.0.beta13 and made sure that sig_on/sig_off are always called, so that one can interrupt the factorisation if it hangs. |
comment:23
Sage 5.0.beta13 fails to build on my computer, thus I'll have to wait for beta14 to review that ticket... Paul |
comment:24
thanks to Jeroen, I've managed to build Sage 5.0.beta13. However the issue reported in comment
I'll be happy when this will be reported in another ticket. Paul |
comment:25
I've created #12846 |
Work Issues: doctest failure |
comment:26
one doctest fails with sage-5.0.beta13:
Paul |
Attachment: trac_10902_factor.patch.gz |
comment:27
I've updated the patch. |
Changed keywords from sd34 to none |
Changed work issues from doctest failure to none |
comment:28
Martin, why did you remove the sd34 keyword? I had put it since I worked on this ticket during SD34. Paul |
Changed keywords from none to sd34 |
comment:29
Oh, I figured I should remove it since it wasn't resolved at SD34. I added it back. |
Reviewer: Paul Zimmermann |
comment:30
good work, thanks Martin! Paul PS: I removed my name as author since the patch is entirely from you. |
Changed author from Martin Albrecht, Paul Zimmermann to Martin Albrecht |
Merged: sage-5.1.beta0 |
There are currently no known counter examples where Singular would return an incorrect factorisation. It might be very very slow but does not return wrong answers as far as we know. Hence, we should drop
proof=False
.Depends on #10903
CC: @malb @simon-king-jena
Component: commutative algebra
Keywords: sd34
Author: Martin Albrecht
Reviewer: Paul Zimmermann
Merged: sage-5.1.beta0
Issue created by migration from https://trac.sagemath.org/ticket/10902
The text was updated successfully, but these errors were encountered: