Fermat's Last Theorem Blueprint

12. Miniproject: Quaternion algebras🔗

12.1. The goal🔗

At the time of writing, mathlib still does not have a proof that the space of classical modular forms of a fixed weight, level and character is finite-dimensional. The main result in this miniproject is to prove that certain spaces of quaternionic modular forms are finite-dimensional. We need finiteness results like this in order to control the Hecke algebras which act on these spaces; these Hecke algebras are the Ts which are isomorphic to the Rs in the R = T theorem which is the big first target for the FLT project.

12.2. Initial definitions🔗

Our first goal in this miniproject is the definition of these spaces of quaternionic modular forms. We start with some preliminary work towards this.

Let K be a field. Recall that a quaternion algebra over K is a central simple K-algebra of K-dimension 4.

A fundamental fact about central simple algebras is that if D/K is a central simple K-algebra and L/K is an extension of fields, then D \otimes_K L is a central simple L-algebra. In particular, if D is a quaternion algebra over K then D \otimes_K L is a quaternion algebra over L. Some Imperial undergraduate students have established this fact in ongoing project work.

A totally real field is a number field F such that the image of every ring homomorphism F \to \bbC is a subset of \R. We fix once and for all a totally real field F and a quaternion algebra D over F. We furthermore assume that D is totally definite, that is, that for all field embeddings \tau : F \to \R we have D \otimes_{F,\tau} \R \cong \bbH. Because F has at least one real place, the totally definite hypothesis is enough to show that D is not a matrix algebra and thus must be a division algebra. Thus Fujisaki's theorem Theorem 11.3.15 from the Fujisaki miniproject applies, and we know that D^\times\backslash (D\otimes_F\A_F)^{(1)} is compact.

The high-falutin' explanation of what is about to happen is that the units D^\times of D can be regarded as a connected reductive algebraic group over F, and we are going to define certain spaces of automorphic forms for this algebraic group. For a general connected reductive algebraic group, part of the definition of an automorphic form is that it is satisfies some differential equations (for example modular forms are automorphic forms for the algebraic group GL_2 over Q, and the definition of a modular form involves holomorphic functions, which are solutions to the Cauchy-Riemann equations). However under the assumption that F is totally real and D/F is totally definite, the "associated symmetric space is a 0-dimensional manifold", meaning in practice that the part of the definition of an automorphic form involving differential equations is vacuously satisfied in this setting.

As a consequence, the definitions we are about to give have a far more algebraic flavour. Crucially, the fact that we do not need to talk about differential equations at all means that one does not need to assume that our automorphic forms are -valued; our definition makes sense for forms valued in an arbitrary additive commutative group. In particular, it is possible to talk about mod p^n and p-adic automorphic forms in this setting without doing any complicated algebraic geometry.

12.3. Brief introduction to automorphic forms in this setting🔗

Having made assumptions on D which make the theory of automorphic forms over D^\times far less technical, we will now make it a little more technical by using the modern adelic approach to the theory. Note that many results about the adeles of a number field are proved in the adele miniproject. Our automorphic forms will be certain functions on the units of the ring D_{\A^\infty} := D \otimes_F \A_F^\infty \cong D \otimes_{\Q} \A_{\Q}^\infty.

To prove Fermat's Last Theorem it suffices to work in weight 2 and trivial character, and for simplicity we shall, at least for now, bake these assumptions into our definitions, even though they would be easy to remove. We remark again that there is no analogue of the holomorphicity condition that one sees in the classical theory, because the symmetric space is a finite set of points rather than the upper half plane. Also there is no analogue of the cuspidality condition because there are no cusps in this setting. Other than the number field F and the quaternion algebra D, the other variable we will see in our situation will be the level of the forms. The main result in this miniproject will be that the space of weight 2 automorphic forms of level U is finite-dimensional.

12.4. Definition of spaces of automorphic forms🔗

Let us now give some precise definitions. Recall that by \A_F^\infty we mean the finite adeles of the totally real number field F.

