← Latest papers
💻 computer science

The set of primes is supernatural: a Lean formalization of the statement of the conjecture

This paper presents a complete, machine-checked Lean 4 formalization of the conjecture that no non-constant function constructed from identity, constants, and finitely many pointwise operations (addition, multiplication, exponentiation) maps every positive integer to a prime, thereby transforming the conjecture into a precise, kernel-verifiable target for automated reasoning systems.

Original authors: A. Mayeux

Published 2026-08-11
📖 4 min read☕ Coffee break read

Original authors: A. Mayeux

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a vast, infinite library where every book is a number. In this library, there is a very special, exclusive club called the "Primes." These are numbers that can't be built by multiplying smaller numbers together; they are the indivisible atoms of arithmetic, like 2, 3, 5, or 7. For centuries, mathematicians have tried to write a single, simple recipe—a machine made of basic math tools—that could spit out only these special club members. They wanted a machine that, no matter what number you fed it, would always output a Prime.

The tools allowed in this recipe are the most basic ones we know: adding numbers together, multiplying them, and raising them to powers (like squaring or cubing). You can mix and match these tools as much as you like, but you can't use anything fancy like division or square roots. The big question is: Is there a way to build a machine using only these simple tools that never makes a mistake? Could such a machine generate a never-ending list of primes, or will it eventually stumble and produce a number that isn't prime? This isn't just a game; it touches the very heart of how numbers are structured. If such a machine existed, it would mean the primes follow a simple, predictable pattern. If not, it means the primes are wild, chaotic, and "supernatural" in a way that defies simple formulas.

This paper is a digital detective story about that very question. The author, Arnaud Mayeux, has taken a specific mathematical paper that proposed a bold guess (a conjecture) and translated the entire thing into a computer language called Lean. Think of Lean as a super-strict referee that checks every single step of a math proof to ensure it is 100% logically sound, with no room for human error or "I think this works" moments. The paper doesn't solve the mystery of whether the prime-generating machine exists; instead, it builds a perfect, unbreakable digital model of the rules of the game.

The main finding of this work is that the entire theory behind the "Prime Machine" guess has been successfully coded into the computer. Every definition, every example, and every table of numbers from the original paper now lives inside this digital file. The author checked 89 different examples of these "natural functions" (the fancy name for the machines built from addition, multiplication, and powers). For each one, the computer calculated the results and confirmed that they all eventually fail to produce a prime number. For instance, one function worked perfectly for the first six numbers but broke on the seventh. The computer proved these failures with absolute certainty, using advanced digital certificates to verify huge numbers that would take a human years to check by hand.

However, the paper is very clear about what it hasn't done. It has not proven that the Prime Machine is impossible. It has not found the ultimate answer. The central guess—that no such machine exists—remains an open problem, a "named open problem" in the computer code, waiting for a human or an artificial intelligence to finally prove it. The paper essentially says, "Here is the exact rulebook, and here is the evidence that every machine we've tried so far fails, but the final verdict is still out."

The author also expanded the game slightly. They asked, "What if we add a few more tools, like factorials (multiplying a number by all the numbers below it) or Knuth arrows (a way to write huge powers)?" They built a new, larger class of machines with these extra tools and stated a new, even harder version of the guess: that even with these super-tools, you still can't build a machine that only makes primes. This new guess is also left open, unproven, but now it is written down in a way that a computer can check if someone eventually figures out the proof.

In short, this paper is a massive act of translation and verification. It takes a complex mathematical idea about the chaotic nature of prime numbers and locks it into a digital vault where every rule is checked by a machine. It confirms that for every specific example tested, the "Prime Machine" fails, but it leaves the ultimate question of whether such a machine is theoretically possible as a challenge for the future. The primes, it seems, are indeed "supernatural," resisting any simple formula we try to trap them with.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →