Documentation

Atlas.EllipticCurves.code.FermatsLastTheorem

@[reducible, inline]
noncomputable abbrev Qbar :

The algebraic closure of inside , viewed as an intermediate field. This provides a concrete model of ℚ̄ sitting inside .

Instances For
    @[reducible, inline]

    The absolute Galois group of , realized as the group of -algebra automorphisms of Qbar.

    Instances For
      @[reducible, inline]
      abbrev GaloisRepMod ( : ) :

      A mod- Galois representation is a group homomorphism from the absolute Galois group of to GL₂(ℤ/ℓℤ).

      Instances For

        A specific element of the absolute Galois group of realizing complex conjugation on Qbar ⊆ ℂ.

        Instances For
          def GaloisRepMod.IsOdd { : } (ρ : GaloisRepMod ) :

          A mod- Galois representation ρ is odd if det(ρ(c)) = -1, where c is complex conjugation.

          Instances For

            A mod- Galois representation is irreducible if no nonzero vector v ∈ (ℤ/ℓℤ)² is simultaneously an eigenvector of every ρ(g).

            Instances For
              noncomputable def frobeniusElement (p : ) (hp : Nat.Prime p) :

              An element of the absolute Galois group realizing a Frobenius at the prime p.

              Instances For

                A mod- Galois representation ρ is modular if there exists a cusp form f of some weight k and level Γ₁(N), with integer Fourier coefficients a(n), such that for every prime p not dividing ℓN the trace of ρ(Frob_p) equals a(p) mod ℓ.

                Instances For
                  @[reducible, inline]

                  An elliptic curve over : a Weierstrass curve in affine form together with a proof that it satisfies the elliptic (nonsingular) condition.

                  Instances For

                    The minimal discriminant of an elliptic curve over : the discriminant of a global minimal Weierstrass model.

                    Instances For

                      The minimal discriminant of an elliptic curve over is nonzero (consequence of nonsingularity of the global minimal model).

                      noncomputable def FLT.conductor (E : EllipticCurveOverQ) :

                      The conductor of an elliptic curve over , defined here as the radical of the absolute value of the minimal discriminant.

                      Instances For

                        The conductor of any elliptic curve over is strictly positive.

                        An elliptic curve over is semistable if it has no additive reduction at any prime — equivalently, all bad reduction is multiplicative.

                        Instances For

                          An elliptic curve over is semistable iff its conductor is squarefree.

                          E admits a rational cyclic n-isogeny: there is a -rational isogeny from E whose kernel is cyclic of order n.

                          Instances For

                            If E/ℚ admits a rational cyclic 15-isogeny then its conductor is not squarefree.

                            An elliptic curve admitting a rational cyclic 15-isogeny cannot be semistable. This follows from squarefree-conductor characterization of semistability.

                            A semistable elliptic curve over admits no rational cyclic 15-isogeny.

                            noncomputable def FLT.galoisRepMod_of_EC (E : EllipticCurveOverQ) ( : ) [Fact (Nat.Prime )] :

                            The mod- Galois representation attached to an elliptic curve E/ℚ, obtained from the Galois action on the -torsion E[ℓ].

                            Instances For

                              The mod- representation attached to an elliptic curve E/ℚ is irreducible.

                              Instances For

                                The mod- representation attached to an elliptic curve E/ℚ is modular.

                                Instances For
                                  noncomputable def FLT.LSeriesCoeff (E : EllipticCurveOverQ) :

                                  The Dirichlet coefficients a_n of the L-series of E/ℚ.

                                  Instances For
                                    structure FLT.Weight2Newform (N : ) :

                                    A weight-2 newform of level N, specified by its Fourier coefficients: normalized so that a₁ = 1, multiplicative on coprime indices, and satisfying the standard Hecke recursion at primes p ∤ N.

                                    Instances For

                                      The mod- representation of E/ℚ is modular of a prescribed weight and level: there is a weight-2 newform of the given level matching tr ρ(Frob_p) at primes p ∤ ℓ · level.

                                      Instances For

                                        The -adic Galois representation attached to E/ℚ is modular: there is a weight-2 newform of level equal to the conductor whose Fourier coefficients match a_p(E) at primes p ∤ ℓ · conductor.

                                        Instances For

                                          E/ℚ is a modular elliptic curve: there is a weight-2 newform of level the conductor of E whose Fourier coefficients equal the L-series coefficients of E for every n ≥ 1.

                                          Instances For

                                            Taylor–Wiles modularity lifting: if E/ℚ is semistable and its mod- representation is modular, then its -adic representation is modular and E itself is a modular elliptic curve.

                                            noncomputable def FLT.ribetLevelDivisor (E : EllipticCurveOverQ) ( : ) :

                                            Ribet's level-lowering divisor: the product over primes p ∥ N(E) of those p at which the mod- representation is unramified, i.e. ℓ ∣ v_p(Δ_E).

                                            Instances For

                                              The Ribet level divisor divides the conductor of E.

                                              The Ribet level divisor is strictly positive.

                                              noncomputable def FLT.ribetLoweredLevel (E : EllipticCurveOverQ) ( : ) [Fact (Nat.Prime )] :

                                              The level produced by Ribet's level-lowering theorem: the conductor of E divided by the Ribet level divisor, as a positive natural number.

                                              Instances For

                                                Ribet's level-lowering theorem: if E/ℚ is modular and the mod- representation is irreducible, then the mod- representation is modular of weight 2 and level equal to the Ribet-lowered level.

                                                The Langlands–Tunnell theorem: if the mod-3 representation of E/ℚ is irreducible, then it is modular.

                                                noncomputable def FLT.freyCurve (a b c : ) ( : ) [Fact (Nat.Prime )] :

                                                The Frey curve y² = x(x - aᵉ)(x + bᵉ) associated to a putative counterexample aᵉ + bᵉ = cᵉ to Fermat's Last Theorem at prime exponent .

                                                Instances For
                                                  theorem FLT.freyCurve_isSemistable (a b c : ) ( : ) [Fact (Nat.Prime )] (hflt : a ^ + b ^ = c ^ ) (hcoprime : a.gcd (b.gcd c) = 1) :

                                                  The Frey curve attached to a coprime Fermat triple is semistable.

                                                  theorem FLT.mazur_isogeny_theorem (E : EllipticCurveOverQ) ( : ) [Fact (Nat.Prime )] (hℓ : > 163) :

                                                  Mazur's isogeny theorem: for primes ℓ > 163, no elliptic curve over admits a rational cyclic -isogeny.

                                                  If the mod- Galois representation of E/ℚ is reducible, then E admits a rational cyclic -isogeny (coming from a Galois-stable line in E[ℓ]).

                                                  theorem FLT.freyCurve_modLRep_irreducible (a b c : ) ( : ) [Fact (Nat.Prime )] (_hflt : a ^ + b ^ = c ^ ) (hℓ_large : > 163) :

                                                  The mod- representation of the Frey curve is irreducible (for ℓ > 163), combining Mazur's isogeny theorem with the reducibility–isogeny correspondence.

                                                  theorem FLT.freyCurve_ribetLoweredLevel_eq_two (a b c : ) ( : ) [Fact (Nat.Prime )] (hflt : a ^ + b ^ = c ^ ) (hℓ_large : > 163) :
                                                  ribetLoweredLevel (freyCurve a b c ) = 2,

                                                  For the Frey curve attached to a Fermat triple, Ribet's level-lowering produces level 2.

                                                  There is no weight-2, level-2 cuspform: the space S_2(Γ₀(2)) is zero, so no elliptic curve has a mod- representation modular of weight 2 and level 2.

                                                  theorem FLT.freyCurve_not_modular (a b c : ) ( : ) [Fact (Nat.Prime )] (hflt : a ^ + b ^ = c ^ ) (hℓ_large : > 163) :

                                                  The Frey curve attached to a Fermat triple is not modular: combining Ribet's level-lowering with the nonexistence of weight-2, level-2 newforms.

                                                  3 is a prime number. Provided as a Fact for use as a typeclass parameter.

                                                  5 is a prime number. Provided as a Fact for use as a typeclass parameter.

                                                  The mod- representations of two elliptic curves E, E' over are isomorphic (at the level of traces): for every g in the absolute Galois group, tr ρ_E(g) = tr ρ_{E'}(g).

                                                  Instances For

                                                    If the mod- representations of E and E' are isomorphic and E's mod- representation is modular, then so is E''s.

                                                    For a semistable E/ℚ whose mod-3 representation is reducible, the mod-5 representation is irreducible. (Used in the 3-5 trick.)

                                                    If E/ℚ is a modular elliptic curve, then for any prime the mod- representation of E is also modular.

                                                    Wiles's 3-5 trick: given a semistable E/ℚ whose mod-5 representation is irreducible, there exists a semistable E'/ℚ whose mod-3 representation is irreducible and whose mod-5 representation is isomorphic to that of E.

                                                    Wiles's modularity theorem for semistable elliptic curves: every semistable elliptic curve over is modular. Proof uses Langlands–Tunnell at the prime 3 together with Wiles's 3-5 trick when the mod-3 representation is reducible.

                                                    Wiles's modularity theorem for semistable elliptic curves (Theorem 25.8), restated.

                                                    theorem FLT.freyCurve_coprimality_reduction (a b c : ) (p : ) [Fact (Nat.Prime p)] (heq : a ^ p + b ^ p = c ^ p) (ha : a 0) (hb : b 0) (hc : c 0) :
                                                    a.gcd (b.gcd c) = 1

                                                    For a Fermat-like triple aᵖ + bᵖ = cᵖ with a, b, c all nonzero, the entries can be assumed pairwise coprime: gcd(a, gcd(b, c)) = 1.

                                                    theorem FLT.flt_for_prime_gt_163 (p : ) [Fact (Nat.Prime p)] (hp_large : p > 163) :

                                                    Fermat's Last Theorem for prime exponent p > 163, deduced via the Frey curve: its semistability and Wiles's modularity contradict its non-modularity.

                                                    theorem FLT.flt_for_small_odd_primes (p : ) (hp : Nat.Prime p) (hp_odd : Odd p) (hp_ge5 : p 5) (hp_le163 : p 163) :

                                                    Fermat's Last Theorem for odd primes p in the range 5 ≤ p ≤ 163, handled by the classical (pre-Wiles) techniques.

                                                    theorem FLT.flt_for_odd_prime (p : ) (hp : Nat.Prime p) (hp_odd : Odd p) :

                                                    Fermat's Last Theorem for any odd prime exponent p, combining the case p = 3 (fermatLastTheoremThree), the small-prime range, and the large-prime case from Wiles/Ribet.

                                                    theorem FLT.fermats_last_theorem_cor_25_9 (n : ) :
                                                    n > 2∀ (x y z : ), x ^ n + y ^ n = z ^ nx * y * z = 0

                                                    Corollary 25.9 (Fermat's Last Theorem): for every n > 2, the equation xⁿ + yⁿ = zⁿ has no integer solutions with xyz ≠ 0.

                                                    @[reducible, inline]

                                                    Convenience abbreviation for FLT.EllipticCurveOverQ, the type of elliptic curves over .

                                                    Instances For

                                                      The conductor of an elliptic curve over , re-exported from the FLT namespace.

                                                      Instances For

                                                        The minimal discriminant of an elliptic curve over , re-exported from FLT.

                                                        Instances For

                                                          The conductor of any elliptic curve over is strictly positive (re-export).

                                                          An elliptic curve over is semistable, re-exported from FLT.

                                                          Instances For

                                                            Re-export: semistability is equivalent to the conductor being squarefree.

                                                            theorem serre_modularity_conjecture ( : ) [Fact (Nat.Prime )] (ρ : GaloisRepMod ) (hodd : ρ.IsOdd) (hirr : ρ.IsIrreducible) :

                                                            Serre's modularity conjecture (now a theorem of Khare–Wintenberger): every odd, irreducible mod- Galois representation of Gal(ℚ̄/ℚ) arises from a modular form.