The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.ModularForms.LevelOne.DimensionFormula

26 declarations and 2 deprecated aliases. Mathlib docs · Source

theorem ModularForm.toCuspForm.congr_simp E1 #

∀ {k : ℤ} (f f_1 : ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k) (e_f : f = f_1)
  (h : (PowerSeries.coeff 0) (UpperHalfPlane.qExpansion 1 ⇑f) = 0), f.toCuspForm h = f_1.toCuspForm ⋯

def CuspForm.ofMulDiscriminant E1 #

{k : ℤ} →
  ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range (k - 12) → CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k

Multiply a modular form of weight k - 12 by the discriminant to get a cusp form of weight k. Built directly as a CuspForm via CuspForm.mulModularForm.

theorem CuspForm.ofMulDiscriminant_apply E0 #

∀ {k : ℤ} (f : ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range (k - 12)) (z : UpperHalfPlane),
  (CuspForm.ofMulDiscriminant f) z = ModularForm.discriminant z * f z

theorem CuspForm.divByDiscriminant_slash_eq E0 #

∀ {k : ℤ} (f : CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k) (γ : Matrix.SpecialLinearGroup (Fin 2) ℤ),
  (SlashAction.map (k - 12) γ fun z ↦ f z / ModularForm.discriminant z) = fun z ↦ f z / ModularForm.discriminant z

def CuspForm.discriminantEquiv E1 #

{k : ℤ} →
  CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k ≃ₗ[ℂ]
    ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range (k - 12)

The linear equivalence between cusp forms of weight k and modular forms of weight k - 12, given by division by the discriminant.

theorem CuspForm.discriminantEquiv_apply E0 #

∀ {k : ℤ} (f : CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k) (z : UpperHalfPlane),
  (CuspForm.discriminantEquiv f) z = f z / ModularForm.discriminant z

theorem ModularForm.discriminant_mul_discriminantEquiv_apply E0 #

∀ {k : ℤ} (f : CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k) (z : UpperHalfPlane),
  ModularForm.discriminant z * (CuspForm.discriminantEquiv f) z = f z

theorem ModularForm.discriminant_mul_discriminantEquiv E0 #

∀ {k : ℤ} (f : CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k),
  ModularForm.discriminant * ⇑(CuspForm.discriminantEquiv f) = ⇑f

theorem ModularForm.cuspForm_eq_discriminant_mul E1 #

∀ {k : ℤ} (g : CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k),
  (DirectSum.of (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range) k) (ModularFormClass.modularForm g) =
    (DirectSum.of (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range) 12)
        (ModularFormClass.modularForm CuspForm.discriminant) *
      (DirectSum.of (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range) (k - 12)) (CuspForm.discriminantEquiv g)

In the graded ring ⨁ k, ModularForm 𝒮ℒ k, a cusp form of weight k is Δ times the form of weight k - 12 that CuspForm.discriminantEquiv attaches to it.

theorem ModularForm.discriminant_qExpansion_order E1 #

(UpperHalfPlane.qExpansion 1 ModularForm.discriminant).order = 1

The order of the q-expansion of the modular discriminant is 1: the zeroth coefficient vanishes (Δ is a cusp form) and the first coefficient equals 1.

theorem ModularForm.qExpansion_eq_qExpansion_discriminant_mul E1 #

∀ {k : ℤ} (f : ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k)
  (hcusp : (PowerSeries.coeff 0) (UpperHalfPlane.qExpansion 1 ⇑f) = 0),
  UpperHalfPlane.qExpansion 1 ⇑f =
    UpperHalfPlane.qExpansion 1 ModularForm.discriminant *
      UpperHalfPlane.qExpansion 1 ⇑(CuspForm.discriminantEquiv (f.toCuspForm hcusp))

The q-expansion of a level-1 modular form whose zeroth coefficient vanishes factors as the q-expansion of Δ times the q-expansion of the corresponding form of weight k - 12 obtained via discriminantEquiv.

theorem ModularForm.levelOne_odd_weight_eq_zero E1 #

∀ {k : ℤ}, Odd k → ∀ (f : ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k), f = 0

A 𝒮ℒ modular form of odd weight is zero (evaluate at -1 ∈ SL(2, ℤ)).

theorem ModularForm.levelOne_odd_weight_rank_zero E1 #

∀ {k : ℤ}, Odd k → Module.rank ℂ (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k) = 0

Modular forms of odd weight for 𝒮ℒ are zero-dimensional.

theorem CuspForm.rank_eq_zero_of_weight_lt_twelve E1 #

∀ {k : ℤ}, k < 12 → Module.rank ℂ (CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k) = 0

Cusp forms of weight k < 12 for 𝒮ℒ are zero-dimensional.

theorem CuspForm.rank_eq_one_of_weight_eq_twelve E1 #

Module.rank ℂ (CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range 12) = 1

The space of weight 12 cusp forms for 𝒮ℒ has rank 1.

theorem CuspForm.exists_smul_discriminant_of_weight_eq_twelve E1 #

∀ (f : CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range 12), ∃ c, c • CuspForm.discriminant = f

Every weight 12 cusp form for 𝒮ℒ is a scalar multiple of the discriminant.

theorem ModularForm.rank_eq_one_add_rank_cuspForm E1 #

∀ {k : ℕ},
  3 ≤ k →
    Even k →
      Module.rank ℂ (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range ↑k) =
        1 + Module.rank ℂ (CuspForm (Matrix.SpecialLinearGroup.mapGL ℝ).range ↑k)

For even k ≥ 3, the rank of 𝒮ℒ modular forms is one more than the rank of cusp forms.

theorem ModularForm.levelOne_weight_four_rank_one E1 #

Module.rank ℂ (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range 4) = 1

theorem ModularForm.levelOne_weight_six_rank_one E1 #

Module.rank ℂ (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range 6) = 1

theorem ModularForm.E₄_qExpansion_coeff_one E1 #

(PowerSeries.coeff 1) (UpperHalfPlane.qExpansion 1 ⇑ModularForm.E₄) = 240

theorem ModularForm.E₆_qExpansion_coeff_one E1 #

(PowerSeries.coeff 1) (UpperHalfPlane.qExpansion 1 ⇑ModularForm.E₆) = -504

theorem ModularForm.levelOne_weight_two_rank_zero E1 #

Module.rank ℂ (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range 2) = 0

Modular forms of weight 2 for 𝒮ℒ are zero.

theorem ModularForm.dimension_level_one E1 #

∀ (k : ℕ),
  Even k →
    Module.rank ℂ (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range ↑k) =
      ↑(if k ≡ 2 [MOD 12] then k / 12 else k / 12 + 1)

The dimension formula for 𝒮ℒ modular forms of even weight.

instance ModularForm.instFiniteDimensionalComplexRangeSpecialLinearGroupFinOfNatNatIntGeneralLinearGroupRealMapGL E0 #

∀ (k : ℤ), FiniteDimensional ℂ (ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k)

theorem ModularForm.sturm_bound_levelOne_nat E1 #

∀ {k : ℕ} {f : ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range ↑k},
  ↑(k / 12) < (UpperHalfPlane.qExpansion 1 ⇑f).order → f = 0

Sturm bound for level-1 modular forms (natural weight). If a modular form f of weight k : ℕ has q-expansion of order strictly greater than k / 12, then f is identically zero.

theorem ModularForm.sturm_bound_levelOne E1 #

∀ {k : ℤ} {f : ModularForm (Matrix.SpecialLinearGroup.mapGL ℝ).range k},
  ↑(k.toNat / 12) < (UpperHalfPlane.qExpansion 1 ⇑f).order → f = 0

Sturm bound for level-1 modular forms. If a modular form f of weight k for SL(2, ℤ) has q-expansion of order strictly greater than k / 12, then f is identically zero. Corollary of the natural-weight version sturm_bound_levelOne_nat.

Deprecated aliases

NameNew nameSince
CuspForm.divDiscriminantCuspForm.discriminantEquiv2026-05-18
CuspForm.divDiscriminant_applyCuspForm.discriminantEquiv_apply2026-05-18