Dimension formula for level-one modular forms
ProvedFamousTheorems.level_one_modular_forms_dimension_7bThe dimension formula for modular forms of level one. Let be even and let be the space of modular forms of weight for . Then
This is one of the first results of the theory of modular forms. It gives , , and for , which yields identities such as and the divisor sum identity that follows from it. It follows from the valence formula, or from the structure theorem .
Formalization note. Mathlib's ModularForm.dimension_level_one. Mathlib's modular forms are for subgroups of , and the level-one group is the image of under Matrix.SpecialLinearGroup.mapGL ℝ. Module.rank is the dimension as a cardinal. For odd the space is , which is not part of this statement.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem level_one_modular_forms_dimension_7b (k : ℕ) (hk : Even k) :
Module.rank ℂ (ModularForm (MonoidHom.range (Matrix.SpecialLinearGroup.mapGL ℝ :
Matrix.SpecialLinearGroup (Fin 2) ℤ →* GL (Fin 2) ℝ)) (k : ℤ)) =
((if k ≡ 2 [MOD 12] then k / 12 else k / 12 + 1 : ℕ) : Cardinal) := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `ModularForm.dimension_level_one`. Proof here reduces to that Mathlib result.