- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 688
 
Closed
Description
The following is clearly wrong
sage: M=ModularSymbols(Gamma1(22),sign=1)
sage: S=M.cuspidal_submodule();S
Modular Symbols subspace of dimension 6 of Modular Symbols space of dimension 25 for Gamma_1(22) of weight 2 with sign 1 and over Rational Field
sage: S.new_submodule()
Modular Symbols subspace of dimension 4 of Modular Symbols space of dimension 25 for Gamma_1(22) of weight 2 with sign 1 and over Rational Field
sage: S.old_submodule()
Modular Symbols subspace of dimension 3 of Modular Symbols space of dimension 25 for Gamma_1(22) of weight 2 with sign 1 and over Rational Field
It's wrong because the new and the old subspace should be disjoint and together span the whole space.
Note that the answers are as expected when using modular forms:
sage: M=ModularForms(Gamma1(22))
sage: S=M.cuspidal_submodule();S
Cuspidal subspace of dimension 6 of Modular Forms space of dimension 25 for Congruence Subgroup Gamma1(22) of weight 2 over Rational Field
sage: S.new_submodule()
Modular Forms subspace of dimension 4 of Modular Forms space of dimension 25 for Congruence Subgroup Gamma1(22) of weight 2 over Rational Field
sage: S.old_submodule()
Modular Forms subspace of dimension 2 of Modular Forms space of dimension 25 for Congruence Subgroup Gamma1(22) of weight 2 over Rational Field
Ps. I tested this using sage 5.2.alpha0
Component: modular forms
Keywords: sd51
Author: David Loeffler
Reviewer: Alex Ghitza
Merged: sage-5.12.beta2
Issue created by migration from https://trac.sagemath.org/ticket/13198