# Wiles's proof of Fermat's Last Theorem

Wiles's proof of Fermat's Last Theorem is a proof by British mathematician Andrew Wiles of a special case of the modularity theorem for elliptic curves. Together with Ribet's theorem, it provides a proof for Fermat's Last Theorem. Both Fermat's Last Theorem and the modularity theorem were almost universally considered inaccessible to proof by contemporaneous mathematicians, meaning that they were believed to be impossible to prove using current knowledge.[1]:203–205, 223, 226

Wiles first announced his proof on Wednesday 23 June 1993 at a lecture in Cambridge entitled "Modular Forms, Elliptic Curves and Galois Representations".[2] However, in September 1993 the proof was found to contain an error. One year later on Monday 19 September 1994, in what he would call "the most important moment of [his] working life", Wiles stumbled upon a revelation that allowed him to correct the proof to the satisfaction of the mathematical community. The corrected proof was published in 1995.[3]

Wiles's proof uses many techniques from algebraic geometry and number theory, and has many ramifications in these branches of mathematics. It also uses standard constructions of modern algebraic geometry, such as the category of schemes and Iwasawa theory, and other 20th-century techniques which were not available to Fermat.

Together, the two papers which contain the proof are 129 pages long,[4][5] and consumed over seven years of Wiles's research time. John Coates described the proof as one of the highest achievements of number theory, and John Conway called it "the proof of the [20th] century."[6] Wiles's path to proving Fermat's Last Theorem, by way of proving the modularity theorem for the special case of semistable elliptic curves, established powerful modularity lifting techniques and opened up entire new approaches to numerous other problems. For solving Fermat's Last Theorem, he was knighted, and received other honours such as the 2016 Abel Prize. When announcing that Wiles had won the Abel Prize, the Norwegian Academy of Science and Letters described his achievement as a "stunning proof".[3]

## Precursors to Wiles's proof

### Fermat's Last Theorem and progress prior to 1980

Fermat's Last Theorem, formulated in 1637, states that no three distinct positive integers a, b, and c can satisfy the equation

${\displaystyle a^{n}+b^{n}=c^{n}}$

if n is an integer greater than two (n > 2).

Over time, this simple assertion became one of the most famous unproved claims in mathematics. Between its publication and Andrew Wiles's eventual solution over 350 years later, many mathematicians and amateurs attempted to prove this statement, either for all values of n > 2, or for specific cases. It spurred the development of entire new areas within number theory. Proofs were eventually found for all values of n up to around 4 million, first by hand, and later by computer. But no general proof was found that would be valid for all possible values of n, nor even a hint how such a proof could be undertaken.

### The Taniyama–Shimura–Weil conjecture

Separately from anything related to Fermat's Last Theorem, in the 1950s and 1960s Japanese mathematician Goro Shimura, drawing on ideas posed by Yutaka Taniyama, conjectured that a connection might exist between elliptic curves and modular forms. These were mathematical objects with no known connection between them. Taniyama and Shimura posed the question whether, unknown to mathematicians, the two kinds of object were actually identical mathematical objects, just seen in different ways.

They conjectured that every rational elliptic curve is also modular. This became known as the Taniyama–Shimura conjecture. In the West, this conjecture became well known through a 1967 paper by André Weil, who gave conceptual evidence for it; thus, it is sometimes called the Taniyama–Shimura–Weil conjecture.

By around 1980, much evidence had been accumulated to form conjectures about elliptic curves, and many papers had been written which examined the consequences if the conjecture was true, but the actual conjecture itself was unproven and generally considered inaccessible - meaning that mathematicians believed a proof of the conjecture was probably impossible using current knowledge.

For decades, the conjecture remained an important but unsolved problem in mathematics. Around 50 years after first being proposed, the conjecture was finally proven and renamed the modularity theorem, largely as a result of Andrew Wiles's work described below.

### Frey's curve

On yet another separate branch of development, in the late 1960s, Yves Hellegouarch came up with the idea of associating solutions (a,b,c) of Fermat's equation with a completely different mathematical object: an elliptic curve.[7] The curve consists of all points in the plane whose coordinates (xy) satisfy the relation

${\displaystyle y^{2}=x(x-a^{n})(x+b^{n}).}$

Such an elliptic curve would enjoy very special properties, which are due to the appearance of high powers of integers in its equation and the fact that an + bn = cn is an nth power as well.

In 1982–1985, Gerhard Frey called attention to the unusual properties of this same curve, now called a Frey curve. He showed that it was likely that the curve could link Fermat and Taniyama, since any counterexample to Fermat's Last Theorem would probably also imply that an elliptic curve existed that was not modular. Frey showed that there were good reasons to believe that any set of numbers (a, b, c, n) capable of disproving Fermat's Last Theorem could also probably be used to disprove the Taniyama–Shimura–Weil conjecture. Therefore, if the Taniyama–Shimura–Weil conjecture were true, no set of numbers capable of disproving Fermat could exist, so Fermat's Last Theorem would have to be true as well.

Mathematically, the conjecture says that each elliptic curve with rational coefficients can be constructed in an entirely different way, not by giving its equation but by using modular functions to parametrise coordinates x and y of the points on it. Thus, according to the conjecture, any elliptic curve over Q would have to be a modular elliptic curve, yet if a solution to Fermat's equation with non-zero a, b, c and n greater than 2 existed, the corresponding curve would not be modular, resulting in a contradiction. If the link identified by Frey could be proven, then in turn, it would mean that a proof or disproof of either Fermat's Last Theorem or the Taniyama–Shimura–Weil conjecture would simultaneously prove or disprove the other.[8]

### Ribet's theorem

To complete this link, it was necessary to show that Frey's intuition was correct: that a Frey curve, if it existed, could not be modular. In 1985, Jean-Pierre Serre provided a partial proof that a Frey curve could not be modular. Serre did not provide a complete proof of his proposal; the missing part (which Serre had noticed early on[9]:1) became known as the epsilon conjecture or ε-conjecture (it is now known as Ribet's theorem). Serre's main interest was in an even more ambitious conjecture, Serre's conjecture on modular Galois representations, which would imply the Taniyama–Shimura–Weil conjecture. However his partial proof came close to confirming the link between Fermat and Taniyama.

In the summer of 1986, Ken Ribet succeeded in proving the epsilon conjecture, now known as Ribet's theorem. His article was published in 1990. In doing so, Ribet finally proved the link between the two theorems by confirming as Frey had suggested, that a proof of the Taniyama–Shimura–Weil conjecture for the kinds of elliptic curves Frey had identified, together with Ribet's theorem, would also prove Fermat's Last Theorem:

In mathematical terms, Ribet's theorem showed that if the Galois representation associated with an elliptic curve has certain properties (which Frey's curve has), then that curve cannot be modular, in the sense that there cannot exist a modular form which gives rise to the same Galois representation.[10]

### Situation prior to Wiles's proof

Following the developments related to the Frey Curve, and its link to both Fermat and Taniyama, a proof of Fermat's Last Theorem would follow from a proof of the Taniyama–Shimura–Weil conjecture — or at least a proof of the conjecture for the kinds of elliptic curves that included Frey's equation (known as semistable elliptic curves).

• From Ribet's Theorem and the Frey Curve, any 4 numbers able to be used to disprove Fermat's Last Theorem could also be used to make a semistable elliptic curve ("Frey's curve") that could never be modular;
• But if the Taniyama–Shimura–Weil conjecture were also true for semistable elliptic curves, then by definition every Frey's curve that existed must be modular.
• The contradiction could have only one answer: if Ribet's Theorem and the Taniyama–Shimura–Weil conjecture for semistable curves were both true, then it would mean there could not be any solutions to Fermat's equation – because then there would be no Frey curves at all, meaning no contradictions would exist. This would finally prove Fermat's Last Theorem.

However, despite the progress made by Serre and Ribet, this approach to Fermat was widely considered unusable as well, since almost all mathematicians saw the Taniyama–Shimura–Weil conjecture itself as completely inaccessible to proof with current knowledge.[1]:203–205, 223, 226 For example, Wiles's ex-supervisor John Coates stated that it seemed "impossible to actually prove",[1]:226 and Ken Ribet considered himself "one of the vast majority of people who believed [it] was completely inaccessible".[1]:223

## Andrew Wiles

Hearing of Ribet's 1986 proof of the epsilon conjecture, English mathematician Andrew Wiles, who had studied elliptic curves and had a childhood fascination with Fermat, decided to begin working in secret towards a proof of the Taniyama–Shimura–Weil conjecture, since it was now professionally justifiable[11] as well as because of the enticing goal of proving such a long-standing problem.

Ribet later commented that "Andrew Wiles was probably one of the few people on earth who had the audacity to dream that you can actually go and prove [it]." [1]:223

## Announcement and subsequent developments

Wiles initially presented his proof in 1993. It was finally accepted as correct, and published, in 1995, following the correction of a subtle error in one part of his original paper. His work was extended to a full proof of the modularity theorem over the following 6 years by others, who built on Wiles's work.

### Announcement and final proof (1993–1995)

During 21–23 June 1993 Wiles announced and presented his proof of the Taniyama–Shimura conjecture for semi-stable elliptic curves, and hence of Fermat's Last Theorem, over the course of three lectures delivered at the Isaac Newton Institute for Mathematical Sciences in Cambridge, England.[2] There was a relatively large amount of press coverage afterwards.[12]

After the announcement, Nick Katz was appointed as one of the referees to review Wiles's manuscript. In the course of his review, he asked Wiles a series of clarifying questions that led Wiles to recognise that the proof contained a gap. There was an error in one critical portion of the proof which gave a bound for the order of a particular group: the Euler system used to extend Kolyvagin and Flach's method was incomplete. The error would not have rendered his work worthless – each part of Wiles's work was highly significant and innovative by itself, as were the many developments and techniques he had created in the course of his work, and only one part was affected.[1]:289, 296–297 Without this part proved, however, there was no actual proof of Fermat's Last Theorem.

Wiles spent almost a year trying to repair his proof, initially by himself and then in collaboration with his former student Richard Taylor, without success.[13][14][15] By the end of 1993, rumours had spread that under scrutiny, Wiles's proof had failed, but how seriously was not known. Mathematicians were beginning to pressure Wiles to disclose his work whether or not complete, so that the wider community could explore and use whatever he had managed to accomplish. Instead of being fixed, the problem, which had originally seemed minor, now seemed very significant, far more serious, and less easy to resolve.[16]

Wiles states that on the morning of 19 September 1994, he was on the verge of giving up and was almost resigned to accepting that he had failed, and to publishing his work so that others could build on it and find the error. He states that he was having a final look to try and understand the fundamental reasons why his approach could not be made to work, when he had a sudden insight that the specific reason why the Kolyvagin–Flach approach would not work directly, also meant that his original attempts using Iwasawa theory could be made to work if he strengthened it using his experience gained from the Kolyvagin–Flach approach since then. Each was inadequate by itself, but fixing one approach with tools from the other would resolve the issue and produce a class number formula (CNF) valid for all cases that were not already proven by his refereed paper:[13][17][13]

"I was sitting at my desk examining the Kolyvagin–Flach method. It wasn’t that I believed I could make it work, but I thought that at least I could explain why it didn’t work. Suddenly I had this incredible revelation. I realised that, the Kolyvagin–Flach method wasn’t working, but it was all I needed to make my original Iwasawa theory work from three years earlier. So out of the ashes of Kolyvagin–Flach seemed to rise the true answer to the problem. It was so indescribably beautiful; it was so simple and so elegant. I couldn’t understand how I’d missed it and I just stared at it in disbelief for twenty minutes. Then during the day I walked around the department, and I’d keep coming back to my desk looking to see if it was still there. It was still there. I couldn’t contain myself, I was so excited. It was the most important moment of my working life. Nothing I ever do again will mean as much."
— Andrew Wiles, as quoted by Simon Singh[18]

On 6 October Wiles asked three colleagues (including Faltings) to review his new proof,[19] and on 24 October 1994 Wiles submitted two manuscripts, "Modular elliptic curves and Fermat's Last Theorem"[4] and "Ring theoretic properties of certain Hecke algebras",[5] the second of which Wiles had written with Taylor and proved that certain conditions were met which were needed to justify the corrected step in the main paper.

The two papers were vetted and finally published as the entirety of the May 1995 issue of the Annals of Mathematics. The new proof was widely analysed, and became accepted as likely correct in its major components.[6][10][11] These papers established the modularity theorem for semistable elliptic curves, the last step in proving Fermat's Last Theorem, 358 years after it was conjectured.

### Subsequent developments

Fermat claimed to "...have discovered a truly marvelous proof of this, which this margin is too narrow to contain".[20][21] Wiles's proof is very complex, and incorporates the work of so many other specialists that it was suggested in 1994 that only a small number of people were capable of fully understanding at that time all the details of what he had done.[2][22] The complexity of Wiles's proof motivated a 10-day conference at Boston University; the resulting book of conference proceedings aimed to make the full range of required topics accessible to graduate students in number theory.[9]

As noted above, Wiles proved the Taniyama–Shimura–Weil conjecture for the special case of semistable elliptic curves, rather than for all elliptic curves. Over the following years, Christophe Breuil, Brian Conrad, Fred Diamond, and Richard Taylor (sometimes abbreviated as "BCDT") carried the work further, ultimately proving the Taniyama–Shimura–Weil conjecture for all elliptic curves in a 2001 paper.[23] Now proved, the conjecture became known as the modularity theorem.

In 2005, Dutch computer scientist Jan Bergstra posed the problem of formalizing Wiles's proof in such a way that it could be verified by computer.[24]

## Summary of Wiles's proof

Wiles used proof by contradiction, in which one assumes the opposite of what is to be proved, and shows if that were true, it would create a contradiction. The contradiction shows that the assumption must have been incorrect.

The proof falls roughly in two parts. In the first part, Wiles proves a general result about "lifts", known as the "modularity lifting theorem". This first part allows him to prove results about elliptic curves by converting them to problems about Galois representations of elliptic curves. He then uses this result to prove that all semi-stable curves are modular, by proving that the Galois representations of these curves are modular.

Outline proof Comment Part 1: setting up the proof 1 We start by assuming that Fermat's Last Theorem is incorrect. That would mean there is at least one non-zero solution (a, b, c, n) (with all numbers rational and n > 2 and prime) to an + bn = cn. 2 Ribet's theorem (using Frey and Serre's work) shows that we can create a semi-stable elliptic curve E using the numbers (a, b, c, and n), which is never modular. We will set up our proof by initially seeing what happens if Fermat's Last Theorem is incorrect, and showing (hopefully) that this would always lead to a contradiction. If we can prove that all such elliptic curves will be modular (meaning that they match a modular form), then we have our contradiction and have proved our assumption (that such a set of numbers exists) was wrong. If the assumption is wrong, that means no such numbers exist, which proves Fermat's Last Theorem is correct. 3 Suppose that Fermat's Last Theorem is incorrect. This means a set of numbers (a, b, c, n) must exist that is a solution of Fermat's equation, and we can use the solution to create a Frey curve which is semi-stable and elliptic. So we assume that (somehow) we have found a solution and created such a curve (which we will call "E"), and see what happens. 4 Galois representations of elliptic curves ρ(E, p) for any prime p > 3 have been studied by many mathematicians. Wiles aims first of all to prove a result about these representations, that he will use later: that if a semi-stable elliptic curve E has a Galois representation ρ(E, p) that is modular, the elliptic curve itself must be modular. Proving this is helpful in two ways: it makes counting and matching easier, and, significantly, to prove the representation is modular, we would only have to prove it for one single prime number p, and we can do this using any prime that makes our work easy – it does not matter which prime we use. This is the most difficult part of the problem – technically it means proving that if the Galois representation ρ(E, p) is a modular form, so are all the other related Galois representations ρ(E, p∞) for all powers of p.[3] This is the so-called "modular lifting problem", and Wiles approached it using deformations. Any elliptic curve (or a representation of an elliptic curve) can be categorized as either reducible or irreducible. The proof will be slightly different depending whether or not the elliptic curve's representation is reducible. To compare elliptic curves and modular forms directly is difficult. Past efforts to count and match elliptic curves and modular forms had all failed. But elliptic curves can be represented within Galois theory. Wiles realized that working with the representations of elliptic curves instead of the curves themselves would make counting and matching them to modular forms far easier. From this point on, the proof primarily aims to prove: (1) if the geometric Galois representation of a semi-stable elliptic curve is modular, so is the curve itself; and (2) the geometric Galois representations of all semi-stable elliptic curves are modular.Together, these allow us to work with representations of curves rather than directly with elliptic curves themselves. Our original goal will have been transformed into proving the modularity of geometric Galois representations of semi-stable elliptic curves, instead. Wiles described this realization as a "key breakthrough". A Galois representation of an elliptic curves is G->GL(Zp). To show that a geometric Galois representation of an elliptic curve is a modular form, we need to find a normalized eigenform whose eigenvalues (which are also its Fourier series coefficients) satisfy a congruence relationship for all but a finite number of primes. 5 Wiles's initial strategy is to count and match using proof by induction and a class number formula ("CNF"): an approach in which, once the hypothesis is proved for one elliptic curve, it can automatically be extended to be proven for all subsequent elliptic curves. It was in this area that Wiles found difficulties, first with horizontal Iwasawa theory and later with his extension of Kolyvagin–Flach. Wiles's work extending Kolyvagin–Flach was mainly related to making Kolyvagin–Flach strong enough to prove the full CNF he would use. It later turned out that neither of these approaches by itself could produce a CNF able to cover all types of semi-stable elliptic curves, and the final piece of his proof in 1995 was to realize that he could succeed by strengthening Iwasawa theory with the techniques from Kolyvagin–Flach. 6 At this point, the proof has shown a key point about Galois representations: If the geometric Galois representation ρ(E,p) of a semi-stable elliptic curve E is irreducible and modular (for some prime number p > 2), then subject to some technical conditions, E is modular.This is Wiles's lifting theorem (or modularity lifting theorem), a major and revolutionary accomplishment at the time. Crucially, this result does not just show that modular irreducible representations imply modular curves. It also means we can prove a representation is modular by using any prime number > 2 that we find easiest to use (because proving it for just one prime > 2 proves it for all primes > 2). So we can try to prove all of our elliptic curves are modular by using one prime number as p - but if we do not succeed in proving this for all elliptic curves, perhaps we can prove the rest by choosing different prime numbers as 'p' for the difficult cases. The proof must cover the Galois representations of all semi-stable elliptic curves E, but for each individual curve, we only need to prove it is modular using one prime number p.) 7 With the lifting theorem proved, we return to the original problem. We will categorize all semi-stable elliptic curves based on the reducibility of their Galois representations, and use the powerful lifting theorem on the results. From above, it does not matter which prime is chosen for the representations. We can use any one prime number that is easiest. 3 is the smallest prime number more than 2, and some work has already been done on representations of elliptic curves using ρ(E,3), so choosing 3 as our prime number is a helpful starting point. Wiles found that it was easier to prove the representation was modular by choosing a prime p=3 in the cases where the representation ρ(E,3) is irreducible, but the proof when ρ(E,3) is reducible was easier to prove by choosing p = 5. So the proof splits in two at this point. The proof's use of both p=3 and p=5 below, is the so-called "3/5 switch" referred to in some descriptions of the proof, which Wiles noticed in a paper of Mazur's in 1993, although the trick itself dates back to the 19th century. The switch between p=3 and p=5 has since opened a significant area of study in its own right (see Serre's modularity conjecture). 8 If the Galois representation ρ(E,3) (i.e., using p = 3) is irreducible, then it was known from around 1980 that its Galois representation is also always modular. Wiles uses his modularity lifting theorem to make short work of this case: If the representation ρ(E,3) is irreducible, then we know the representation is also modular (Langlands and Tunnell), but... ... if the representation is both irreducible and modular then E itself is modular (modularity lifting theorem). Langlands and Tunnell proved this in two papers in the early 1980s. The proof is based on the fact that ρ(E,3) has the same symmetry group as the general quartic equation in one variable, which was one of the few general classes of diophantine equation known at that time to be modular. This existing result for p=3 is crucial to Wiles's approach and is one reason for initially using p=3. 9 So we now consider what happens if ρ(E,3) is reducible. Wiles found that when the representation of an elliptic curve using p=3 is reducible, it was easier to work with p=5 and use his new lifting theorem to prove that ρ(E, 5) will always be modular, than to try and prove directly that ρ(E,3) itself is modular (remembering that we only need to prove it for one prime). 5 is the next prime number after 3, and any prime number can be used, perhaps 5 will be an easier prime number to work with than 3? But it looks hopeless initially to prove that ρ(E, 5) is always modular, for much the same reason that the general quintic equation cannot be solved by radicals. So Wiles has to find a way around this. 9.1 If ρ(E,3) and ρ(E,5) are both reducible, Wiles proved directly that ρ(E,5) must be modular. 9.2 The last case is if ρ(E,3) is reducible and ρ(E,5) is irreducible. Wiles showed that in this case, one could always find another semistable elliptic curve F such that the representation ρ(F,3) is irreducible and also the representations ρ(E,5) and ρ(F,5) are isomorphic (they have identical structures). - The first of these properties shows that F must be modular (Langlands and Tunnell again: all irreducible representations with p=3 are modular). - If F is modular then we know ρ(F,5) must be modular as well. - But because the representations of E and F with p = 5 have exactly the same structure, and we know that ρ(F,5) is modular, ρ(E,5) must be modular as well. 9.3 Therefore, if ρ(E,3) is reducible, we have proved that ρ(E,5) will always be modular. But if ρ(E,5) is modular, then the modularity lifting theorem shows that E itself is modular. This step shows the real power of the modularity lifting theorem. 10 We have now proved that whether or not ρ(E,3) is irreducible, E (which could be any semi-stable elliptic curve) will always be modular. This means that all semi-stable elliptic curves must be modular. This proves: (a) The Taniyama–Shimura–Weil conjecture for semi-stable elliptic curves; and also (b) Because there cannot be a contradiction, it also proves that the kinds of elliptic curves described by Frey cannot actually exist. Therefore no solutions to Fermat's equation can exist either, so Fermat's Last Theorem is also true. We have our proof by contradiction, because we have proven that if Fermat's Last Theorem is incorrect, we could create an semi-stable elliptic curve that cannot be modular (Ribet's Theorem) and must be modular (Wiles). As it cannot be both, the only answer is that no such curve exists.

## Mathematical detail of Wiles's proof

### Overview

Wiles opted to attempt to match elliptic curves to a countable set of modular forms. He found that this direct approach was not working, so he transformed the problem by instead matching the Galois representations of the elliptic curves to modular forms. Wiles denotes this matching (or mapping) that, more specifically, is a ring homomorphism:

${\displaystyle R_{n}\rightarrow \mathbf {T} _{n}.}$

${\displaystyle R}$  is a deformation ring and ${\displaystyle \mathbf {T} }$  is a Hecke ring.

Wiles had the insight that in many cases this ring homomorphism could be a ring isomorphism (Conjecture 2.16 in Chapter 2, §3 of the 1995 paper[4]). He realised that the map between ${\displaystyle R}$  and ${\displaystyle \mathbf {T} }$  is an isomorphism if and only if two abelian groups occurring in the theory are finite and have the same cardinality. This is sometimes referred to as the "numerical criterion". Given this result, Fermat's Last Theorem is reduced to the statement that two groups have the same order. Much of the text of the proof leads into topics and theorems related to ring theory and commutation theory. Wiles's goal was to verify that the map ${\displaystyle R\rightarrow \mathbf {T} }$  is an isomorphism and ultimately that ${\displaystyle R=\mathbf {T} }$ . In treating deformations, Wiles defined four cases, with the flat deformation case requiring more effort to prove and treated in a separate article in the same volume entitled "Ring-theoretic properties of certain Hecke algebras".

Gerd Faltings, in his bulletin, gives the following commutative diagram (p. 745):

or ultimately that ${\displaystyle R=\mathbf {T} }$ , indicating a complete intersection. Since Wiles could not show that ${\displaystyle R=\mathbf {T} }$  directly, he did so through ${\displaystyle \mathbf {Z} _{3},\mathbf {F} _{3}}$  and ${\displaystyle \mathbf {T} /{\mathfrak {m}}}$  via lifts.

In order to perform this matching, Wiles had to create a class number formula (CNF). He first attempted to use horizontal Iwasawa theory but that part of his work had an unresolved issue such that he could not create a CNF. At the end of the summer of 1991, he learned about an Euler system recently developed by Victor Kolyvagin and Matthias Flach that seemed "tailor made" for the inductive part of his proof, which could be used to create a CNF, and so Wiles set his Iwasawa work aside and began working to extend Kolyvagin and Flach's work instead, in order to create the CNF his proof would require.[25] By the spring of 1993, his work had covered all but a few families of elliptic curves, and in early 1993, Wiles was confident enough of his nearing success to let one trusted colleague into his secret. Since his work relied extensively on using the Kolyvagin–Flach approach, which was new to mathematics and to Wiles, and which he had also extended, in January 1993 he asked his Princeton colleague, Nick Katz, to help him review his work for subtle errors. Their conclusion at the time was that the techniques Wiles used seemed to work correctly.[1]:261–265[26]

Wiles' use of Kolyvagin–Flach would later be found to be the point of failure in the original proof submission, and he eventually had to revert to Iwasawa theory and a collaboration with Richard Taylor to fix it. In May 1993, while reading a paper by Mazur, Wiles had the insight that the 3/5 switch would resolve the final issues and would then cover all elliptic curves.

### General approach and strategy

Given an elliptic curve E over the field Q of rational numbers ${\displaystyle E({\bar {\mathbf {Q} }})}$ , for every prime power ${\displaystyle \ell ^{n}}$ , there exists a homomorphism from the absolute Galois group

${\displaystyle \operatorname {Gal} ({\bar {\mathbf {Q} }}/\mathbf {Q} )}$

to

${\displaystyle \operatorname {GL} _{2}(\mathbf {Z} /l^{n}\mathbf {Z} ),}$

the group of invertible 2 by 2 matrices whose entries are integers modulo ${\displaystyle \ell ^{n}}$ . This is because ${\displaystyle E({\bar {\mathbf {Q} }})}$ , the points of E over ${\displaystyle {\bar {\mathbf {Q} }}}$ , form an abelian group, on which ${\displaystyle \operatorname {Gal} ({\bar {\mathbf {Q} }}/\mathbf {Q} )}$  acts; the subgroup of elements x such that ${\displaystyle \ell ^{n}x=0}$  is just ${\displaystyle (\mathbf {Z} /\ell ^{n}\mathbf {Z} )^{2}}$ , and an automorphism of this group is a matrix of the type described.

Less obvious is that given a modular form of a certain special type, a Hecke eigenform with eigenvalues in Q, one also gets a homomorphism from the absolute Galois group

${\displaystyle \operatorname {Gal} ({\bar {\mathbf {Q} }}/\mathbf {Q} )\rightarrow \operatorname {GL} _{2}(\mathbf {Z} /l^{n}\mathbf {Z} ).}$

This goes back to Eichler and Shimura. The idea is that the Galois group acts first on the modular curve on which the modular form is defined, thence on the Jacobian variety of the curve, and finally on the points of ${\displaystyle \ell ^{n}}$  power order on that Jacobian. The resulting representation is not usually 2-dimensional, but the Hecke operators cut out a 2-dimensional piece. It is easy to demonstrate that these representations come from some elliptic curve but the converse is the difficult part to prove.

Instead of trying to go directly from the elliptic curve to the modular form, one can first pass to the ${\displaystyle (\mathrm {mod} \,\ell ^{n})}$  representation for some and n, and from that to the modular form. In the case  = 3 and n = 1, results of the Langlands–Tunnell theorem show that the ${\displaystyle (\mathrm {mod} \,3)}$  representation of any elliptic curve over Q comes from a modular form. The basic strategy is to use induction on n to show that this is true for  = 3 and any n, that ultimately there is a single modular form that works for all n. To do this, one uses a counting argument, comparing the number of ways in which one can lift a ${\displaystyle (\mathrm {mod} \,\ell ^{n})}$  Galois representation to ${\displaystyle (\mathrm {mod} \,\ell ^{n+1})}$  and the number of ways in which one can lift a ${\displaystyle (\mathrm {mod} \,\ell ^{n})}$  modular form. An essential point is to impose a sufficient set of conditions on the Galois representation; otherwise, there will be too many lifts and most will not be modular. These conditions should be satisfied for the representations coming from modular forms and those coming from elliptic curves.

### 3-5 trick

If the original ${\displaystyle (\mathrm {mod} \,3)}$  representation has an image which is too small, one runs into trouble with the lifting argument, and in this case, there is a final trick which has since been studied in greater generality in the subsequent work on the Serre Modularity Conjecture. The idea involves the interplay between the ${\displaystyle (\mathrm {mod} \,3)}$  and ${\displaystyle (\mathrm {mod} \,5)}$  representations. In particular, if the mod-5 Galois representation ${\displaystyle {\overline {\rho }}_{E,5}}$  associated to an semistable elliptic curve E over Q is irreducible, then there is another semistable elliptic curve E' over Q such that its associated mod-5 Galois representation ${\displaystyle {\overline {\rho }}_{E',5}}$  is isomorphic to ${\displaystyle {\overline {\rho }}_{E,5}}$  and such that its associated mod-3 Galois representation ${\displaystyle {\overline {\rho }}_{E,3}}$  is irreducible (and therefore modular by Langlands–Tunnell).[27]

### Structure of Wiles's proof

In his 108-page article published in 1995, Wiles divides the subject matter up into the following chapters (preceded here by page numbers):

Introduction
443
Chapter 1
455 1. Deformations of Galois representations
472 2. Some computations of cohomology groups
475 3. Some results on subgroups of GL2(k)
Chapter 2
479 1. The Gorenstein property
489 2. Congruences between Hecke rings
503 3. The main conjectures
Chapter 3
517 Estimates for the Selmer group
Chapter 4
525 1. The ordinary CM case
533 2. Calculation of η
Chapter 5
541 Application to elliptic curves
Appendix
545 Gorenstein rings and local complete intersections

Gerd Faltings subsequently provided some simplifications to the 1995 proof, primarily in switching from geometric constructions to rather simpler algebraic ones.[19][28] The book of the Cornell conference also contained simplifications to the original proof.[9]

### Overviews available in the literature

Wiles's paper is over 100 pages long and often uses the specialised symbols and notations of group theory, algebraic geometry, commutative algebra, and Galois theory. The mathematicians who helped to lay the groundwork for Wiles often created new specialised concepts and technical jargon.

Among the introductory presentations are an email which Ribet sent in 1993;[29][30] Hesselink's quick review of top-level issues, which gives just the elementary algebra and avoids abstract algebra;[24] or Daney's web page, which provides a set of his own notes and lists the current books available on the subject. Weston attempts to provide a handy map of some of the relationships between the subjects.[31] F. Q. Gouvêa's 1994 article "A Marvelous Proof", which reviews some of the required topics, won a Lester R. Ford award from the Mathematical Association of America.[32][33] Faltings' 5-page technical bulletin on the matter is a quick and technical review of the proof for the non-specialist.[34] For those in search of a commercially available book to guide them, he recommended that those familiar with abstract algebra read Hellegouarch, then read the Cornell book,[9] which is claimed to be accessible to "a graduate student in number theory". The Cornell book does not cover the entirety of the Wiles proof.[12]

## References

1. Fermat's Last Theorem, Simon Singh, 1997, ISBN 1-85702-521-0
2. ^ a b c Kolata, Gina (24 June 1993). "At Last, Shout of 'Eureka!' In Age-Old Math Mystery". The New York Times. Retrieved 21 January 2013.
3. ^ a b c "The Abel Prize 2016". Norwegian Academy of Science and Letters. 2016. Retrieved 29 June 2017.
4. ^ a b c Wiles, Andrew (1995). "Modular elliptic curves and Fermat's Last Theorem". Annals of Mathematics. 141 (3): 443–551. CiteSeerX 10.1.1.169.9076. doi:10.2307/2118559. JSTOR 2118559. OCLC 37032255.
5. ^ a b Taylor R, Wiles A (1995). "Ring theoretic properties of certain Hecke algebras". Annals of Mathematics. 141 (3): 553–572. CiteSeerX 10.1.1.128.531. doi:10.2307/2118560. JSTOR 2118560. OCLC 37032255. Archived from the original on 27 November 2001.
6. ^ a b "NOVA – Transcripts – The Proof – PBS". PBS. September 2006. Retrieved 29 June 2017.
7. ^ Hellegouarch, Yves (2001). Invitation to the Mathematics of Fermat–Wiles. Academic Press. ISBN 978-0-12-339251-0.
8. ^ Singh, pp. 194–198; Aczel, pp. 109–114.
9. ^ a b c d G. Cornell, J. H. Silverman and G. Stevens, Modular forms and Fermat's Last Theorem, ISBN 0-387-94609-8
10. ^ a b Daney, Charles (13 March 1996). "The Proof of Fermat's Last Theorem". Archived from the original on 10 December 2008. Retrieved 29 June 2017.
11. ^ a b "Andrew Wiles on Solving Fermat". PBS. 1 November 2000. Retrieved 29 June 2017.
12. ^ a b Buzzard, Kevin (22 February 1999). "Review of Modular forms and Fermat's Last Theorem, by G. Cornell, J. H. Silverman, and G. Stevens" (PDF). Bulletin of the American Mathematical Society. 36 (2): 261–266. doi:10.1090/S0273-0979-99-00778-8.
13. ^ a b c Singh, pp. 269–277.
14. ^ Kolata, Gina (28 June 1994). "A Year Later, Snag Persists In Math Proof". The New York Times. ISSN 0362-4331. Retrieved 29 June 2017.
15. ^ Kolata, Gina (3 July 1994). "June 26-July 2; A Year Later Fermat's Puzzle Is Still Not Quite Q.E.D." The New York Times. ISSN 0362-4331. Retrieved 29 June 2017.
16. ^ Singh, pp. 175–185.
17. ^ Aczel, pp. 132–134.
18. ^ Singh pp. 186–187 (text condensed).
19. ^ a b "Fermat's last theorem". MacTutor History of Mathematics. February 1996. Retrieved 29 June 2017.
20. ^ Cornell, Gary; Silverman, Joseph H.; Stevens, Glenn (2013). Modular Forms and Fermat's Last Theorem (illustrated ed.). Springer Science & Business Media. p. 549. ISBN 978-1-4612-1974-3. Extract of page 549
21. ^ O'Carroll, Eoin (17 August 2011). "Why Pierre de Fermat is the patron saint of unfinished business". The Christian Science Monitor. ISSN 0882-7729. Retrieved 29 June 2017.
22. ^ Granville, Andrew. "History of Fermat's Last Theorem". Retrieved 29 June 2017.
23. ^ Breuil, Christophe; Conrad, Brian; Diamond, Fred; Taylor, Richard (2001). "On the modularity of elliptic curves over 𝐐: Wild 3-adic exercises". Journal of the American Mathematical Society. 14 (4): 843–939. doi:10.1090/S0894-0347-01-00370-8. ISSN 0894-0347.
24. ^ a b Hesselink, Wim H. (3 April 2008). "Computer verification of Wiles' proof of Fermat's Last Theorem". www.cs.rug.nl. Retrieved 29 June 2017.
25. ^ Singh p.259-262
26. ^ Singh, pp. 239–243; Aczel, pp. 122–125.
27. ^ Chapter 5 of Wiles, Andrew (1995). "Modular elliptic curves and Fermat's Last Theorem" (PDF). Annals of Mathematics. 141 (3): 443–551. CiteSeerX 10.1.1.169.9076. doi:10.2307/2118559. JSTOR 2118559. OCLC 37032255.
28. ^ Malek, Massoud (6 January 1996). "Fermat's Last Theorem". Retrieved 29 June 2017.
29. ^ "sci.math FAQ: Wiles attack". www.faqs.org. Retrieved 29 June 2017.
30. ^ "Fermat's Last Theorem, a Theorem at Last" (PDF). FOCUS. August 1993. Retrieved 29 June 2017.
31. ^ Weston, Tom. "Research Summary Topics". people.math.umass.edu. Retrieved 29 June 2017.
32. ^ Gouvêa, Fernando (1994). "A Marvelous Proof". American Mathematical Monthly. 101 (3): 203–222. doi:10.2307/2975598. JSTOR 2975598. Retrieved 29 June 2017.
33. ^ "The Mathematical Association of America's Lester R. Ford Award". Retrieved 29 June 2017.
34. ^ Faltings, Gerd (July 1995). "The Proof of Fermat's Last Theorem by R. Taylor and A. Wiles" (PDF). Notices of the American Mathematical Society. 42 (7): 743–746.