Vol. I a living index of named laws · est. mmxxvi no ads · no account
The Law Tomeindex of named laws
Often confused

Fermat's Last Theorem vs The Langlands Program

These two are routinely mistaken for each other. Here is what separates them, and what each actually claims, field by field.

Fermat's Last Theorem compared with The Langlands Program
AttributeFermat's Last TheoremThe Langlands Program
FieldMathematics & proofMathematics & proof
ReliabilityEmpiricalContested
Coined16371967
Named afterPierre de FermatRobert Langlands
TypeEstablishedEstablished

What they have in common

  • Both sit in Mathematics & proof.
  • They are not equally well established: Fermat's Last Theorem is rated Empirical and The Langlands Program Contested.
  • Fermat's Last Theorem is the older of the two by 330 years.

Side by side

What it claims

Fermat's Last TheoremNo three positive whole numbers can satisfy a to the n plus b to the n equals c to the n for any power above two.
The Langlands ProgramA vast web of conjectures linking number theory, geometry, and representation theory.

In plain English

Fermat's Last TheoremFermat's Last Theorem states that no three positive integers a, b, and c can satisfy the equation a to the power n plus b to the power n equals c to the power n whenever the exponent n is an integer greater than two. For the exponent two the equation is just the Pythagorean relation, which has infinitely many whole-number solutions, the Pythagorean triples like three, four, five. Fermat's claim is that this abundance vanishes the moment the power exceeds two: no solutions exist at all. Scrawled by Pierre de Fermat around 1637 in the margin of a book, alongside the tantalising note that he had a marvellous proof too large to fit, it became the most famous unsolved problem in mathematics, resisting proof for over three hundred and fifty years.
The Langlands ProgramThe Langlands program is a vast and influential web of far-reaching, interconnected conjectures and theorems that relate number theory, algebraic geometry, and representation theory and harmonic analysis. Often described as a grand unified theory of mathematics or a bridge connecting disparate areas, it proposes deep correspondences between objects from arithmetic and objects from analysis: on one side, Galois representations, which arise from number theory and encode symmetries of number systems, and on the other, automorphic forms and automorphic representations, which arise from harmonic analysis on groups. The program was proposed by Robert Langlands in 1967, most famously in a seventeen-page handwritten letter to Andre Weil, which sketched the conjectures, and it was developed further in his subsequent work. At its heart lies a vast generalization of classical reciprocity laws, such as quadratic reciprocity and the abelian case captured by class field theory, to a non-abelian setting, together with the conjectures of functoriality and reciprocity and a network of relationships among L-functions. Major results have confirmed parts of it: Andrew Wiles's proof of Fermat's Last Theorem established the modularity theorem, an instance of Langlands-type correspondence; Ngo Bao Chau proved the fundamental lemma, earning the Fields Medal in 2010; Laurent Lafforgue earned the Fields Medal in 2002 for the function-field case; and Langlands received the Abel Prize in 2018.

How it works

Fermat's Last TheoremThe difficulty is that a single clean statement conceals infinitely many separate cases, one for each exponent, and no elementary method dispatches them all. Progress came case by case: Fermat himself proved the exponent four using his method of infinite descent, Euler settled the cube, and Sophie Germain, Dirichlet, Legendre, and Kummer extended the range with ever deeper number theory, Kummer covering all so-called regular primes with his theory of ideal numbers. It suffices to prove the theorem for the exponent four and for every odd prime, since any other exponent shares a factor with one of these. The final proof came from an unexpected direction: Andrew Wiles proved that certain elliptic curves are modular, which by Ribet's theorem forces a solution to Fermat's equation to be impossible.
The Langlands ProgramThe Langlands program organizes an enormous range of mathematics around the idea that two seemingly unrelated worlds are secretly the same. On the arithmetic side are Galois representations, which describe how the symmetries of the algebraic numbers, encoded in Galois groups, act, and which carry deep information about number theory. On the analytic side are automorphic forms and their representations, highly symmetric functions studied through harmonic analysis on Lie groups and their adelic counterparts. The program conjectures a dictionary between these two sides, a family of Langlands correspondences, matching Galois representations with automorphic representations in a way that preserves their associated L-functions, the analytic invariants attached to each. This generalizes the great reciprocity laws of classical number theory: quadratic reciprocity and, more broadly, class field theory describe the abelian case, where the relevant groups are commutative, and Langlands's insight was to extend the picture to the non-abelian case, governed by his conjectures of functoriality, which predict how automorphic forms for different groups are related, and reciprocity, which ties them to Galois representations. The program comes in several flavors, over number fields, over function fields, and in a geometric version connected to physics and gauge theory. Progress has been dramatic but partial: the modularity theorem behind Fermat's Last Theorem, Ngo's proof of the fundamental lemma, Lafforgue's work over function fields, and, in 2024, a claimed proof of the geometric Langlands conjecture by a team led by Dennis Gaitsgory and Sam Raskin, all confirm major pieces, while the full program remains a guiding vision.

Why it matters

