-
-
Notifications
You must be signed in to change notification settings - Fork 472
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
sha().an() assumes E is minimal. #10096
Comments
Changed upstream from Reported upstream. Developers acknowledge bug. to none |
comment:1
I found the problem here. an() uses the minimal model when it can do the job itself, which is when the rank is at most 1, but when the rank is at least 2 it passes the work to an_numerical(), and that did not use the minimal model. I am preparing a patch which fixes this. And as I suspect that other related functions also need the minimal model (notably the p-adic one) I am now caching the minimal model and changing lots of occurrences of self.E to self.Emin. Watch this space... |
Applies to 4.6.rc0 |
Author: John Cremona |
comment:2
Attachment: trac_10096-sha.patch.gz The patch fixes this. the minimal model is computed on construction and used in place of the original (when the latter is not minimal). New doctests show that the reported problem has gone away. It would be helpful if someone could confirm that this is the correct thing to do also for the an_padic() function. The doctests still pass, but I sust[ect that they are all with minimal curves anyway. I was assuming (a) that the value of an_padic() was isomorphism-invariant, and (2) that using a minimal model would be at least as fast, possibly faster, than using a non-minimal model, even if both give the correct answer! |
Reviewer: Aly Deines |
Merged: sage-4.6.1.alpha1 |
Changed reviewer from Aly Deines to Alyson Deines |
Changed reviewer from Alyson Deines to Aly Deines |
I noticed the following problem with sha().an()
It looks like sha().an() assumes that E is minimal. The extra factor of 6 seems to be coming from the real period.
It's probably unfair to call this a bug, but it could definitely lead people astray.
CC: @williamstein @rlmill @categorie
Component: elliptic curves
Keywords: sha, real period
Author: John Cremona
Reviewer: Aly Deines
Merged: sage-4.6.1.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/10096
The text was updated successfully, but these errors were encountered: