File tree Expand file tree Collapse file tree
Mathlib/NumberTheory/ModularForms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -565,8 +565,18 @@ def mcast {a b : ℤ} {Γ Γ' : Subgroup (GL (Fin 2) ℝ)} (h : a = b) (f : Modu
565565 holo' := f.holo'
566566 bdd_at_cusps' hc := h ▸ f.bdd_at_cusps' (hΓ ▸ hc)
567567
568+ /-- Transporting a `ModularForm` along an equality of weights does not change its underlying
569+ function. -/
570+ @[simp]
571+ theorem coe_cast {Γ : Subgroup (GL (Fin 2 ) ℝ)} {k₁ k₂ : ℤ}
572+ (heq : k₁ = k₂) (f : ModularForm Γ k₁) :
573+ ((heq ▸ f : ModularForm Γ k₂) : ℍ → ℂ) = (f : ℍ → ℂ) := by
574+ subst heq
575+ rfl
576+
568577/-- Transporting a `ModularForm` along an equality of weights does not change its pointwise
569578values. -/
579+ @[simp]
570580theorem cast_apply {Γ : Subgroup (GL (Fin 2 ) ℝ)} {k₁ k₂ : ℤ}
571581 (heq : k₁ = k₂) (f : ModularForm Γ k₁) (z : ℍ) :
572582 (heq ▸ f : ModularForm Γ k₂) z = f z := by
You can’t perform that action at this time.
0 commit comments