Fermat's Last TheoremFermat's Last Theorem is the most celebrated problem in the history of mathematics, a deceptively simple statement whose three-and-a-half-century resistance drove the development of algebraic number theory, from Kummer's ideal numbers to the modern machinery of elliptic curves, modular forms, and Galois representations. Wiles's 1995 proof is a landmark of twentieth-century mathematics, uniting fields that had seemed distant and vindicating decades of work on the modularity conjecture. Wiles received the Abel Prize in 2016 for the achievement. The saga is also a lesson in mathematical humility, since Fermat's own claimed proof was almost certainly mistaken, given that the eventual proof used tools centuries beyond his reach.
The Langlands ProgramThe Langlands program is one of the largest and most influential projects in modern mathematics, a sweeping vision that has reorganized how mathematicians understand the connections among their subject's great domains. By proposing that number theory, algebraic geometry, and representation theory are bound together by deep correspondences, it has revealed hidden unity where there seemed to be only separate fields, and it has guided decades of research, supplying conjectures whose pursuit has produced some of the most celebrated results of the past half-century. The proof of Fermat's Last Theorem, one of the most famous achievements in mathematics, came through establishing modularity, a Langlands-type correspondence, and Fields Medals have been awarded for major advances within the program, to Laurent Lafforgue in 2002 and Ngo Bao Chau in 2010, while Robert Langlands himself received the Abel Prize in 2018. The program also reaches into mathematical physics through its geometric version, connecting to gauge theory, and its scope continues to grow, as with the 2024 announcement of a proof of the geometric Langlands conjecture.

Where it breaks down

Fermat's Last TheoremThe theorem is specific to exponents greater than two and to positive integers; the exponent two has infinitely many solutions, and allowing zero or non-integer values changes everything. Fermat's own marginal claim of a proof is not part of the established result and is generally regarded as unfounded, since no elementary proof is known and the accepted proof relies on twentieth-century mathematics far beyond his tools. The proof, while complete and checked, is long and highly technical, so the theorem is easy to state but understood in full by relatively few, and it settles a single equation rather than a broad family, its depth lying in the methods it required.
The Langlands ProgramThe Langlands program is a program, a vast and largely conjectural framework, not a single completed theorem, and much of it remains open. Its central conjectures, especially functoriality in full generality, are far from proved, and progress, however spectacular, has confirmed only pieces: the modularity theorem, the fundamental lemma, the function-field case for various groups, and, most recently, a claimed proof of the geometric Langlands conjecture. Because the program is enormous and technically demanding, spanning several distinct settings, number fields, function fields, and the geometric version, and requiring deep machinery from many areas, even stating its conjectures precisely requires substantial background, and results in one setting do not automatically transfer to another. The relationship between the arithmetic and geometric versions is itself a subject of active research. Langlands's letter to Weil is dated 1967, Laurent Lafforgue's Fields Medal is 2002 and Ngo's 2010, Langlands's Abel Prize is 2018, and the 2024 geometric Langlands proof, led by Gaitsgory and Raskin with collaborators, is recent and its verification ongoing; the two Lafforgue brothers should not be conflated.

Commonly misread as

Fermat's Last TheoremThe theorem is not that the equation never balances for any exponent; for the power two it has infinitely many solutions, the Pythagorean triples, and the claim is only about powers above two. Fermat almost certainly did not possess a valid general proof, so his margin note is a historical curiosity, not evidence. And Wiles's proof does not exhibit or rule out particular numbers by search; it argues indirectly that any solution would contradict the modularity of elliptic curves, an impossibility, so the theorem holds for all exponents above two at once.
The Langlands ProgramThe Langlands program is not a single theorem but a web of conjectures and partial results, much of it still open. It is not proved by the confirmation of individual pieces, since the general conjectures, such as full functoriality, remain unproved. And its several settings, number fields, function fields, and geometric, are distinct, so a result in one does not settle the others, and the geometric proof does not close the arithmetic program, so treating the program as a finished theorem, as proved by its pieces, or as a single undivided problem, misreads it.

A worked example

Fermat's Last TheoremOn 9 November 2026 Anthropic said a team of 1,000 Claude Fable 5.2 agents formalized the proof of Fermat's Last Theorem in the Lean language in about 30 hours, starting from lemmas its first, 11-day formalization had already proved. The figures are the company's own. The theorem takes one line to state, yet checking its proof every step of the way by machine is still a job measured in days and hours.
The Langlands ProgramThe program matches Galois representations from number theory with automorphic forms from harmonic analysis, preserving L-functions.

Where it came from

Fermat's Last TheoremConjectured by Pierre de Fermat around 1637 in a margin of Diophantus's Arithmetica, with special cases proved over centuries by Fermat, Euler, Germain, Dirichlet, and Kummer, and finally proved in full by Andrew Wiles, with Richard Taylor, in work published in 1995.
The Langlands ProgramThe web of conjectures proposed by Robert Langlands in a 1967 letter to Andre Weil, relating Galois representations in number theory to automorphic forms in harmonic analysis, a grand unifying framework of modern mathematics.

Sources

Related comparisons

Questions about this pair

What is the difference between Fermat's Last Theorem and The Langlands Program?

Fermat's Last Theorem says “No three positive whole numbers can satisfy a to the n plus b to the n equals c to the n for any power above two.”; The Langlands Program says “A vast web of conjectures linking number theory, geometry, and representation theory.”. They are near-twins and easy to confuse; the field-by-field comparison above sets out what each actually claims.

Are Fermat's Last Theorem and The Langlands Program the same thing?

No, though they are routinely mistaken for each other. They are recorded here as near-twins precisely because the confusion is common.

Which one should I apply?

Whichever one's conditions your case meets. This page will not guess which that is. Fermat's Last Theorem states where it stops working, and so does The Langlands Program; both passages are above, in the entries' own words. Reading the two limits side by side answers this faster than a recommendation from a site that cannot see your situation.