Skip to content

Commit 735f0f3

Browse files
CBirkbeckclaude
andcommitted
revert speculative coe_cast/cast_apply @[simp] additions
These were added speculatively to clean up a proof downstream but the defeq unification trick the original uses can't be cleanly abstracted by these lemmas. Remove until there's a concrete use case. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1a6f40d commit 735f0f3

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Mathlib/NumberTheory/ModularForms/Basic.lean

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -565,18 +565,8 @@ 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-
577568
/-- Transporting a `ModularForm` along an equality of weights does not change its pointwise
578569
values. -/
579-
@[simp]
580570
theorem cast_apply {Γ : Subgroup (GL (Fin 2) ℝ)} {k₁ k₂ : ℤ}
581571
(heq : k₁ = k₂) (f : ModularForm Γ k₁) (z : ℍ) :
582572
(heq ▸ f : ModularForm Γ k₂) z = f z := by

0 commit comments

Comments
 (0)