Worked solution: Wiles's modularity proof via the Taylor–Wiles method (1994)
An elliptic curve is a smooth plane curve given by a cubic equation , equipped with a geometric rule for adding two points: draw a straight line through two points on the curve, find the third point where the line meets the curve, and reflect across the -axis. This turns the points of the curve into an algebraic group.
In 1984–1985, Gerhard Frey had a bold idea: if someone hands you a counterexample , use the three numbers as the three roots of the cubic on the right-hand side. If Fermat's equation has a solution, this specific elliptic curve must exist as a genuine geometric object over .
An elliptic curve over is the set of rational solutions to a cubic equation with whose right-hand cubic has three distinct complex roots, together with a distinguished point at infinity that acts as the identity element for the chord-and-tangent addition law (Qiu et al. 2025, Section 3.3.1, Definition 3.1).
Suppose for contradiction that is a counterexample to FLT with prime and nonzero pairwise coprime integers . Following earlier constructions of Yves Hellegouarch (1969), Gerhard Frey (1985/1986) attached to this hypothetical solution the elliptic curve (Wiles 1995, Introduction, p. 443 and p. 448; Qiu et al. 2025, Section 3.1.2). Because are nonzero and , the three roots , , and are distinct, so is a genuine non-singular elliptic curve over .
Frey's insight was that the equation is now encoded inside the geometry of : the differences between the three roots are , , and , every single one of which is a perfect -th power. The next step measures how unnatural that is.
- Elliptic curve over
- A smooth projective curve defined by a cubic equation with rational coefficients and distinct roots, together with a point at infinity . Its points form an abelian group under the chord-and-tangent addition law.
- Frey curve (Hellegouarch–Frey curve)
- The elliptic curve built from a hypothetical Fermat counterexample . It exists if and only if the counterexample exists.