-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
ecmfactor should take as optional argument the sigma value #10951
Comments
comment:1
Attachment: trac_10951.patch.gz the attached file does two things: (1) if an optional sigma=nnn input is given to ecmfactor, it uses that value (nnn) to choose the elliptic curve, instead of a random one. This allows to get a deterministic behaviour; (2) if a non-trivial factor was found (with a random or user-given sigma) it is returned by Paul |
comment:3
This function seems to lack documentation. I do not see anything about it at http://sagemath.org/doc/reference/libs.html. |
comment:4
Replying to @sagetrac-mariah:
you are right. However this was already the case before my patch. The best would be to open a Paul |
Changed keywords from none to sd32 |
Author: Paul Zimmerman |
Reviewer: Mike Hansen |
comment:7
Looks good to me. I've made #13042 to add the module to the reference manual. |
Changed keywords from sd32 to sd32, sd40.5 |
Work Issues: rebase, documentation |
comment:8
This patch should still be rebased to #12777 and the new option should be documented. |
comment:13
any progress on this? I just found a 59-digit factor with ecmfactor, but I'm unable to know which sigma value was used. If I was able to give the sigma value, I would know. Paul |
comment:14
rebased with the help of Marc Mezzarobba. Remains to do:
|
Changed work issues from rebase, documentation to documentation |
Branch: u/zimmerma/10951 |
Commit: |
Changed work issues from documentation to none |
comment:18
this looks good to me. I have removed some of the newly introduced random keywords. If somebody else agrees, this can be put into positive review. New commits:
|
Changed branch from u/zimmerma/10951 to public/ticket/10951 |
Changed reviewer from Mike Hansen to Mike Hansen, Frédéric Chapoton, Jean-Pierre Flori |
Changed branch from public/ticket/10951 to |
Changed commit from |
comment:22
thank you Frederic for your review. For Paul |
Changed author from Paul Zimmerman to Paul Zimmermann |
I suggest the
ecmfactor
function takes as optional argument a sigmavalue, which would be passed to GMP-ECM. In case of a successful
factorization, this would allow to know the lucky curve, for
example to report it on some tables of records.
For example I found a 61-digit prime factor using
ecmfactor
,but was unable to know the lucky sigma
(http://www.loria.fr/~zimmerma/records/ecmnet.html).
Alternatively, one could store the (random) sigma value chosen by
GMP-ECM if not sigma was given, but that might be more difficult to
implement.
CC: @aghitza @JohnCremona @rlmill @jpflori
Component: factorization
Keywords: sd32, sd40.5
Author: Paul Zimmermann
Branch:
4a59cea
Reviewer: Mike Hansen, Frédéric Chapoton, Jean-Pierre Flori
Issue created by migration from https://trac.sagemath.org/ticket/10951
The text was updated successfully, but these errors were encountered: