-
-
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
work on Simon two-descent #38461
work on Simon two-descent #38461
Conversation
Documentation preview for this PR (built with commit 52b0994; changes) is ready! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one question. Either way you decide, you can set a positive review.
thanks for the review ! |
I'm getting exactly the same fail as the CI, could you please run the tests before setting it to positive review instead of wasting my time? |
@vbraun Sorry about that; the main tester had a bad run and I ignore the Conda testing because that is almost always broken. When I ran the tests locally, they passed; perhaps I used the wrong copy of Sage when running the tests. @fchapoton I get a failure in |
there remains an issue in ell_rational_field too |
I cannot reproduce those failures locally. |
ok, this seems to work well right now, both here and on my machine. I will set back to "needs review". |
I still have a failing doctest in |
3c5f72c
to
6acc34c
Compare
This is random, triggered by the exact line (this exact command works in vanilla sage 10.5.beta3) |
That seems strange. Do you know if the PARI portions are nondeterministic? |
no idea. We would need advice from some pari developers. Also, maybe I should keep the |
@AurelPage : would you please have any suggestion to make about the failure with "insufficient pari effort" here ? The elliptic curve is deterministic, but the algo in pari to find the generators is certainly random as we tag the result on the next line as @JohnCremona , is there is a reasonable way to make this test more robust ? |
@fchapoton I don't know what "this test" is. This may not be what you wanted to hear, but here goes. Many years ago I suggested to Denis Simon that he could implement 2-descent in GP, and he did, with different code for Q and other number fields and for the different cases (depending on how much 2-torsion is rational). That code was incrementally improved over several years, though not at all recently. Much more recently, Bill Allombert wrote a completely new 2-descent implementation in pari itlef (i.e. in libpari) which Sage now uses by default. This makes Simon's gp scripts completely redundant for elliptic curves over Q. We should neither use nor support it, and we should make obsolete the simon_two_descent() method as soon as possible. There is a comment in the docstring for simon_two_descent() over Q which says that it is deprecated, so I hope it will be scrapped soon. For elliptic curves over other number fields, Simon's script still has some use, but I very much hope that libpari will take that over soon to make it equally redundant. Now I can answer a more specific question -- bear in mind that the main point of 2-descent is to give generators for E(K)/2E(K) and (and always for generators of a finite abelian group) they are not unique. |
@fchapoton I could not reproduce the test failure locally (something about the sphinx distribution, which did not occur on develop). |
4aff56d
to
c999704
Compare
Thanks a lot for the feedback. I understand your points. |
Fair enough. I may have been the one who added that test: it soves the congruent number problem for n=157, which used to be hard :). I think the point was to have an example where the default effort did not succeed, but increasing it does. |
could someone please give a positive review, if you agree ? |
I just gave this a positive review. I did not pull the branch, rebuild, test and the rebuild again after switching back. That used to be reasonable but now takes too long. |
thanks a lot. I think looking at the CI is now reasonable for that. |
using `pari` library rather than `gp` interface ; also avoiding direct use of `sage_eval` ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#38461 Reported by: Frédéric Chapoton Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
using `pari` library rather than `gp` interface ; also avoiding direct use of `sage_eval` ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#38461 Reported by: Frédéric Chapoton Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
using
pari
library rather thangp
interface ; also avoiding direct use ofsage_eval
📝 Checklist