Open alonamit1729 opened 6 months ago
This is doable. However, it is not straightforward, as MW generators live in a different table from the search table.
The main problem is with downloading, if we're getting the data from another table.
I agree, another not straightforward point :)
I should have mentioned that downloading is my main motivation :) I hope a join
is possible!
Ah. Yeah, I didn't get downloading to work. If you set up the LMFDB locally, you can do the following:
from lmfdb import db
D = {rec["lmfdb_label"]:rec["gens"] for rec in db.ec_mwbsd.search({}, ["lmfdb_label", "gens"])}
This gives you a dictionary with all the generators for all the curves in the LMFDB, and takes about 3.5 minutes to run.
In case it is helpful, the repositories https://github.com/JohnCremona/ecdata and https://github.com/JohnCremona/ecnf-data have the raw data as well as Sage code for reading the files. Also, the web page https://johncremona.github.io/ecdata/ (which long predates the LMFDB) allows you to download all the generators in text files called allgens.* split into conductor ranges of 10000.
Of course it really should be true that anything you can do with these files you can also do with the LMFDB.
When searching for elliptic curves it is currently not possible to include the Mordell-Weil generators as columns in the search results. It may be cumbersome to do so for curves of high rank, but for rank 1 (and possibly 2, 3) it would be extremely valuable to include them.