A level is a compact open subgroup U of (D \otimes_F \A_F^\infty)^\times. These are plentiful. The ring D_f := D \otimes_F \A_F^\infty is a topological ring, and hence the units D_f^\times of this ring are a topological group. This group is locally profinite, and hence has many compact open subgroups; we will see explicit examples later on.

We regard \A_F^\infty as a subring of D_{\A^\infty} := D \otimes_F \A_F^\infty, which is possible because F is a subring of D. More precisely, we embed \A_F^\infty into D \otimes_F \A_F^\infty via the map sending g to 1 \otimes g. Because F is in the centre of D, we have that \A_F^\infty is in the centre of D_{\A^\infty}. As a consequence we can identify (\A_F^\infty)^\times as a subgroup of (D \otimes_F \A_F^\infty)^\times. We may also regard D as a subring of D \otimes_F \A_F^\infty via the map d \mapsto d \otimes 1, and hence we can think of D^\times as a subgroup of (D \otimes_F \A_F^\infty)^\times.

Let R be an additive commutative group. Later on R will be a commutative ring but we will not need this for the definition.

Let us now give some precise definitions. Recall that by \A_F^\infty we mean the finite adeles of the totally real number field F.

A level is a compact open subgroup U of (D\otimes_F\A_F^\infty)^\times. These are plentiful. The ring D_f:=D\otimes_F\A_F^\infty is a topological ring, and hence the units D_f^\times of this ring are a topological group. This group is locally profinite, and hence has many compact open subgroups; we will see explicit examples later on.

We regard \A_F^\infty as a subring of D_{\A^\infty}:=D\otimes_F\A_F^\infty, which is possible because F is a subring of D. More precisely, we embed \A_F^\infty into D\otimes_F\A_F^\infty via the map sending g to 1\otimes g. Because F is in the centre of D, we have that \A_F^\infty is in the centre of D_{\A^\infty}. As a consequence we can identify (\A_F^\infty)^\times as a subgroup of (D\otimes_F\A_F^\infty)^\times. We may also regard D as a subring of D\otimes_F\A_F^\infty via the map d\mapsto d\otimes 1, and hence we can think of D^\times as a subgroup of (D\otimes_F\A_F^\infty)^\times.

Let R be an additive commutative group. Later on R will be a commutative ring but we will not need this for the definition.

The space of R-valued automorphic forms for D^\times is the set of functions f:D_{\A^\infty}^\times\to R satisfying the following axioms:

  • f(dg)=f(g) for all d\in D^\times and g\in D_{\A^\infty}^\times.

  • f(gz)=f(g) for all g\in D_{\A^\infty}^\times.

  • There exists a compact open subgroup U\subseteq (D_{\A^f}^\times) such that f(gu)=f(g) for all g\in D_{\A^\infty}^\times and u\in U.

Lean code for Definition12.4.11 definition
  • complete
    structure TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.{u_1, u_2,
        u_3}
      (F : Type u_1) [Field F] [NumberField F] (D : Type u_2) [Ring D]
      [Algebra F D] [FiniteDimensional F D] (R : Type u_3)
      [AddCommMonoid R] : Type (max (max u_1 u_2) u_3)
    structure TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.{u_1,
        u_2, u_3}
      (F : Type u_1) [Field F] [NumberField F]
      (D : Type u_2) [Ring D] [Algebra F D]
      [FiniteDimensional F D] (R : Type u_3)
      [AddCommMonoid R] :
      Type (max (max u_1 u_2) u_3)
    This definition is made in mathlib-generality but is *not* the definition of a
    weight 2 automorphic form unless `Dˣ` is compact mod centre at infinity.
    This hypothesis will be true if `D` is a totally definite quaternion algebra
    over a totally real field.
    
    toFun : TotallyDefiniteQuaternionAlgebra.Dfx F D  R
    The function underlying an automorphic form. 
    left_invt :  (δ : Dˣ) (g : TotallyDefiniteQuaternionAlgebra.Dfx F D),
      self ((TotallyDefiniteQuaternionAlgebra.incl₁ F D) δ * g) = self g
    right_invt :  U, IsOpen U   (g u : TotallyDefiniteQuaternionAlgebra.Dfx F D), u  U  self (g * u) = self g
    trivial_central_char :  (z : (IsDedekindDomain.FiniteAdeleRing (NumberField.RingOfIntegers F) F)ˣ)
      (g : TotallyDefiniteQuaternionAlgebra.Dfx F D), self (g * (TotallyDefiniteQuaternionAlgebra.incl₂ F D) z) = self g

