An Intuitionistic Glance at Primes
This paper provides a proof-theoretic account in intuitionistic logic demonstrating that the classification of positive integers into 1, primes, and composites is decidable via bounded searches, leading to a recursive sieve, a characterization of modular cancellation, and a distinction between what Heyting Arithmetic proves internally versus what relies on the standard interpretation of natural numbers.
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 you are a detective trying to sort a massive pile of numbers into three distinct boxes: The Unit, The Primes, and The Composites. Most people think this is just a math game, but this paper, written by Milan Rosko in July 2026, asks a deeper question: How do we actually prove a number belongs in a box without just guessing?
The paper argues that in the world of "intuitionistic logic" (a strict style of thinking where you must show your work, not just say something is true), the way we prove a number is a "Composite" is totally different from how we prove it's a "Prime."
The Two Detective Styles: Finding vs. Exhausting
Think of the number 6. To prove it's a Composite, you just need to find one pair of friends who multiply to make it. You shout, "Aha! 2 times 3 is 6!" You have a positive witness. You found the evidence. The paper calls this an "existential" search. It's like finding a lost key; once you see it, the job is done.
Now, look at the number 5. To prove it's a Prime, you can't just find a friend; you have to prove it has no friends (other than 1 and itself). You have to check every single possible pair of numbers that could multiply to 5, and show that none of them work. You have to exhaust the entire list of suspects. The paper calls this a "bounded refutation." You are proving a prime by showing a "lack of interior factorization."
The Big Finding: The paper proves that for any number you pick, you can always decide which box it goes into. You don't need to guess. You just run a finite search. If you find a factor pair, it's Composite. If you check every possible pair up to that number and find nothing, it's Prime. The "Unit" (the number 1) is a special case that doesn't fit in either box.
The "Catcher" Game and the Sieve
The paper introduces a fun game called the "Finite Catcher." Imagine you have a net made of a few specific numbers (like 2 and 3). You throw a composite number at the net. If the number is made of 2s and 3s (like 6 or 12), the net catches it. But if you throw a number like 25, the net misses! Why? Because 25 is made of 5s, and your net doesn't have a 5.
The paper shows a clever trick called "Euclidean Escape." No matter how big your net is, you can always construct a number that slips right through the holes. This proves that you can never catch all composite numbers with a finite net.
So, how do we catch them all? The paper describes a "Recursive Sieve."
- Start with an empty net.
- Throw numbers at it. The first number that survives (slips through) is 2.
- Since 2 survived, we know it's a Prime. So, we add 2 to our net.
- Now, throw numbers at the new net (which catches multiples of 2). The next survivor is 3. Add 3 to the net.
- Keep going. The next survivor is 5, then 7, and so on.
This process builds the list of primes one by one. The paper proves that the first composite number that always slips through a net made of the first primes is the square of the next prime (like ).
What the Paper Rules Out (The "No-Go" Zones)
The paper is very careful about what it doesn't claim.
- It rules out the idea that "Not Prime" automatically means "Composite" for the number 1. In this strict logic, 1 is its own special category. You can't just say "It's not prime, so it must be composite." It's neither.
- It argues against the idea that we can have a single, perfect "Universal Machine" that instantly decides every math truth. The paper uses a famous result called Rice's Theorem to show that while we can check specific numbers (like "Is 25 composite?"), we cannot build a single machine that decides the truth of every possible pattern of numbers (like "Are there infinitely many twin primes?") just by looking at the code.
- It rejects the idea that proving a number is prime inside a math system is the same as proving it matches the "real" numbers we use in life. The paper distinguishes between the rules of the game (syntax) and the meaning of the game (semantics). A computer can follow the rules perfectly and prove a number is prime, but that doesn't automatically mean it understands what "prime" means in the real world. That requires an extra step of interpretation.
How Sure Are We?
The paper is mathematically proven, not just simulated or suggested.
- The classification of numbers (1, Prime, Composite) is decidable. This means there is a guaranteed, step-by-step recipe that will always give you the right answer for any number you feed it.
- The "Sieve" method is constructive. It doesn't just say "primes exist"; it shows you exactly how to build them step-by-step.
- The limits it discusses (like the inability to have a universal machine for all patterns) are rigorous proofs based on established logic (Gödel's Incompleteness Theorems and Rice's Theorem).
The "Mirage" of Primes
The paper ends with a beautiful metaphor. It says that Composite numbers are like a solid wall built by multiplying numbers together. Prime numbers are the holes in that wall.
- A composite is easy to spot because you can see the bricks (the factors) holding it together.
- A prime is defined by what it isn't. It's a hole where no bricks fit.
The paper concludes that while we can easily check any single hole to see if it's a hole (because the search is finite), the pattern of all the holes together is a mystery. We can verify small patches of the wall, but the infinite pattern of where the holes are remains a "mirage" that we can't fully capture with a single, simple rule.
In short: We have a perfect, working flashlight to check any single number. But the map of the entire infinite forest of numbers? That's a different story, and this paper draws the line between what we can prove with our flashlight and what remains a beautiful, unproven mystery.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.