"Perhaps I could best describe my experience of doing mathematics in terms of entering a dark mansion." "Because, when one goes into the first room and it's dark, completely dark one stumbles around bumping into the furniture" "gradually you learn where each piece of furniture is, and finally after six months or so you find the light switch, you turn it on, suddenly it's all illuminated, you can see exactly where you were." "At the beginning of September I was sitting here at this desk when suddenly, totally unexpectedly, I had this incredible revelation." "It was the most, the most important moment of my working life." "Nothing I ever do again will..." "I'm sorry." "EL ULTIMO TEOREMA DE FERMAT" "This is the story of one man's obsession with the world's greatest mathematical problem." "For seven years Professor ANDREW WILES worked in complete secrecy, creating the calculation of the century." "It was a calculation which brought him fame, and regret." "So I came to this.I was a 10-year-old and one day I happened to be looking in my local public library and I found a book on math and it told a bit about the history of this problem, that someone had resolved this problem 300 years ago, but no-one had ever seen the proof," "no one have ever seen a prove, and people ever since have looked for the proof and here was a problem that I, a 10-year-old, could understand, but none of the great mathematicians in the past had been able to resolve," "and from that moment of course I just tried to solve it myself." "It was such a challenge, such a beautiful problem." "This problem was Fermat's last theorem." "Pierre de Fermat was a 17th-century French mathematician who made some of the greatest breakthroughs in the history of numbers." "His inspiration came from studying the Arithmetica, that Ancient Greek text." "Fermat owned a copy of this book, which is a book about numbers with lots of problems, which presumably Fermat tried to solve." "He studied it, he wrote notes in the margins." "Fermat's original notes were lost, but they can still be read in a book published by his son." "It was one of these notes that was Fermat's greatest legacy." "And this is the fantastic observation of Master Pierre de Fermat which caused all the trouble:" ""Cubum autem in duos cubos"" "This tiny note is the world's hardest mathematical problem," "It's been unsolved for centuries, yet it begins with an equation so simple that children know it off by heart." "The square of the hypotenuse is equal to the sum of the squares of the other two sides." "Yes well that's Pythagoras's theorem isn't it, that's what we all did at school." "So Pythagoras's theorem, the clever thing about it is that it tells us when three numbers are the sides of a right-angle triangle." "That happens just when x squared plus y squared equals z squared." "X squared plus y squared equals zee squared, and you can ask:" "well what are the whole numbers solutions of this equation?" "And you quickly find there's a solution 3 squared plus 4 squared equals 5 squared." "Another one is 5 squared plus 12 squared is 13 squared, and you go on looking and you find more and more." "So then a natural question is, the question Fermat raised:" "supposing you change from squares, supposing you replace the two by three, by four, by five, by six, by any whole number 'n', and Fermat said simply that you'll never find any solutions, however far you look you'll never find a solution." "You will never find numbers that fit this equation, if n is greater than 2." "That's what Fermat said, and what's more, he said he could prove it." "Written in Latin, he says he has a truly wonderful proof "Demonstrationem mirabilem"" "of this fact, and then the last words are:" ""Hanc marginis exigiutas non caperet"" "this margin is too small to contain this." "So Fermat said he had a proof, but he never said what it was." "Fermat made lots of marginal notes." "People took them as challenges and over the centuries every single one of them has been disposed of, and the last one to be disposed of is this one." "That's why it's called the last theorem." "Rediscovering Fermat's proof became the ultimate challenge, a challenge which would baffle mathematicians for the next 300 years." "Gauss, the greatest mathematician in the world..." "Oh yes, Galois..." "Kummer of course..." "Well in the 18th-century Euler didn't prove it." "Well you know there's only been the one woman really..." "Sophie Germain ." "Oh there are millions, there are lots of people." "But nobody had any idea where to start." "Well mathematicians just love a challenge and this problem, this particular problem just looked so simple, it just looked as if it had to have a solution, and of course it's very special because Fermat said he had a solution." "Mathematicians had to prove that no numbers fitted this equation but with the advent of computers, couldn't they check each number one by one and show that none of them fitted?" "Well how many numbers are there to beat that with?" "You've got to do it for infinitely many numbers." "So after you've done it for one, how much closer have you got?" "Well there's still infinitely many left." "After you've done it for 1,000 numbers, how many, how much closer have you got?" "After you've done a few million, there's still infinitely many left." "In fact, you haven't done very many have you?" "A computer can never check every number." "Instead, what's needed is a mathematical proof." "A mathematician is not happy until the proof is complete and considered complete by the standards of mathematics." "In mathematics there's the concept of proving something, of knowing it with absolute certainty." "Which, well it's called rigorous proof." "Well, that's what mathethematics it's all about" "A prove it's a sort of reason, it explains why no numbers fit the equation without having to check every number" "After centuries of faling to have a prove mathematicians began to abandon Fermat in favor of more serious math" "In the 70s Fermat was no longer in fashion." "At the same time ANDREW WILES was just beginning his career as a mathematician." "He went to Cambridge as a research student under the supervision of Professor JOHN COATES." "I've been very fortunate to have Andrew as a student, and even as a research student he, he was a wonderful person to work with." "He had very deep ideas then and it was always clear he was a mathematician who would do great things." "But not with Fermat." "Everyone thought Fermat's last theorem was impossible, so Professor Coates encouraged Andrew to forget his childhood dream and work on more mainstream maths." "when I went to Cambridge my advisor, John Coates, was working on Iwasawa theory and elliptic curves and I started working with him." "Elliptic curves were the in thing to study, but perversely, elliptic curves are neither ellipses nor curves." "You may never have heard of elliptic curves, but they're extremely important." "OK, so what's an elliptic curve?" "Elliptic curves - they're not ellipses, they're cubic curves whose solution have a shape that looks like a doughnut." "It looks so simple yet the complexity, especially arithmetic complexity, is immense." "Every point on the doughnut is the solution to an equation." "Andrew Walis now studied these elliptic equations and set aside his dream." "What he didn't realise was that on the other side of the world elliptic curves and Fermat's last theorem were becoming inextricably linked" "I entered the University of Tokyo in 1949 and that was four years after the War, but almost all professors were tired and the lectures were not inspiring." "Goro Shimura and his fellow students had to rely on each other for inspiration." "In particular, he formed a remarkable partnership with a young man by the name of Utaka Taniyama." "That was when I became very close to Taniyama." "Taniyama was not a very careful person as a mathematician." "He made a lot of mistakes, but he made mistakes in a good direction and so eventually he got right answers and I tried to imitate him, but I found out that it is very difficult to make good mistakes." "Together, Taniyama and Shimura worked on the complex mathematics of modular functions." "I really can't explain what a modular function is in one sentence." "I can try and give you a few sentences to explain it." "I really can't put it in one sentence." "Oh it's impossible." "There's a saying attributed to Eichler that there are five fundamental operations of arithmetic:" "addition, subtraction, multiplication, division and modular forms." "Modular forms are functions on the complex plane that are inordinately symmetric." "They satisfy so many internal symmetries that their mere existence seem like accidents, but they do exist." "This image is merely a shadow of a modular form." "To see one properly your TV screen would have to be stretched into something called hyperbolic space." "Bizarre modular forms seem to have nothing whatsoever to do with the humdrum world of elliptic curves." "But what Taniyama and Shimura suggested shocked everyone." "In 1955 there was an international symposium and Taniyama posed two or three problems." "The problems posed by Taniyama led to the extraordinary claim that every elliptic curve was really a modular form in disguise." "It became known as the Taniyama-Shimura conjecture." "The Taniyama-Shimura conjecture says, that every rational elliptic curve is modular and that's so hard to explain." "So let me explain." "Over here you have the elliptic world, the elliptic curve, these doughnuts, and over here you have the modular world, modular forms with their many, many symmetries." "The Shirmura-Taniyama conjecture makes a bridge between these two worlds." "These worlds live on different planets." "It's a bridge, it's more than a bridge, it's really a dictionary, a dictionary where questions, intuitions, insights, theorems in the one world." "I think that when Shirmura and Taniyama first started talking about the relationship between elliptic curves and modular forms people were very incredulous." "I wasn't studying mathematics yet." "By the time I was a graduate student in 1969 or 1970 people were coming to believe the conjecture." "In fact, Taniyama-Shimura became a foundation for other theories which all came to depend on it." "But Taniyama-Shimura was only a conjecture, an unproven idea, and until it could be proved, all the maths which relied on it were under threat." "Built more and more conjectures, stretched further and further into the future but they would all be completely ridiculous if Taniyama-Shimura was not true." "Proving the conjecture became crucial, but tragically, the man whose idea inspired it didn't live to see the enormous impact of his work." "In 1958, Taniyama committed suicide." "I was very much puzzled." "Puzzlement may be the best word." "Of course I was sad, see it was so sudden and" "I was unable to make sense out of this." "Taniyama-Shimura went on to become one of the great unproven conjectures." "But what did it have to do with Fermat's last theorem?" "At that time no-one had any idea that Taniyama-Shimura could have anything to do with Fermat." "Of course in the '80s that all changed completely." "Taniyama-Shimura says: every elliptic curve is modular and" "Fermat says: no numbers fit this equation." "What was the connection?" "One way or another, I gonna find you" "One way way or another, I gonna need you" "I gonna get you , get you, get you" "One way or another, I gonna see you" "I wanna meet you , meet you, meet you, one day....." "Well, on the face of it the Shimura-Taniyama conjecture which is about elliptic curves, and Fermat's last theorem have nothing to do with each other because there's no connection between Fermat and elliptic curves." "But in 1985 Gerhard Frey had this amazing idea." "Frey, a German mathematician, considered the unthinkable:" "what would happen if Fermat was wrong and there was a solution to this equation after all?" "Frey showed how starting with a fictitious solution to Fermat's last equation if such a horrible, beast existed, he could make an elliptic curve with some very weird properties." "That elliptic curve seems to be not modular, but Shimura-Taniyama says that every elliptic curve is modular." "So if there is a solution to this equation it creates such a weird elliptic curve it defies Taniyama" " Shimura." "So in other words, if Fermat is false, so is Shimura-Taniyama, or said differently, if Shimura" " Taniyama is correct, so is Fermat's last theorem." "Fermat and Taniyama-Shimura were now linked, apart from just one thing." "The problem is that Frey didn't really prove that his elliptic curve was not modular." "He gave a plausibility argument which he hoped could be filled in by experts, and then the experts started working on it." "In theory, you could prove Fermat by proving Taniyama, but only if Frey was right." "Frey's idea became known as the epsilon conjecture and everyone tried to check it." "One year later, in San Francisco, there was a breakthrough." "I saw BARRY MAZUR on the campus and I said let's go for a cup of coffee and we sat down for cappuccinos at this cafe" "and I looked at Barry and I said you know," "I'm trying to generalise what I've done so that we can prove the full strength of Serre's epsillon conjecture." "Barry looked at me and said well you've done it already, all you have to do is add on some extra gamma zero of m structure and run through your argument and it still works, and that gives everything you need," "and this had never occurred to me as simple as it sounds." "I looked at Barry, I looked to my cappuccino," "I looked back at Barry and said my God, you're absolutely right." "Ken's ideas was brilliant!" "I was at a friend's house sipping iced tea early in the evening and he just mentioned casually in the middle of a conversation:" "by the way, do you hear that Ken has proved the epsilon conjecture?" "And I was just electrified." "I knew that moment the course of my life was changing because this meant that to prove Fermat's last theorem" "I just had to prove Taniyama-Shimura conjecture." "From that moment that was what I was working on." "I just knew I would go home and work on the Taniyama-Shimura conjecture." "Andrew abandoned all his other research." "He cut himself off from the rest of the world and for the next seven years he concentrated solely on his childhood passion." "I never use a computer." "I sometimes might scribble, I do doodles," "I start trying to find patterns really, so I'm doing calculations which try to explain some little piece of mathematics" "and I'm trying to fit it in with some previous broad conceptual understanding of some branch of mathematics." "Sometimes that'll involve going and looking up in a book to see how it's done there, sometimes it's a question of modifying things a bit, sometimes doing a little extra calculation, and sometimes you realise that nothing that's ever been done before is any use at all," "and you just have to find something completely new and it's a mystery where it comes from." "I must confess I did not think that the Shimura-Taniyama conjecture was accessible to proof at present.I thought I probably wouldn't see a proof in my lifetime." "I was one of the vast majority of people who believe that the Shimura-Taniyama conjecture was just completely inaccessible, and I didn't bother to prove it, even think about trying to prove it." "ANDREW WILES is probably one of the few people on earth who had the audacity to dream that you can actually go and prove this conjecture." "In this case certainly for the first several years I had no fear of competition." "I simply didn't think I or any one else had any real idea how to do it." "Andrew was embarking on one of the most complex calculations in history." "For the first two years, he did nothing but immerse himself in the problem, trying to find a strategy which might work." "So it was now known that Taniyama-Shimura implied Fermat's last theorem." "What does Taniyama-Shimura say?" "It says that all elliptic curves should be modular." "Well this was an old problem, been around for 20 years and lots of people would try to solve it." "Now one way of looking at it is that you have all elliptic curves and then you have the modular elliptic curves and you want to prove that there are the same number of each." "Now of course you're talking about infinite sets, so you can't just can't count them per say, but you can divide them into packets and you could try to count each packet" "but you can't really get much further than that, and the big question on the subject was how you could possibly count, and in effect, Wiles introduced the correct technique." "Andrew's trick was to transform the elliptic curves into something called Galois representations which would make counting easier." "Now it was a question of comparing modular forms with Galois representations, not elliptic curves." "Now you might ask and it's an obvious question, why can't you do this with elliptic curves and modular forms, why couldn't you count elliptic curves, count modular forms, show they're the same number?" "Well, the answer is people tried and they never found a way of counting, and this was why this is the key breakthrough, that I found a way to count not the original problem, but the modified problem." "I found a way to count modular forms and Galois representations." "My wife's only known me while I've been working on Fermat." "I told her a few days after we got married." "I decided that I really only had time for my problem and my family" "So I'd found this wonderful counting mechanism and" "I started thinking about this concrete problem in terms of Iwasawa theory." "Iwasawa theory was the subject I'd studied as a graduate student and in fact with my advisor, JOHN COATES, I'd used it to analyse elliptic curves." "Iwasawa theory was supposed to help create something called a class number formula, but several months passed and the class number formula remained out of reach." "So at the end of the summer of '91 I was at a conference." "JOHN COATES told me about a wonderful new paper of Matthias Flach, a student of his, in which he had tackled a class number formula, in fact exactly the class number formula I needed," "so Flach, using ideas of Kolyvagin, had made a very significant first step in actually producing the class number formula." "So at that point I thought this is just what I need, this is tailor-made for the problem." "I put aside completely the old approach I'd been trying and" "I devoted myself day and night to extending his result." "Andrew was almost there, but this breakthrough was risky and complicated." "After six years of secrecy, he needed to confide in someone." "January of 1993 Andrew came up to me one day at tea, asked me if I could come up to his office, there was something he wanted to talk to me about." "I had no idea what, what this could be." "Went up to his office, he closed the door" "He said he thought he would be able to prove Taniyama-Shimura." "I was just amazed, this was fantastic." "It involved a kind of mathematics that NICK KATZ is an expert in." "I think another reason he asked me was that he was sure I would not tell other people," "I would keep my mouth shut, which I did." "ANDREW WILES and NICK KATZ had been spending rather a lot of time huddled over a coffee table at the far end of the common room working on some problem or other." "We never knew what it was." "In order not to arouse any more suspicion," "Andrew decided to check his proof by disguising it in a course of lectures which NICK KATZ could then attend." "Well I explained at the beginning of the course that Flach had written this beautiful paper and I wanted to try to extend it to prove the full class number formula." "The only thing I didn't explain was that proving the class number formula was most of the way to Fermat's last theorem." "So this course was announced." "It said calculations on elliptic curves, which could mean anything." "Didn't mention Fermat, didn't mention Taniyama-Shimura, there was no way in the world anyone could have guessed that it was about that if you didn't already know." "None of the graduate students knew and in a few weeks they just drifted off because it's impossible to follow stuff if you don't know what it's for, pretty much." "It's pretty hard even if you do know what's it for, but after a few weeks I was the only guy in the audience." "The lectures revealed no errors and still none of his colleagues suspected why Andrew was being so secretive." "Maybe he's run out of ideas." "That's why he's quiet, you never know why they're quiet." "The proof was still missing a vital ingredient, but Andrew now felt confident." "It was time to tell one more person." "So I called up Peter and asked him if I could come round and talk to him about something." "I got a phone call from Andrew saying that he had something very important he wanted to chat to me about, and sure enough he had some very exciting news." "I said I think you better sit down for this." "... He sat down." "I said I think I'm about to prove Fermat's last theorem." "I was flabbergasted, excited, disturbed." "I mean I remember that night finding it quite difficult to sleep." "But there was still a problem." "Late in the spring of '93 I was in this very awkward position and I thought I'd got most of the curves to be modular, so that was nearly enough to be content to have Fermat's last theorem," "but there was this, these few families of elliptic curves that had escaped the net." "I was sitting here at my desk in May of '93, still wondering about this problem, and I was casually glancing at a paper of BARRY MAZUR's and there was just one sentence which made a reference to actually what's a 19th-century construction" "and I just instantly realised that there was a trick that I could use, that I could switch from the families of elliptic curves I'd been using." "I'd been studying them using the prime three," "I could switch and study them using the prime five." "It looked more complicated, but I could switch from these awkward curves that I couldn't prove were modular, to a different set of curves which I'd already proved were modular and use that information to just go that one last step." "I just kept working out the details, time went by and I forgot to go down to lunch." "It got to about teatime, I went down and Nada was very surprised that I'd arrived so late and then I told her that I, I believed I'd solved Fermat's last theorem." "I was convinced that I had Fermat in my hands and there was a conference in Cambridge organised by my advisor, JOHN COATES." "I thought that would be a wonderful place." "It's my old home town, I'd been a graduate student there, be a wonderful place to talk about it if I could get it in good shape." "The name of the lectures that he announced was simply 'Elliptic curves and modular forms'" "There was no mention of Fermat's last theorem." "Well I was at this conference on L functions and elliptic curves and it was kind of a standard conference and all of the people were there, didn't seem to be anything out of the ordinary, until people started telling me that they'd been hearing weird rumours about ANDREW WILES's proposed series of lectures." "I started talking to people and I got more and more precise information." "I've no idea how it was spread." "Not from me, not from me." "Whenever any piece of mathematical news had been in the air," "Peter would say oh that's nothing, wait until you hear the big news, there's something big going to break." "Maybe some hints, yeah." "People would ask me leading up to my lectures what exactly I was going to say and I said well, come to my lecture and see." "It was a very charged atmosphere, a lot of the major figures of arithmetical algebraic geometry were there." "Richard Taylor and JOHN COATES, BARRY MAZUR." "Well I'd never seen a lecture series in mathematics like that before." "What was unique about those lectures were the glorious ideas, how many new ideas were presented, and the constancy of his dramatic build-up that was suspenseful until the end." "There was this marvellous moment when we were coming close to a proof of Fermat's last theorem, the tension had built up and there was only one possible punchline." "So after I'd explained the 3/5 switch on the blackboard," "I then just wrote up a statement of Fermat's last theorem, said I'd proved it, said I think I'll stop there." "The next day what was totally unexpected was that we were deluged by enquiries from newspapers, journalists from all around the world." "It was a wonderful feeling after seven years to have really solved my problem," "I've finally done it." "Only later did it come out that there was a, a problem at the end." "Now it was time for it to be refereed which is to say for people appointed by the journal to go through and make sure that the thing was really correct." "So for two months, July and August, I literally did nothing but go through this manuscript, line by line and what this meant concretely was that essentially every day, sometimes twice a day, I would E-mail Andrew with a question:" "I don't understand what you say on this page on this line." "It seems to be wrong or I just don't understand." "So Nick was sending me E-mails and at the end of the summer he sent one that seemed innocent at first." "I tried to resolve it." "It's a little bit complicated so he sends me a fax, but the fax doesn't seem to answer the question, so I E-mail him back and I get another fax which I'm still not satisfied with," "and this in fact turned into the error that turned out to be a fundamental error and that we had completely missed when he was lecturing in the spring" "That's where the problem was in the method of Flach and Kolyvagin that I'd extended, so once I realised that at the end of September, that there was really a problem with the way I'd made the construction," "I spent the fall trying to think what kind of modifications could be made to the construction." "There are lots of simple and rather natural modifications, any one of which might work." "And every time he would try and fix it in one corner some other difficulty would add up in another corner." "It was like he was trying to put a carpet in a room where the carpet had more size than the room, but he could put it in any corner and then when he ran to the other corner" "it would pop up in this corner and whether you could not put the carpet in the room was not something that he was able to decide." "I think he externally appeared normal but at this point he was keeping a secret from the world and I think he must have been in fact pretty uncomfortable about it." "Well you know we were behaving a little bit like Kremlinologists." "Nobody actually liked to come out and ask him how he's getting on with the proof, so somebody would say I saw Andrew this morning." "Did he smile?" "Well yes, but he didn't look too happy." "The first seven years I'd worked on this problem," "I loved every minute of it." "However hard it had been there'd been setbacks often, there'd been things that had seemed insurmountable but it was a kind of private and very personal battle I was engaged in." "And then after there was a problem with it, doing mathematics in that kind of rather over- exposed way" "is certainly not my style and I have no wish to repeat it." "In desperation, Andrew called for help" "He invited his former student Richard Taylor to work with him in Princeton but no solution came." "after a year of failure, Andrew was ready to abandon his flawed proof." "In September, I decided to go back and look one more time at the original structure of Flach and Kolyvagin to try and pinpoint exactly why it wasn't working, try and formulate it precisely." "One can never really do that in mathematics but I just wanted to set my mind at rest that it really couldn't be made to work." "And I was sitting here at this desk." "It was a Monday morning, September 19th and" "I was trying convincing myself that it didn't work, just seeing exactly what the problem was when suddenly, totally unexpectedly, I had this incredible revelation." "I realised what was holding me up was exactly what would resolve the problem" "I'd had in my Iwasawa theory attempt three years earlier." "It was the most important moment of my working life." "It was so indescribably beautiful, it was so simple and so elegant and I just stared in disbelief for twenty minutes." "Then during the day I walked round the department," "I'd keep coming back to my desk and looking to see it was still there, it was still there." "Almost what seemed to be stopping the method of Flach and Kolyvagin was exactly what would make horizontally Iwasawa theory." "My original approach to the problem from three years before would make exactly that work, so out of the ashes seemed to rise the true answer to the problem." "So the first night I went back and slept on it," "I checked through it again the next morning and by 11 o'clock I was satisfied and I went down," "told my wife I've got it, I think I've got it, I've found it." "It was so unexpected," "I think she thought I was talking about a children's toy or something and said got what?" "and I said I've fixed my proof, I've got it." "I think it will always stand as one of the high achievements of number theory." "It was magnificent." "It's not every day that you hear the proof of the century." "Well my first reaction was:" "I told you so." "The Taniyama-Shimura conjecture is no longer a conjecture, and as a result Fermat's last theorem has been proved." "But is Andrew's proof the same as Fermat's?" "Fermat couldn't possibly have had this proof.It's a 20th-century proof." "There's no way this could have been done before the 20th-century." "I'm relieved that this result is now settled." "But I'm sad in some ways because Fermat's last theorem has been responsible for so much." "What will we find to take its place?" "There's no other problem that will mean the same to me." "I had this very rare privilege of being able to pursue in my adult life what had been my childhood dream." "I know it's a rare privilege but if one can do this it's more rewarding than anything I could imagine." "One of the great things about this work is it embraces the ideas of so many mathematicians." "I've made a partial list:" "Klein, Fricke, Hurwitz, Hecke, Dirichlet, Dedekind..." "The proof by Langlands and Tunnell..." "Deligne, Rapoport, Katz..." "Mazur's idea of using the deformation theory of Galois representations..." "Igusa, Eichler, Shimura, Taniyama..." "Frey's reduction..." "The list goes on and on..." "Bloch, Kato, Selmer, Frey, Fermat."