-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #34174: insufficient precision in scaling elliptic curves over n…
…umber fields by units <this was first reported on the sage-devel google group: https://groups.google.com/g/sage-devel/c/s0B7OqpB0KU/m/18eHSiRWAAAJ ; as requested I'm opening this ticket> I am running into an issue with computing isogeny classes of elliptic curves over number fields. Here is what I entered: {{{ K.<a> = QuadraticField(4569) myJ = 46969655/32768 E = EllipticCurve(j=K(myJ)) C = E.isogeny_class() }}} This raises a `KeyError` in the first instance, which seems to be handled via a direct call to `IsogenyClass_EC_NumberField`, but this then raises a `ValueError: Cannot convert infinity or NaN to Sage Integer`. See the above linked discussion for the full stacktrace. This error has occurred on sage-9.4 on a system whose `uname -a` is `Linux LEGENDRE 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux`, as well as on sage-9.7-beta5 on `Linux Barinder 5.4.0-121-generic #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux`. Changing the field K to many other quadratic fields does not yield any error. However I did also notice this error with many j-invariants in `QuadraticField(6537)`, so it somehow seems to be base-field dependent. Two issues are fixed in this ticket: (1) computing the isogeny class could fail for a curve defined by a non-integral model; (2) precision was not handled well in scaling equations by units. URL: https://trac.sagemath.org/34174 Reported by: gh-BarinderBanwait Ticket author(s): John Cremona Reviewer(s): David Lowry-Duda
- Loading branch information
Showing
4 changed files
with
68 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=7df04dc0c2e0d7cdfd767dfb86dd3a60d3af1767 | ||
md5=f8e92133f5447c39196fc45a026ed49d | ||
cksum=1963708627 | ||
sha1=32693d220d5b1c5d743b33e2a5ab8b1cbd07d077 | ||
md5=ee385184c3a968a0dcf6534c538ff25d | ||
cksum=4278547201 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
e3ababd22689e7cc6e89a01b1e8bd6d770e7b1cf | ||
74ea2f1b4b1eb592f2f9b1aaba35cc3bc09d5af3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters