Skip to content

Commit 8460e44

Browse files
CBirkbeckclaude
andcommitted
chore: adapt to v4.32.0-rc1 overlappingInstances linter
Split the `SlashInvariantFormClass`-only declarations and the two `ModularFormClass` lemmas into separate sections so the new `overlappingInstances` linter no longer flags the redundant `SlashInvariantFormClass` binder (implied by `ModularFormClass`). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4034f5c commit 8460e44

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

β€ŽMathlib/NumberTheory/ModularForms/NormTrace.leanβ€Ž

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ instance : MulAction β„‹ 𝒬 := .quotient ..
2929

3030
namespace SlashInvariantForm
3131

32+
section
3233
variable [SlashInvariantFormClass F 𝒒 k]
3334

3435
/-- For `f` invariant under `𝒒`, this is a function on `(β„‹ β§Έ 𝒒 βŠ“ β„‹) Γ— ℍ β†’ β„‚` which packages up the
@@ -48,19 +49,27 @@ lemma quotientFunc_smul {h} (hh : h ∈ β„‹) (q : 𝒬) :
4849
induction q using Quotient.inductionOn with
4950
| h r => simp [SlashAction.slash_mul]
5051

52+
end
53+
54+
section
55+
variable [ModularFormClass F 𝒒 k]
56+
5157
/-- Each `quotientFunc f q` is holomorphic on the upper half plane. -/
52-
lemma quotientFunc_mdiff [ModularFormClass F 𝒒 k] (q : 𝒬) :
58+
lemma quotientFunc_mdiff (q : 𝒬) :
5359
MDiff (quotientFunc f q) :=
5460
Quotient.inductionOn q fun r => (ModularForm.translate f r.val⁻¹).holo'
5561

5662
/-- Each `quotientFunc f q` is bounded at `∞`. -/
57-
lemma quotientFunc_isBoundedAtImInfty [ModularFormClass F 𝒒 k] [𝒒.IsFiniteRelIndex β„‹]
63+
lemma quotientFunc_isBoundedAtImInfty [𝒒.IsFiniteRelIndex β„‹]
5864
[Fact (IsCusp OnePoint.infty β„‹)] (q : 𝒬) :
5965
IsBoundedAtImInfty (quotientFunc f q) :=
6066
Quotient.inductionOn q fun ⟨_, hr⟩ => OnePoint.isBoundedAt_infty_iff.mp <|
6167
(ModularForm.translate f _).bdd_at_cusps'
6268
((Fact.out : IsCusp _ _).of_isFiniteRelIndex_conj hr)
6369

70+
end
71+
72+
variable [SlashInvariantFormClass F 𝒒 k]
6473
variable (β„‹) [𝒒.IsFiniteRelIndex β„‹]
6574

6675
/-- The trace of a slash-invariant form, as a slash-invariant form. -/

0 commit comments

Comments
Β (0)