LMFDB / lmfdb

L-Functions and Modular Forms Database
Other
249 stars 200 forks source link

Magma code on Dirichlet character pages #1912

Open AndrewVSutherland opened 8 years ago

AndrewVSutherland commented 8 years ago

This is listed in the roadmap and was recently requested at an LMFDB presentation made at the UConn number theory summer school on elliptic curves and modular forms.

AndrewVSutherland commented 4 years ago

We should add code snippets for pari, but Magma doesn't have this functionality built-in. Snippet might need to be long or could be a download.

davidlowryduda commented 4 years ago

We currently have pari and sage code on these pages. There is a parallel between the magma code and the sage code.

The sage snippet relies on Bober's Conrey package, and we just assume that the user has this. From what I understand, Drew has a short magma package (or perhaps really a function) that could do this too in magma. One option would be to make that available.

In fact, I think we should also include a link to Bober's package in the comment saying it's a nonstandard package.

I can imagine another possibility. We could probably generate code on the fly using Bober's code and then translate this into sage code, and do something similar for magma code.

jvoight commented 4 years ago

The best solution to this is to have Magma include our code for working with Dirichlet characters, including Conrey labels, minimality, etc. Just wrote to John Cannon to see if this can be included in the near future. Otherwise, we can try to be creative about code snippets, but I'm not sure it will be very appealing.