Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/sage/modular/modform/notes.py
4045 views
1
"""
2
Design Notes
3
4
The implementation depends the fact that we have dimension formulas
5
(see dims.py) for spaces of modular forms with character, and new
6
subspaces, so that we don't have to compute q-expansions for the whole
7
space in order to compute q-expansions / elements / and dimensions of
8
certain subspaces. Also, the following design is much simpler than
9
the one I used in MAGMA because submodulesq don't have lots of
10
complicated special labels. A modular forms module can consist of the
11
span of any elements; they need not be Hecke equivariant or anything
12
else.
13
14
The internal basis of q-expansions of modular forms for the ambient
15
space is defined as follows:
16
17
First Block: Cuspidal Subspace
18
Second Block: Eisenstein Subspace
19
20
Cuspidal Subspace: Block for each level M dividing N, from highest
21
level to lowest. The block for level M
22
contains the images at level N of the
23
newsubspace of level M (basis, then
24
basis(q**d), then basis(q**e), etc.)
25
26
Eisenstein Subspace: characters, etc.
27
28
Since we can compute dimensions of cuspidal subspaces quickly and
29
easily, it should be easy to locate any of the above blocks. Hence,
30
e.g., to compute basis for new cuspidal subspace, just have to return
31
first n standard basis vector where n is the dimension. However, we
32
can also create completely arbitrary subspaces as well.
33
34
The base ring is the ring generated by the character values (or
35
bigger). In MAGMA the base was always ZZ, which is confusing.
36
"""
37
38
#########################################################################
39
# Copyright (C) 2006 William Stein <[email protected]>
40
#
41
# Distributed under the terms of the GNU General Public License (GPL)
42
#
43
# http://www.gnu.org/licenses/
44
#########################################################################
45
46