Let S^D(R) denote the set of automorphic forms for D^\times. The space S^D(R) is sometimes referred to as a space of "quaternionic modular forms" over R. Three basic observations about S^D(R) are as follows.

Pointwise addition (f_1 + f_2)(g) := f_1(g) + f_2(g) makes S^D(R) into an additive abelian group. This depends on Definition 12.4.1.

Lean code for Definition12.4.21 definition
  • def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.addCommGroup.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F] {D : Type u_2} [Ring D]
      [Algebra F D] [FiniteDimensional F D] {R : Type u_3}
      [AddCommGroup R] :
      AddCommGroup
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm F D R)
    def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.addCommGroup.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F]
      {D : Type u_2} [Ring D] [Algebra F D]
      [FiniteDimensional F D] {R : Type u_3}
      [AddCommGroup R] :
      AddCommGroup
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm
          F D R)
Definition12.4.3
Statement uses 2
Statement dependency previews
Preview
Definition 12.4.1
Loading preview
Statement dependency preview content is loaded from the rendered-fragment cache.
markupTeXL∃∀N

If R is a commutative ring then pointwise scalar multiplication (r \cdot f)(g) := r \cdot f(g) makes S^D(R) into an R-module. This depends on Definition 12.4.1 and Definition 12.4.2.

Lean code for Definition12.4.31 definition
  • def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.module.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F] {D : Type u_2} [Ring D]
      [Algebra F D] [FiniteDimensional F D] {R : Type u_3} [CommRing R] :
      Module R
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm F D R)
    def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.module.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F]
      {D : Type u_2} [Ring D] [Algebra F D]
      [FiniteDimensional F D] {R : Type u_3}
      [CommRing R] :
      Module R
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm
          F D R)

The group D_{\A^\infty}^\times acts on the additive abelian group S^D(R) by (g \cdot f)(x) = f(xg). This depends on Definition 12.4.1, Definition 12.4.2, and Definition 12.4.3.

Lean code for Definition12.4.41 definition
  • def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.distribMulAction.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F] {D : Type u_2} [Ring D]
      [Algebra F D] [FiniteDimensional F D] {R : Type u_3}
      [AddCommGroup R] :
      DistribMulAction (TotallyDefiniteQuaternionAlgebra.Dfx F D)
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm F D R)
    def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.distribMulAction.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F]
      {D : Type u_2} [Ring D] [Algebra F D]
      [FiniteDimensional F D] {R : Type u_3}
      [AddCommGroup R] :
      DistribMulAction
        (TotallyDefiniteQuaternionAlgebra.Dfx
          F D)
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm
          F D R)

If R is a commutative ring then the action of D_{\A^\infty}^\times commutes with the R-action.

Now let U be a level, that is, a compact open subgroup of D_{\A^\infty}^\times.

The quaternionic modular forms of level U, with notation S^D(U;R), are the U-invariants for the D_{\A^\infty}^\times-action on S^D(R). This depends on Definition 12.4.1, Definition 12.4.2, Definition 12.4.4, and Definition 12.4.3.

