Open d94aeda2-32aa-4629-a4ab-df146d2bcca0 opened 8 years ago
Commit: c21647b
Branch: u/asteele/random_element
one failing doctest, because you should import DirichletGroup
Branch pushed to git repo; I updated commit sha1. New commits:
202cc92 | add DirichletGroup to imports |
one failing doctest:
File "src/sage/modular/pollack_stevens/space.py", line 715, in sage.modular.pollack_stevens.space.PollackStevensModularSymbolspace.random_element
Failed example:
M.random_element(10)
Expected:
Traceback (most recent call last):
...
NotImplementedError
Got:
Modular symbol of level 11 with values in Space of 11-adic distributions with k=2 action and precision cap 20
Also you need to set the status to "needs_review" if you want this to enter sage.
ping ?
Changed keywords from OMS, L-function to OMS, L-function, sd87
The first thing I tried resulted in an error message:
sage: F = PollackStevensModularSymbols(Gamma0(11), 2)
sage: F.random_element()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-4-074c74c306de> in <module>()
----> 1 F.random_element()
...
ValueError: You can only compute the valuation with respect to a integer larger than 1.
So did the second:
sage: D = OverconvergentDistributions(4, 7, prec_cap=10)
sage: F = PollackStevensModularSymbols(Gamma0(21), coefficients=D)
sage: F.random_element()
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-19-074c74c306de> in <module>()
----> 1 F.random_element()
/storage/masiao/sage/local/lib/python2.7/site-packages/sage/modular/pollack_stevens/space.pyc in random_element(self, M)
758 t += D[g] * manin.gammas[g] - D[g]
759 else:
--> 760 if g in MR.reps_with_two_torsion(): # What is MR ??
761 t -= D[g]
762 else:
NameError: global name 'MR' is not defined
Changed branch from u/asteele/random_element to public/ticket/21557
The Overconvergent Modular Symbols package contains some (buggy) code for creating random overconvergent modular symbols, but currently raises NotImplementedError. The existing code needs to be fixed and modified to handle general congruence subgroups.
CC: @roed314
Component: modular forms
Keywords: OMS, L-function, sd87
Author: Ander Steele
Branch/Commit: public/ticket/21557 @
5c1b1d1
Issue created by migration from https://trac.sagemath.org/ticket/21557