Fermat's Last Theorem

Proof Structure · Knowledge Graph · Python Verification

NOTE: Deep theorems (Serre conjecture, Ribet level lowering, Wiles R=T) are marked as stubs. Their proofs are at the Fields Medal level and are the subject of the Imperial College FLT formalization project (EPSRC 2024-2029, Kevin Buzzard).

Table of Contents

  1. Ch 1: Introduction & Historical Background
  2. Ch 2: The Frey Curve Construction
  3. Ch 3: Elliptic Curves (Background)
  4. Ch 4: Modular Forms
  5. Ch 5: Hecke Operators and the Hecke Algebra
  6. Ch 6: Galois Representations
  7. Ch 7: Deformation Theory and R = T
  8. Ch 8: Serre's Conjecture
  9. Ch 9: Ribet's Level Lowering
  10. Ch 10: Modularity Lifting
  11. Ch 11: The FLT Contradiction
  12. Ch A: Appendix: n = 4 (Infinite Descent)
  13. Ch B: Appendix: n = 3 (Eisenstein Descent)
487
KG Nodes
340
KG Edges
7
Domains
13
Chapters

Ch 1 Introduction & Historical Background FLT Proof

Fermat's 1637 marginal note, the 358-year journey, and the structure of Wiles' proof.

Lean: ch06_serre_ribet_wiles.lean

Theorems:
Verification:

Ch 2 The Frey Curve Construction Elliptic CurvesFLT Proof

Assuming a^p + b^p = c^p, construct E: y^2 = x(x - a^p)(x + b^p). Key properties: non-singular, semistable, conductor N_E = 2.rad(abc).

Lean: ch02_frey_curve.lean

Theorems:
Verification:

Ch 3 Elliptic Curves (Background) Elliptic Curves

Weierstrass equations, discriminant Delta, j-invariant, group law, Mordell's theorem, torsion subgroups.

Lean: ch01_elliptic_curve.lean

Theorems:
Verification:

Ch 4 Modular Forms Modular FormsComplex Analysis

Holomorphic functions on the upper half-plane, Eisenstein series E_4, E_6, cusp forms, q-expansions, Hecke operators T_p.

Lean: ch03_modular_curves.lean

Theorems:
Verification:

Ch 5 Hecke Operators and the Hecke Algebra Modular Forms

The Hecke algebra T generated by T_p acting on S_2(Gamma_0(N)). The Eichler-Shimura relation connects T_p to Frobenius on J_0(N).

Lean: ch03_modular_curves.lean

Verification:

Ch 6 Galois Representations Galois ReprAbstract Algebra

The absolute Galois group G_Q, l-adic representations, the mod p representation rho_{E,p} attached to an elliptic curve.

Lean: ch04_galois.lean

Theorems:
Verification:

Ch 7 Deformation Theory and R = T Galois Repr

The universal deformation ring R of rho-bar, the Hecke algebra T acting on S_2(Gamma_0(N)), Taylor-Wiles patching to prove R = T.

Lean: ch05_deformation.lean

Verification:

Ch 8 Serre's Conjecture Galois ReprModular Forms

Every odd, absolutely irreducible mod l representation of G_Q is modular (Khare-Wintenberger 2008).

Lean: ch06_serre_ribet_wiles.lean

Verification:

Ch 9 Ribet's Level Lowering FLT Proof

If rho-bar arises from S_2(Gamma_0(N)) and is unramified at p|N, then rho-bar arises from S_2(Gamma_0(N/p)).

Lean: ch06_serre_ribet_wiles.lean

Verification:

Ch 10 Modularity Lifting FLT Proof

If rho-bar is modular, then any 'nice' lift rho is also modular. Wiles & Taylor-Wiles 1995.

Lean: ch06_serre_ribet_wiles.lean

Verification:

Ch 11 The FLT Contradiction FLT Proof

Assemble the chain: Frey curve -> modularity -> Ribet level lowering -> S_2(Gamma_0(2)) = 0 -> contradiction.

Lean: ch06_serre_ribet_wiles.lean

Verification:

Ch A Appendix: n = 4 (Infinite Descent) Abstract Algebra

Fermat's own proof: x^4 + y^4 = z^4 has no non-trivial integer solutions by infinite descent.

Lean: flt_base_cases.lean

Verification:

Ch B Appendix: n = 3 (Eisenstein Descent) Abstract AlgebraComplex Analysis

Euler's proof using Z[omega] where omega = e^{2pi i/3}. Eisenstein integers, lambda = 1 - omega, lambda-adic descent.

Lean: flt_base_cases.lean

Theorems:
Verification:

Learning Path

5 phases, from abstract algebra to the FLT contradiction:

Phase 1: Abstract Algebra: group, ring, field, module, Galois group

116 concepts

Phase 2: Elliptic Curves: Weierstrass, Mordell theorem, Frey curve

67 concepts

Phase 3: Modular Forms: holomorphic, Hecke operators, q-expansion

145 concepts

Phase 4: Galois Repr: ℓ-adic, deformation theory, R=T

71 concepts

Phase 5: FLT Proof: Ribet, Wiles, contradiction

88 concepts

Lean 4 Source Files