Lean code for Definition12.4.51 definition
  • def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F] {D : Type u_2} [Ring D]
      [Algebra F D] [FiniteDimensional F D]
      (U : Subgroup (TotallyDefiniteQuaternionAlgebra.Dfx F D))
      (R : Type u_3) [CommRing R] : Type (max (max u_3 u_2) u_1)
    def TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F]
      {D : Type u_2} [Ring D] [Algebra F D]
      [FiniteDimensional F D]
      (U :
        Subgroup
          (TotallyDefiniteQuaternionAlgebra.Dfx
            F D))
      (R : Type u_3) [CommRing R] :
      Type (max (max u_3 u_2) u_1)
    `WeightTwoAutomorphicFormOfLevel U R` is the `R`-valued weight 2 automorphic forms of a fixed
    level `U` for a totally definite quaternion algebra over a totally real field.
    

The Hecke algebras involved in the main modularity lifting theorems needed in the FLT project will be endomorphisms of these spaces S^D(U;R).

12.5. The main result🔗

The point of this miniproject is the finite-dimensionality result below. This is an analogue of the result that classical modular forms of a fixed level, weight and character are finite-dimensional. In fact, by delicate results of Jacquet and Langlands this result, in the case k = \bbC, implies many cases of that classical claim, although of course the Jacquet--Langlands theorem is much harder to prove than the classical proof of finite-dimensionality.

Let k be a field. Then the space S^D(U;k) is a finite-dimensional k-vector space. This depends on Definition 12.4.3.

Lean code for Theorem12.5.11 theorem
  • theorem TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.finiteDimensional.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F] {D : Type u_2}
      [DivisionRing D] [Algebra F D] [Module.Finite F D]
      [Algebra.IsCentral F D] (K : Type u_3) [Field K]
      {U : Subgroup (TotallyDefiniteQuaternionAlgebra.Dfx F D)}
      (hU : IsOpen U) :
      FiniteDimensional K
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel U
          K)
    theorem TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.finiteDimensional.{u_1,
        u_2, u_3}
      {F : Type u_1} [Field F] [NumberField F]
      {D : Type u_2} [DivisionRing D]
      [Algebra F D] [Module.Finite F D]
      [Algebra.IsCentral F D] (K : Type u_3)
      [Field K]
      {U :
        Subgroup
          (TotallyDefiniteQuaternionAlgebra.Dfx
            F D)}
      (hU : IsOpen U) :
      FiniteDimensional K
        (TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel
          U K)
    Let `D/F` be a totally definite quaterion algebra over a totally real
    field. Then the space of `K`-valued weight 2 level `U` quaternionic automorphic forms
    for `Dˣ` is finite-dimensional over `K`.
    
Proof for Theorem 12.5.1
Proof uses 2
Proof dependency previews
Preview
Theorem 11.3.15
Loading preview
Proof dependency preview content is loaded from the rendered-fragment cache.

The finite-dimensionality theorem is in fact an easy consequence of Fujisaki's lemma, proved in the Fujisaki miniproject [??]. Theorem 11.3.15, and Theorem 11.3.16. Write (D \otimes_F \A_F^\infty)^\times as a disjoint union of double cosets \coprod_i D^\times g_i U. This open cover descends to a disjoint open cover of D^\times \backslash (D \otimes_F \A_F^\infty)^\times, and this latter space is compact by Theorem 11.3.15. Hence the cover is finite; write the double coset representatives as g_1, g_2, \ldots, g_n.

We claim that the function S^D(U;k) \to k^n sending f to (f(g_1), f(g_2), \ldots, f(g_n)) is injective and k-linear, which suffices by finite-dimensionality of k^n. k-linearity is easy, so let us talk about injectivity.

Say f_1 and f_2 are two elements of S^D(U;k) which agree on each g_i. It suffices to prove that f_1(g) = f_2(g) for all g \in (D \otimes_F \A_F^\infty)^\times. So say g \in (D \otimes_F \A_F^\infty)^\times, and write g = \delta g_i u for \delta \in D^\times and u \in U. Then f_1(g) = f_1(\delta g_i u) = f_1(g_i) by the definition of S^D(U;k), and similarly f_2(g) = f_2(g_i). Because f_1(g_i) = f_2(g_i) by assumption, we deduce that f_1(g) = f_2(g) as required.