Take the equation in positive whole numbers with no common factor. Nobody knows a solution and nobody expects one. I wanted to know how far the method behind Fermat's Last Theorem can be pushed on a single equation with three different prime exponents. It closed one case out of sixteen. This post explains how that case closes, and where exactly the method stops for the other fifteen.
First, what this is. The equation is not solved. The paper [1] makes a narrower claim: there is no solution in which is divisible by 55. On the way it proves a few things that hold for every solution, reduces one family of leftover cases to 144 statements I cannot decide, and shows that the generic case needs exact computations 200 to 630,000 times larger in dimension than the one I ran.
Second, where it stands. No number theorist has reviewed the paper yet, so read every "proved" in this post as "proved, as far as I can tell." The work is still in progress. Every claim comes with the check that backs it and the logs from the run, and near the end I list the four places I would look first for a mistake.
What the paper claims#
A solution is primitive if , and are pairwise coprime. Since is less than 1, a theorem of Darmon and Granville [2] says there are only finitely many primitive solutions.1The equation is one instance of the Beal conjecture, which says that with all exponents above 2 has no solution in coprime positive integers. Nothing here comes close to that general statement. Finitely many is not zero. Here is the full list of what I claim, with its status.
| Result | Statement | Status |
|---|---|---|
| Theorem B | No primitive positive solution has . | Proved, pending review |
| Theorem R | For every solution, the mod-19 representation (defined below) is irreducible. | Proved, pending review |
| Theorem M | The Frey variety is modular in all 16 cases for which of is divisible by 5 and by 11. | Proved, pending review |
| Theorem K | Two of the possible shapes of are excluded or pinned down to two explicit families. | Proved, pending review |
| Theorem D | Those two families are impossible if 144 class-group statements and two further hypotheses hold. | Conditional. None of the 144 is decided. |
| Two more rows | The next two finite computations after the one I finished. | Open. One ran and did not decide; one was not run. |
| Everything else | The equation itself. | Open |
The rest of the post is one idea, the Frey method, followed through this particular equation until it runs out.
The Frey trick#
You want to show an equation has no solutions. Searching does not help, because the numbers are unbounded.2I did search the box , , with both signs. No coprime solution. That is a search and is not used anywhere. The trick is to stop looking at the solution and look at something you can build from it.
For Fermat's equation the thing you build is an elliptic curve, . Its points of order form a two-dimensional vector space over the field with elements, and the symmetries of the rational numbers act on that space by matrices. That action is a Galois representation. Because , and are perfect -th powers, this particular representation forgets almost every prime that divides . It is too quiet. Then two deep theorems take over: the representation must come from a modular form, and the quietness forces that form to live at a level so small that the space of such forms can be written down. It is empty. So the curve cannot exist, and neither can the solution. That is the shape of Wiles's proof [3].
Think of it as a registry check. A solution would leave a fingerprint. Theorems say the fingerprint has to be on file in a finite registry. You read the registry, and it is not there.
Why this equation needs ten dimensions#
For exponents there is no known elliptic curve that plays the role of Frey's. The classical constructions need the exponents to be equal, or two of them to be small. Three different primes, all at least 5, leave nothing to build a cubic from.
The replacement is a curve of higher genus with a lot of symmetry. Set
and consider the curve
It covers the -line 55 times and has genus 54. The 55th roots of unity act on it by multiplying , and that action cuts its 54-dimensional Jacobian into pieces. One piece, after dividing by two more symmetries, is an abelian variety of dimension 10. It comes with multiplication by the field , which has degree 10 over the rationals. That extra structure is what makes it behave like an elliptic curve: its 19-torsion, read through , is again two-dimensional, now over the field with 2,476,099 elements. So I get
a representation of the Galois group of by matrices. This is the fingerprint.
Why the numbers 55 and 19 sit where they do: as moves around the three special points , and , the family twists by a symmetry of order 5, a symmetry of order 11, and a shear. A prime dividing pushes toward 0, but is a fifth power there, so the order-5 twist is undone. The same happens for and 11. A prime dividing pushes toward 1, where the shear appears to the 19th power, and modulo 19 a 19th power of a shear is the identity. Each exponent cancels exactly one kind of damage. That is why forgets the primes of , and , apart from 5, 11 and 19 themselves.
I wanted to know whether ten dimensions was my own bad choice. It is not. Among families of this hypergeometric kind, a program enumerates every candidate whose local behaviour matches the three exponents and whose Hodge numbers are the right ones for a modularity argument.3This is Proposition 1.1. It assumes a published formula for the Hodge numbers of hypergeometric systems [4] [5]. The scan finds 146 systems, all of rank 2, in three Galois orbits. Families that are not hypergeometric are not covered. There are exactly three options, one for each choice of which exponent to work modulo.
So the object I used is the cheapest one on the menu. That matters later, when the cost becomes the whole problem.
What a solution forces#
Three facts about hold for every primitive positive solution.
It is blind outside . In the jargon, is unramified at every other prime. , and could have a thousand prime factors between them and would not record one.
At 19 it is as mild as a mod-19 representation can be. The technical term is finite flat, and it holds in all four cases for which of , , , or none, is divisible by 19.
And it is modular. This is Theorem M: in each of the 16 cases for which of is divisible by 5 and which by 11, the variety corresponds to an automorphic form over . I did not prove a modularity theorem. I checked the hypotheses of other people's, case by case: Skinner and Wiles [6] for the eight cases with , Allen, Khare and Thorne [7] for the eight with , and Khare and Thorne [8] to lift the result from up to .4The second eight rest on a theorem whose published proof passes through an unpublished manuscript. Remark 4.3 of the paper explains why that step is not needed here. Theorem B does not use these cases at all.
Put together with a theorem of Breuil and Diamond on lifts with prescribed local behaviour [9], these say: if is irreducible, it is the mod-19 shadow of a Hilbert modular form over of weight 2, with level supported only at 5 and 11, and with known types there. The registry is finite.
How big it is depends on that local behaviour. At 5 there are four possible types and at 11 another four, decided by simple congruences on , and . The mildest type, called Steinberg, occurs at 5 when and at 11 when . The worst type is called wild, and it is the generic one: 4 residue classes in 5 are wild at 5 when , and 10 in 11 are wild at 11 when . Hold on to that. Mild types mean a small registry. Wild types are the wall.
Five shapes#
Before any registry is read, there is a cheaper question. What can the image of look like as a group of matrices? A classical theorem lists the subgroups of of a finite field, and for this the list comes down to five shapes.
- Reducible. All the matrices fix a common line.
- Split Cartan. They preserve a pair of lines, and some of them swap the two.
- Nonsplit Cartan. The same, except the pair of lines only exists over a quadratic extension of . This is the dihedral case.
- Subfield. Up to scalars the matrices have entries in instead of .
- Full. The image contains every matrix of determinant 1.
A solution exists only if one of the five can actually happen. So the job is five exclusions, and each of the 16 cases can need a different argument. The figure below is the scoreboard. Each ring has five arcs, one per shape. A solid arc means that shape is excluded in that case. A ring that closes all the way round means no solution lives there.
The honest summary of that picture is that most of it is open. I will take the shapes in the order they fell.
Reducible: comparing with the solution that isn't one#
Suppose is reducible. Then it is built from two characters with values in , a group of order .
Look at 5 first. If , the local analysis produces a symmetry at 5 that acts on with an eigenvalue whose order is divisible by 4, 5 or 11. No element of has such an order. So , and by the same argument . Three lemmas at the prime 19 then show as well. So a reducible forces to divide . This much is short.
The remaining case, reducible with , is the longest argument in the paper, and it is the one I would least trust without a second reader. Its idea is simple to state. There is a degenerate "solution" with . There , the curve breaks into two pieces with complex multiplication, and everything about it can be computed. The proof shows, step by step, that a reducible coming from a real solution would have to agree with this boundary object. It would have the same two characters and the same way of gluing them. In the end it would be the same lattice inside a finer 19-adic representation.
One of those steps needs data at primes other than 5, 11 and 19. It gets them by force.
Each forced prime sits under ten places of , which gives 80 marks where the variety degenerates in a known way. A program lists all 104,977 candidate gluing classes and tests each against the 80 marks. Exactly 324 survive, and the local information at 5 and 11 cuts those to one: the class of the boundary object.
Then comes the last step, which is the only one that uses the fact that is not zero. Write for the number of times 19 divides . Agreement with the boundary object would need a certain first-order term, which measures how the curve moves away from its broken form, to vanish to 19-adic order . Its order is exactly . For the margin is .
The trivial solution passes every step except the last. I like that as a sanity check. A non-existence proof that also "disproved" the degenerate case would be wrong somewhere, and this one leaves it alone.
That is Theorem R: is never reducible. It holds for every solution, in all 16 cases.
The two Cartan shapes#
The split Cartan shape dies for every solution by a computation with units in the field . It takes one script.
The nonsplit shape is harder, and it does not die. Theorem K pins it down to two families, which the paper calls the dihedral walls. In the first, and . In the second, and . In both, the solution is 19-adically close to a trivial solution, or , and at 19 the representation looks like the one attached to that trivial solution. Local arguments at 5 and 11 remove these families from 8 of the 16 cases. In the other 8 they stand.
Theorem D reduces them to something checkable in principle. The solution's must match one of 16 explicit comparison points, and at each point the contradiction follows if nine specific pieces of a class group vanish. That is statements. The class group belongs to a number field of degree 445,698,000. I cannot decide a single one of the 144, and I know of no method that applies. The theorem also needs two further hypotheses that I state and do not prove. It is a reduction, and I list it as conditional.
Subfield and full image: reading the registry#
Now assume . The types at 5 and 11 are both Steinberg, and a Steinberg type puts an element of order 19 into the image of . The Cartan shapes have no elements of order 19, so both are gone at once. Reducible is gone by Theorem R. Two shapes are left, and each one means reading a registry.
For the subfield shape, has traces in , which lets it descend from to the much smaller field .5The descent needs modularity over the smaller field, which is not a special case of a published theorem. Proposition 7.1 adapts an argument of Barnet-Lamb, Gee and Geraghty [10]. The paper gives it as a sketch. A referee should read it. The registry there is the space of Hilbert modular forms of level of norm 605 with three prescribed signs. It has dimension one. Its single entry is the base change of the elliptic curve of conductor 11, which is not new at 5, and the form I need has to be new at 5. So there is no entry for .
For the full shape there is no smaller field to descend to. The registry is the space of Hilbert modular forms over itself, with level at the three primes of above 5 and 11.
Computing Hilbert modular forms over a degree-10 field head-on is not practical. A theorem of Jacquet and Langlands [11] moves the problem to a place where it becomes combinatorial. The same eigenvalues occur in a space of functions on a finite set, built from 136 ideal classes of a quaternion algebra over together with level data at 5 and 11. In that model a Hecke operator is the adjacency matrix of a graph. At a prime of norm 89, every vertex has 90 neighbours.
The Galois group of permutes the ten primes above 89, and three more involutions act at 5 and 11. Restricting to the right symmetry sector leaves a vector space over of dimension 684,554.
On I use four operators , where is the average of the -th powers of the ten Hecke operators above 89. A solution would give a non-zero vector with
and the four numbers in depend only on modulo 89. There are 100 possibilities: 87 ordinary values of , 11 for the case , and one each for and . I call each one a signature.
So the whole question becomes linear algebra over a field with 19 elements. For each of the 100 signatures, is there a common eigenvector? If the answer is no a hundred times, the full shape is dead.
An exact Lanczos#
The matrix of is sparse: 614,607,648 non-zero entries, about 900 per row, 1.24 GB on disk. Dense elimination on a 684,554-square matrix is out of the question. This is where my day job helped.
Over the real numbers you would reach for Lanczos. Start from a vector, keep multiplying by the matrix, orthogonalise as you go, and the matrix becomes tridiagonal in the basis you build. In numerical work you stop early and read off a few extreme eigenvalues, approximately.
Here nothing can be approximate, and the field fights back in two ways. Over a non-zero vector can be orthogonal to itself. Roughly one vector in 19 is, and that breaks the step that divides by a vector's length. And a Krylov space grown from starting vectors can only ever see independent eigenvectors for one eigenvalue. If the true multiplicity is larger, the iteration closes up early on a proper subspace, and whatever nullity you read from it is too small and looks like an answer.
The engine I wrote for this is a block Lanczos over in C++, with no external libraries. It works with 32 vectors at a time, picks from each block a subset whose Gram matrix is invertible, looks ahead when a block is degenerate, and holds reserve vectors for when the Krylov space closes early. Two design rules mattered more than speed.
It fails closed. The run only counts if the block widths add up to the full dimension, so that the basis is a basis of everything. If the space closes early and the reserve is spent, the engine stops with an error. It never reports a nullity from a partial basis.
It is tested against an oracle. Fourteen synthetic operators with planted spectra, including Jordan blocks, multiplicities up to 60 and self-orthogonal subspaces, are run through the engine and through an independent dense computation. The two must agree. Two of the fourteen are built so that the correct behaviour is to refuse, and the test passes only if the engine refuses.
The production run built 21,427 blocks whose widths sum to exactly 684,554. It took 13,166 seconds of wall time on 4 threads of an Apple M5 Pro, 815 CPU-minutes in all, with 1,468 MB of memory at peak. The readout then recomputes everything it can: the defining identity of the basis on all blocks against eight random test covectors, each nullity twice by elimination in two different orders, and each kernel vector by direct multiplication. Before any of that, a separate pass checked on every one of the 614,607,648 stored entries that is self-adjoint. Zero failures.
For 59 of the 100 signatures, is invertible and there is nothing more to do. The other 41 land on a kernel of dimension 1 to 4. There I test the conditions for , , on an explicit basis of the kernel, through two separate stacks of linear functionals, and each stack has full rank every time. No common eigenvector exists for any of the 100 signatures. The full shape cannot occur when .
With Theorem R, that closes the case. No primitive positive solution has .
The run that did not decide#
The next case up replaces Steinberg at 5 by a tame type of order 4, keeping . Its sector has dimension 1,369,313 over , which is 2,738,626 over , and the matrix has 2,463,869,496 non-zero entries. I added a CUDA back end to the engine and ran it on a single GPU with the 6.68 GB matrix resident in memory. It finished: 85,734 blocks in 4.0 hours, at 0.067 seconds per sparse product, and every integrity check in the readout passes.
This is the part I got wrong. The run recorded the wrong measurements. For the first computation the ledger carried projections that let me test on a kernel afterwards. For this one it carried only unit covectors, and those cannot tell eigenvectors apart inside a kernel. So the run decides the 96 signatures where the kernel is zero and says nothing about the other 102, where the kernel has dimension 2 or 114. Four hours of exact arithmetic on four times the dimension gave a clean spectrum and no theorem. The paper lists this row as open, with the reason.
The wall#
Suppose every tame computation were done. Most residue classes would still be untouched, because the generic type at 5 or 11 is wild. How big is the registry then?
Proposition 1.2 answers with a formula. The number of automorphic forms with given types at the three primes above 5 and 11 is, up to bounded terms,
where each depends only on the local type. At 5 it is 3,124 for Steinberg, 3,126 for the tame types and for wild. At each of the two primes above 11 it is 10 or 12 for Steinberg and the tame types, and 120 for wild. For the wild types is between and . Divide by the largest symmetry available, a factor of 40, and one sector has dimension between and .6These sizes assume the wild types have the conductor I expect. That finer shape is not proved in the paper, and no theorem depends on it.
The cost of a run grows roughly with the square of the dimension. By that rule the smallest wild sector costs about 40,000 times the run I finished, and the largest is not a computation anyone will do. What I wanted to know is whether that size is an artefact of my set-up. The paper checks five ways out, and none works.
- Move to a different quaternion algebra. The count is the same on every inner form: a factor moves from the local dimension to the global mass and the product does not change.
- Reduce the type modulo 19. The relevant finite groups have order prime to 19, so nothing collapses.
- Lower the level. The inertia image has order prime to 19, so the mod-19 representation already has the full conductor.
- Change the base field to make the type tame. The mass grows faster than the type shrinks.
- Use another Frey object. Figure 2 again: the alternatives live over fields of degree 18 and 45.
So the size is intrinsic to the problem as this method sees it. I know of no argument for the wild types that is not a rank computation, and the rank computation is out of reach. That is the wall, and it stands in front of the generic solution.
Where a referee should look first#
No number theorist has checked any of this. If I were handed this paper cold, these are the four places I would attack first.
The proof of Theorem R. The paper gives it as a structured outline in ten steps. The full argument is a separate note in the repository, data/thmR/PROOF-R.md. A long proof that lives partly outside the paper is the first thing to distrust, and Theorem B needs it for the case .
Proposition 5.6. Inside that proof, one step compares an algebraically defined class with a period of a degenerating curve. The comparison is only determined up to a scalar, and the scalar matters: if it were a non-square, for instance , the argument would select a different class and a later step would fail. Proposition 5.6 is my attempt to pin the scalar down using only places where it can be computed. It is an argument, not a computation, and nothing in the repository can replay it.
The comparison in SGA 7 IX 14.2. The standard reference for that comparison [12] proves one half of it and explicitly admits the other half without proof. I claim to use only the proved half. That claim should be checked by someone who knows the source better than I do. A related input, the exact leading term of a period formula of Ichikawa [13], is used through a later restatement and not from the original.
The single run of the rank certificate. The 684,554-dimensional computation was run once, by one engine, on one machine, on a stored matrix. The ingredients of the matrix were rebuilt and cross-checked in several ways, but the matrix itself was not rebuilt by a second, independent implementation, and the test covectors were inherited from an earlier computation without being regenerated. A bug shared by the builder and its checks would not be caught.
Everything that can be replayed is in the repository. One script recomputes 70 file hashes and checks 77 sentinel lines and 31 error logs in seconds, and twelve of the lighter computations replay byte for byte in about a minute. That shows the records are what I say they are. It does not show the mathematics is right.
What I would do next#
Expert review comes first. Nothing else is worth doing until someone qualified has tried to break Theorem R and Proposition 5.6. If they break, Theorem B falls back to the weaker Theorem A: a solution with must also have and a reducible .
If they hold, the tame rows are next. There are eight, with estimated costs from 54 to 86,400 core-hours. The first one needs a rerun with the right measurements, and the engine and the matrix already exist. Each row also needs its own version of the subfield argument, which I have only verified for . The largest row has no symmetry to divide by and is beyond my hardware.
Then the 144 class-group statements. I do not have a method. Two routes I tried fail at a step I can name, and the paper says where. Someone who works on class groups of CM fields may know whether these are hopeless.
For the wild types I have no plan, and I would rather say so than sketch one. A new idea is needed there, and it will not be a bigger computer.
One case out of sixteen is closed, as far as I can tell. The paper, the certificates and the engine are public. If you work in this area and can spare an afternoon for Section 5 of the paper, that is the review I need most.
Notes on method#
Exactness. Every machine computation is exact: integers, finite fields and certified class groups. None is a bounded search over solutions. The tools are PARI/GP 2.19.1, Python and C++.
Pass conditions. A PARI script counts as passed only if it prints its final sentinel line, its error stream is clean, and its verdict tests a flag set by the last essential block. A script can otherwise fail silently and still exit with status 0. Every certificate prints how many cases it tested and includes a control that must fail.
Independent rebuilds. The 1,186-dimensional module used to rule out descent to the quintic subfield was rebuilt twice from scratch by different constructions. The Hecke data at 89 were rebuilt at each of the ten primes and compared under the Galois action. The 100 signatures were regenerated from trace formulas. The list of 136 ideal classes is complete by the mass formula: the reciprocals of the unit indices sum to .
Limits. The rank certificate was run once on one machine with 18 cores and 24 GB. The builder of the Hecke data is a single code base. One of the two local length formulas has machine confirmation at 5 and only consistency evidence at 11.
Hardware. The Theorem A run used 4 CPU threads. The row r08 run used one GPU for 4.0 hours.
References#
- A. Vahedian. The generalized Fermat equation : solutions with , modularity of the Frey variety, and the remaining obstructions. Preprint, version 1.0, 2026. doi:10.5281/zenodo.24656933
- H. Darmon, A. Granville. On the equations and . Bull. London Math. Soc. 27, 1995, 513-543.
- A. Wiles. Modular elliptic curves and Fermat's Last Theorem. Annals of Mathematics 141, 1995, 443-551.
- R. Fedorov. Variations of Hodge structures for hypergeometric differential operators and parabolic Higgs bundles. Int. Math. Res. Not. IMRN, 2018, no. 18, 5583-5608.
- A. Corti, V. Golyshev. Hypergeometric equations and weighted projective spaces. Sci. China Math. 54, 2011, 1577-1590.
- C. M. Skinner, A. J. Wiles. Residually reducible representations and modular forms. Publ. Math. Inst. Hautes Études Sci. 89, 1999, 5-126.
- P. B. Allen, C. Khare, J. A. Thorne. Modularity of -representations over totally real fields. Proc. Natl. Acad. Sci. USA 118 (33), 2021. arXiv:2104.14732
- C. Khare, J. A. Thorne. Automorphy of some residually Galois representations. Math. Z. 286, 2017, 399-429. arXiv:1503.03796
- C. Breuil, F. Diamond. Formes modulaires de Hilbert modulo et valeurs d'extensions entre caractères galoisiens. Ann. Sci. Éc. Norm. Supér. (4) 47, 2014, 905-974.
- T. Barnet-Lamb, T. Gee, D. Geraghty. Congruences between Hilbert modular forms: constructing ordinary lifts. Duke Math. J. 161 (8), 2012, 1521-1580. arXiv:1006.0466
- H. Jacquet, R. P. Langlands. Automorphic forms on . Lecture Notes in Mathematics 114, Springer, 1970.
- A. Grothendieck (ed.). Groupes de monodromie en géométrie algébrique. I (SGA 7 I). Lecture Notes in Mathematics 288, Springer, 1972.
- T. Ichikawa. Generalized Tate curve and integral Teichmüller modular forms. Amer. J. Math. 122, 2000, 1139-1174.