Documentation

Mathlib.NumberTheory.ModularForms.Basic

Modular forms #

This file defines modular forms and proves some basic properties about them. Including constructing the graded ring of modular forms.

We begin by defining modular forms and cusp forms as extension of SlashInvariantForms then we define the space of modular forms, cusp forms and prove that the product of two modular forms is a modular form.

These are SlashInvariantForm's that are holomorphic and bounded at infinity.

Instances For

    These are SlashInvariantForms that are holomorphic and zero at infinity.

    Instances For

      ModularFormClass F Γ k says that F is a type of bundled functions that extend SlashInvariantFormClass by requiring that the functions be holomorphic and bounded at infinity.

      Instances

        CuspFormClass F Γ k says that F is a type of bundled functions that extend SlashInvariantFormClass by requiring that the functions be holomorphic and zero at infinity.

        Instances
          @[instance 100]
          Equations
          @[instance 100]
          Equations
          • =
          @[instance 100]
          Equations
          @[instance 100]
          Equations
          • =
          theorem ModularForm.toFun_eq_coe {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) :
          f.toFun = f
          @[simp]
          theorem ModularForm.toSlashInvariantForm_coe {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) :
          f.toSlashInvariantForm = f
          theorem CuspForm.toFun_eq_coe {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {f : CuspForm Γ k} :
          f.toFun = f
          @[simp]
          theorem CuspForm.toSlashInvariantForm_coe {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) :
          f.toSlashInvariantForm = f
          theorem ModularForm.ext_iff {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {f : ModularForm Γ k} {g : ModularForm Γ k} :
          f = g ∀ (x : UpperHalfPlane), f x = g x
          theorem ModularForm.ext {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {f : ModularForm Γ k} {g : ModularForm Γ k} (h : ∀ (x : UpperHalfPlane), f x = g x) :
          f = g
          theorem CuspForm.ext_iff {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {f : CuspForm Γ k} {g : CuspForm Γ k} :
          f = g ∀ (x : UpperHalfPlane), f x = g x
          theorem CuspForm.ext {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {f : CuspForm Γ k} {g : CuspForm Γ k} (h : ∀ (x : UpperHalfPlane), f x = g x) :
          f = g
          def ModularForm.copy {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) (f' : UpperHalfPlane) (h : f' = f) :

          Copy of a ModularForm with a new toFun equal to the old one. Useful to fix definitional equalities.

          Equations
          • f.copy f' h = { toSlashInvariantForm := f.copy f' h, holo' := , bdd_at_infty' := }
          Instances For
            def CuspForm.copy {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) (f' : UpperHalfPlane) (h : f' = f) :

            Copy of a CuspForm with a new toFun equal to the old one. Useful to fix definitional equalities.

            Equations
            • f.copy f' h = { toSlashInvariantForm := f.copy f' h, holo' := , zero_at_infty' := }
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              @[simp]
              theorem ModularForm.coe_add {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) (g : ModularForm Γ k) :
              (f + g) = f + g
              @[simp]
              theorem ModularForm.add_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) (g : ModularForm Γ k) (z : UpperHalfPlane) :
              (f + g) z = f z + g z
              Equations
              @[simp]
              instance ModularForm.instSMul {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {α : Type u_1} [SMul α ] [IsScalarTower α ] :
              SMul α (ModularForm Γ k)
              Equations
              • ModularForm.instSMul = { smul := fun (c : α) (f : ModularForm Γ k) => { toSlashInvariantForm := c f.toSlashInvariantForm, holo' := , bdd_at_infty' := } }
              @[simp]
              theorem ModularForm.coe_smul {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {α : Type u_1} [SMul α ] [IsScalarTower α ] (f : ModularForm Γ k) (n : α) :
              (n f) = n f
              @[simp]
              theorem ModularForm.smul_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {α : Type u_1} [SMul α ] [IsScalarTower α ] (f : ModularForm Γ k) (n : α) (z : UpperHalfPlane) :
              (n f) z = n f z
              Equations
              • ModularForm.instNeg = { neg := fun (f : ModularForm Γ k) => { toSlashInvariantForm := -f.toSlashInvariantForm, holo' := , bdd_at_infty' := } }
              @[simp]
              theorem ModularForm.coe_neg {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) :
              (-f) = -f
              @[simp]
              theorem ModularForm.neg_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) (z : UpperHalfPlane) :
              (-f) z = -f z
              Equations
              • ModularForm.instSub = { sub := fun (f g : ModularForm Γ k) => f + -g }
              @[simp]
              theorem ModularForm.coe_sub {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) (g : ModularForm Γ k) :
              (f - g) = f - g
              @[simp]
              theorem ModularForm.sub_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) (g : ModularForm Γ k) (z : UpperHalfPlane) :
              (f - g) z = f z - g z
              Equations
              @[simp]
              theorem ModularForm.coeHom_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : ModularForm Γ k) (a : UpperHalfPlane) :
              ModularForm.coeHom f a = f a

              Additive coercion from ModularForm to ℍ → ℂ.

              Equations
              • ModularForm.coeHom = { toFun := fun (f : ModularForm Γ k) => f, map_zero' := , map_add' := }
              Instances For
                Equations
                Equations
                • ModularForm.instInhabited = { default := 0 }
                def ModularForm.mul {k_1 : } {k_2 : } {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} (f : ModularForm Γ k_1) (g : ModularForm Γ k_2) :
                ModularForm Γ (k_1 + k_2)

                The modular form of weight k_1 + k_2 given by the product of two modular forms of weights k_1 and k_2.

                Equations
                • f.mul g = { toSlashInvariantForm := f.mul g.toSlashInvariantForm, holo' := , bdd_at_infty' := }
                Instances For
                  @[simp]
                  theorem ModularForm.mul_coe {k_1 : } {k_2 : } {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} (f : ModularForm Γ k_1) (g : ModularForm Γ k_2) :
                  (f.mul g) = f * g

                  The constant function with value x : ℂ as a modular form of weight 0 and any level.

                  Equations
                  Instances For
                    Equations
                    • ModularForm.instOneOfNatInt = { one := let __src := ModularForm.const 1; { toSlashInvariantForm := 1, holo' := , bdd_at_infty' := } }
                    @[simp]
                    theorem ModularForm.coe_natCast (Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )) (n : ) :
                    n = n
                    theorem ModularForm.toSlashInvariantForm_natCast (Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )) (n : ) :
                    (↑n).toSlashInvariantForm = n
                    @[simp]
                    theorem ModularForm.coe_intCast (Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )) (z : ) :
                    z = z
                    theorem ModularForm.toSlashInvariantForm_intCast (Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )) (z : ) :
                    (↑z).toSlashInvariantForm = z
                    Equations
                    • One or more equations did not get rendered due to their size.
                    @[simp]
                    theorem CuspForm.coe_add {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) (g : CuspForm Γ k) :
                    (f + g) = f + g
                    @[simp]
                    theorem CuspForm.add_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) (g : CuspForm Γ k) (z : UpperHalfPlane) :
                    (f + g) z = f z + g z
                    Equations
                    @[simp]
                    theorem CuspForm.coe_zero {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } :
                    0 = 0
                    @[simp]
                    instance CuspForm.instSMul {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {α : Type u_2} [SMul α ] [IsScalarTower α ] :
                    SMul α (CuspForm Γ k)
                    Equations
                    • CuspForm.instSMul = { smul := fun (c : α) (f : CuspForm Γ k) => { toSlashInvariantForm := c f.toSlashInvariantForm, holo' := , zero_at_infty' := } }
                    @[simp]
                    theorem CuspForm.coe_smul {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {α : Type u_2} [SMul α ] [IsScalarTower α ] (f : CuspForm Γ k) (n : α) :
                    (n f) = n f
                    @[simp]
                    theorem CuspForm.smul_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } {α : Type u_2} [SMul α ] [IsScalarTower α ] (f : CuspForm Γ k) (n : α) {z : UpperHalfPlane} :
                    (n f) z = n f z
                    Equations
                    • CuspForm.instNeg = { neg := fun (f : CuspForm Γ k) => { toSlashInvariantForm := -f.toSlashInvariantForm, holo' := , zero_at_infty' := } }
                    @[simp]
                    theorem CuspForm.coe_neg {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) :
                    (-f) = -f
                    @[simp]
                    theorem CuspForm.neg_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) (z : UpperHalfPlane) :
                    (-f) z = -f z
                    Equations
                    • CuspForm.instSub = { sub := fun (f g : CuspForm Γ k) => f + -g }
                    @[simp]
                    theorem CuspForm.coe_sub {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) (g : CuspForm Γ k) :
                    (f - g) = f - g
                    @[simp]
                    theorem CuspForm.sub_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) (g : CuspForm Γ k) (z : UpperHalfPlane) :
                    (f - g) z = f z - g z
                    Equations
                    @[simp]
                    theorem CuspForm.coeHom_apply {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {k : } (f : CuspForm Γ k) (a : UpperHalfPlane) :
                    CuspForm.coeHom f a = f a

                    Additive coercion from CuspForm to ℍ → ℂ.

                    Equations
                    • CuspForm.coeHom = { toFun := fun (f : CuspForm Γ k) => f, map_zero' := , map_add' := }
                    Instances For
                      Equations
                      Equations
                      • CuspForm.instInhabited = { default := 0 }
                      @[instance 99]
                      Equations
                      • =
                      def ModularForm.mcast {a : } {b : } {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} (h : a = b) (f : ModularForm Γ a) :

                      Cast for modular forms, which is useful for avoiding Heqs.

                      Equations
                      • ModularForm.mcast h f = { toFun := f, slash_action_eq' := , holo' := , bdd_at_infty' := }
                      Instances For
                        theorem ModularForm.gradedMonoid_eq_of_cast {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) )} {a : GradedMonoid (ModularForm Γ)} {b : GradedMonoid (ModularForm Γ)} (h : a.fst = b.fst) (h2 : ModularForm.mcast h a.snd = b.snd) :
                        a = b
                        Equations
                        Equations
                        • ModularForm.instGAlgebra Γ = { toFun := { toFun := ModularForm.const, map_zero' := , map_add' := }, map_one := , map_mul := , commutes := , smul_def := }