mathematical logic

An Intuitionistic Glance at Primes

arXiv:2511.07774

summary

The paper provides a proof‑theoretic analysis of how positive integers can be classified as 1, prime, or composite within intuitionistic logic, showing that both primality and compositeness are decidable via bounded searches and presenting a recursive sieve for primes.

Abstract

This paper gives a proof-theoretic account of how positive integers must be classified as , prime, or composite in intuitionistic logic. Compositehood is expressed in by exhibiting a factorization; primality is expressed in by exhibiting a lack of interior factorization. Because both searches are bounded, both predicates are decidable. Organizing the checks in stages yields a recursive sieve for the primes, a characterization of modular cancellation, and finite arithmetic certificates. The final sections distinguish what Heyting Arithmetic () proves internally from what depends on the standard interpretation of .

42 pages, 4 figures. Corrigendum to v2: corrects the treatment of bounded factor search and separates decidable primality from oracle-strength completion principles

Topics & keywords

#intuitionistic logic#primality#proof theory#decidability#recursive sieveHeyting arithmeticΣ^0_0Π^0_0bounded factor searchfinite arithmetic certificates
An Intuitionistic Glance at Primes · wovepaper