Skip to content
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

Better plotting for isogeny graphs of elliptic curves, and handling of LMFDB labels #12768

Closed
roed314 opened this issue Mar 28, 2012 · 31 comments

Comments

@roed314
Copy link
Contributor

roed314 commented Mar 28, 2012

There are only 17 different possible isogeny graphs for elliptic curves over Q. It would be nice if the isogeny graph was laid out in the same way each time, and if the labels corresponded to the Cremona labels of the curves in the isogeny class.

The second major topic handled by this ticket is to implement handling of LMFDB labels for elliptic curves as well as Cremona labels, and the conversions between these. the third is a new class for isogeny classes of elliptic curves over Q.

Apply: attachment: 12768.patch, attachment: 12768-review.patch, attachment: trac_12768-rebase-to-13109.patch

Depends on #12769
Depends on #13109

CC: @JohnCremona @kedlaya @vbraun

Component: elliptic curves

Author: David Roe, John Palmieri

Reviewer: John Cremona, Volker Braun

Merged: sage-5.3.beta0

Issue created by migration from https://trac.sagemath.org/ticket/12768

@roed314
Copy link
Contributor Author

roed314 commented Apr 2, 2012

comment:1

I still need to finish doctesting this, but I wanted to post it now since I'm not going to be able to work on it tomorrow. It adds the capability to make curves from LMFDB labels, to reorder isogeny classes, and makes the plot for the graph of an isogeny class deterministic. I have a corresponding patch to the LMFDB code that fixes all the problems I've observed with ordering and plotting.

@roed314
Copy link
Contributor Author

roed314 commented Apr 5, 2012

Ready for review

@roed314
Copy link
Contributor Author

roed314 commented Apr 5, 2012

comment:2

Attachment: 12768.patch.gz

The tests in sage/schemes/elliptic_curves pass for me. Let's see what patchbot says.

@JohnCremona
Copy link
Member

Author: David Roe

@JohnCremona

This comment has been minimized.

@JohnCremona JohnCremona changed the title Better plotting for isogeny graphs of elliptic curves Better plotting for isogeny graphs of elliptic curves, and handling of LMFDB labels Apr 6, 2012
@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Apr 7, 2012

comment:4

Patchbot says "angry red blob", I'm afraid. Here's the problem:

patching file sage/databases/cremona.py
Hunk #5 FAILED at 792
1 out of 6 hunks FAILED -- saving rejects to file sage/databases/cremona.py.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh 12768.patch

@loefflerd loefflerd mannequin added s: needs work and removed s: needs review labels Apr 7, 2012
@roed314
Copy link
Contributor Author

roed314 commented Apr 8, 2012

Dependencies: #12769

@roed314
Copy link
Contributor Author

roed314 commented Apr 8, 2012

comment:6

Oops. Forgot a dependency.

@JohnCremona
Copy link
Member

comment:7

Patch applies fine after the one from #12769. Checking the code now.

@JohnCremona

This comment has been minimized.

@JohnCremona
Copy link
Member

Reviewer: John Cremona

@JohnCremona
Copy link
Member

comment:8

Review: This patch implements three different things: (1) A new class for isogeny classes of elliptic curves (currently only for curves over Q); (2) implementation of the new (March 2012) LMFDB labels for elliptic curves over Q, with utilities for comverting to and from Cremona labels; (3) better layouts for isogeny graphs of elliptic curves over Q.

I have been through the code in some detail and only found some minor things to fix, as in the reviewer's patch. One of these was a typo causing doctest failure. Nothing more than minor. If David R is happy with these, I'll give the ticket a positive review.

@roed314
Copy link
Contributor Author

roed314 commented Apr 10, 2012

comment:9

The changes all look fine to me, but the fourth hunk for ell_rational_field in the review patch fails to apply. I'll try to fix it later tonight, but if you get to it first go for it.

@JohnCremona
Copy link
Member

comment:11

My patch was based on 5.0.beta13, if that helps. By the way, the reason I changed ell_generic to ell_rational_field was so that when testing a valid elliptic curve defined over a different field for membership of the isogenyclass one just gets False instead of an error as before; but I forgot to add some doctests to illustrate.

@JohnCremona
Copy link
Member

Apply after previous

@JohnCremona
Copy link
Member

comment:12

Attachment: 12768-review.patch.gz

I have updated the review patch: it used to be that when asking for order='database' for a curve not in the database, this was caught but the error message output itself raised a confusing error (on trying to output %self).  Instead the error message now uses %self.E.  I added a doctest which illustrates this.

I give David's original patch a positive review modulo my own reviewer's patch, so if David (or anyone) thinks my patch is OK, please give the whole ticket a positive review.  I tested this on 5.0.beta14.

@jhpalmieri
Copy link
Member

Changed dependencies from #12769 to #12769, #13109

@jhpalmieri
Copy link
Member

comment:16

Attachment: trac_12768-rebase-to-13109.patch.gz

Only the rebase patch needs to be reviewed.

@jhpalmieri

This comment has been minimized.

@vbraun
Copy link
Member

vbraun commented Jun 30, 2012

Changed author from David Roe to David Roe, John Palmieri

@vbraun
Copy link
Member

vbraun commented Jun 30, 2012

Changed reviewer from John Cremona to John Cremona, Volker Braun

@vbraun
Copy link
Member

vbraun commented Jun 30, 2012

comment:17

Looks good to me!

@jhpalmieri
Copy link
Member

Attachment: trac_12768-rebase-to-13109.v2.patch.gz

@jhpalmieri

This comment has been minimized.

@jhpalmieri
Copy link
Member

comment:18

Should I add a doctest for the deprecation? The 'v2' patch does that, so if you want to use that instead, change the ticket description accordingly.

@jdemeyer jdemeyer removed this from the sage-5.2 milestone Jul 1, 2012
@JohnCremona
Copy link
Member

comment:20

Replying to @jdemeyer:

Why not 5.2?

@jdemeyer
Copy link

jdemeyer commented Jul 1, 2012

comment:21

Because of the long chain of dependencies which might not all be merged in sage-5.2. Maybe they will, but I can't guarantee.

@jdemeyer jdemeyer added this to the sage-5.3 milestone Jul 27, 2012
@jdemeyer jdemeyer removed the pending label Jul 27, 2012
@jdemeyer
Copy link

jdemeyer commented Aug 1, 2012

Merged: sage-5.3.beta0

@JohnCremona
Copy link
Member

comment:24

I think it is time that the deparecation message introduced here is removed.

@JohnCremona
Copy link
Member

comment:25

Replying to @JohnCremona:

I think it is time that the deprecation message introduced here is removed.

See #15694.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants