Jaime Smeke

Machinations No. 018 Culture & Society

Eight Lemmas and No Idea

On trying to prove Fermat–Catalan, the love lives of fruit, and what happens when discovery gets cheap.

A strawberry and a piece of chalk on a blackboard ledge, below the equation 2 to the 5th plus 7 squared equals 3 to the 4th and the shadow of a person with a hand on the forehead.

On November 25, someone on X announced that they were helping solve P vs. NP and had already had eight lemmas accepted. A friend asked what a lemma was. "Who knows," they said.

Cinna Davis, quite reasonably, begged them to understand at least a little of what they were doing. The poster asked why. They were throwing an agent at the problem. How would their understanding change what the agent did?

Then they came back to report two more lemmas.

A lemma is a result you prove because you need it to prove something else. P vs. NP asks, roughly, whether every problem whose proposed solutions can be checked efficiently can also be solved efficiently. The public project working on it still says unsolved. Nobody in this exchange was about to collect a million dollars. But the part I can't stop thinking about is that Cinna was right, and the person with the agent had asked a good question by accident.

I know because I've spent an embarrassing amount of time asking my own assistant how close we were to solving Fermat–Catalan.

Fermat, on a scale of one to ten

My day job is running restaurants. I'm terrible at math. Neither of these facts stopped me from putting an agent to work on the Fermat–Catalan conjecture. This is not Fermat's Last Theorem, which Andrew Wiles already proved. This one asks whether there are only finitely many ways for two powers to add up to a third, with some restrictions on the numbers and exponents. One of the ways is 2⁵ + 7² = 3⁴. It fits in a text message. The problem doesn't.

At one point I asked Jarvis, my assistant, how we were doing on a scale of one to ten. I got a three. In retrospect, this was like asking how close we were to finding a missing key and being told we had searched thirty percent of the apartment. It tells you where you've been. It tells you nothing about where the key is.

We did get somewhere. In one of the reductions, the agent proved a route from a statement about the prime factors of two of the three numbers to the finiteness we were after. The check passed in Lean, a program that verifies the steps of a formal proof. The key statement about those prime factors remains open. Lean checked the if this, then that. It did not check the this. I had to get better at asking which part of the sentence we were celebrating.

Had we actually solved it, my children and generations of PhD candidates would obviously have had to study me alongside Newton and Gödel. Would I have been able to get through the chapter on my own work? Unclear. But the law is the law.

A better use for the water

There's something genuinely lovely about opening a problem to strangers and letting each one leave a piece of it in better shape. In 2009, Timothy Gowers asked on his blog whether lots of people could do mathematics together in public. The ensuing collaboration published a new proof of the density Hales–Jewett theorem under a collective name. Nobody needed an LLM. What feels new to me is the distance a person can now travel from "I don't understand the question" to leaving behind something a stranger can actually check.

And yes, I would rather spend the tokens and the cooling water on that than on another episode of Fruit Love Island, though I respect the mango's right to make poor romantic decisions. This is not a claim that weeks of agents doing number theory use less water than one video. I don't have a meter on either project. Even measuring the footprint of a single AI request takes real work. I mean that if we can point this much computation at anything, I'm glad some people are pointing it at a question whose answer they can't predict and which belongs to no one.

I say that as someone who gets to close the laptop and go back to my job.

The evening shift

In The Dark Night of Mathematics, Kirwin Hampshire repeats a consolation heard from mathematicians: even if machines eventually do the discovering, mathematicians will still be able to explain, teach and appreciate the result. Hampshire's reply is devastating in its plainness: "Oh well, maybe I'll find some time for math in the evenings."

I was already doing math in the evenings. To me, that was freedom. To Hampshire, it would mean losing the life they were trying to build.

The money matters. A university can decide it needs fewer people to do research long before the last interesting problem is solved. But Hampshire is grieving something harder to replace than a paycheck. To learn a proof can feel like following the movements of another mind, maybe someone who's been dead for centuries. To discover one is to be the person who turns the corner first. It's a strange consolation to tell someone that they can still tour the country they wanted to explore, now that someone else has mapped it for them.

I don't think the mathematicians are a special case. I think they're next on a list that includes the people who make pictures, the people who write code, the people who write essays like this one, and, eventually, people like me who take pride in being good at a thousand small decisions no one ever thought to put on a benchmark. A thing can be as beautiful and useful as it ever was while the world stops paying for, or even noticing, what it takes for a person to make it.

In an earlier piece about Babel, I wrote about a midrash in which the builders weep when a brick falls and barely notice when a person does. I thought I knew which side of that story I was on. Then I got a few green checks with my name next to them and immediately asked how many more we could get.

There is a silver lining, and I don't want to be too cool to enjoy it. We didn't solve Fermat–Catalan. But the project merged four contributions under my name: three reductions and a follow-up. The assumptions are there in public, as are the gaps. Those little advances are part of the record now. If another person picks up one of them years from now, they'll know where it came from and, more importantly, where we got stuck.

I'm proud of that. I also want to be able to answer when my kids ask me what a lemma is.

Studied from

  1. Helping with P = NP: eight lemmas accepted @MKaylaUltra on X
  2. P vs NP Clay Mathematics Institute
  3. Does P = NP? An AI agent fleet is attacking it, live OpenGoat
  4. Fermat–Catalan conjecture Left to Solve
  5. FermatCatalanConjecture.fermat_catalan.R3, pull request 16389 lefttosolve2/open-math-agents on GitHub
  6. Is massively collaborative mathematics possible? Timothy Gowers
  7. A new proof of the density Hales-Jewett theorem D. H. J. Polymath, Annals of Mathematics 175 (2012)
  8. Fruit Love Island goes viral on TikTok RTÉ Entertainment
  9. Measuring the environmental impact of delivering AI at Google Scale Cooper Elsworth et al.
  10. The Dark Night of Mathematics Kirwin Hampshire
  11. Contributor record for @jsbls Left to Solve