Phase transition and computational complexity in a stochastic prime number generator

We introduce a prime number generator in the form of a stochastic algorithm. The character of this algorithm gives rise to a continuous phase transition which distinguishes a phase where the algorithm is able to reduce the whole system of numbers into primes and a phase where the system reaches a frozen state with low prime density. In this paper, we firstly present a broader characterization of this phase transition, both in analytical and numerical terms. Critical exponents are calculated, and data collapse is provided. Further on, we redefine the model as a search problem, fitting it in the hallmark of computational complexity theory. We suggest that the system belongs to the class NP. The computational cost is maximal around the threshold, as is common in many algorithmic phase transitions, revealing the presence of an easy-hard-easy pattern. We finally relate the nature of the phase transition to an average-case classification of the problem.

[1]  P. Cheeseman,et al.  Computational Complexity And Phase Transitions , 1992, Workshop on Physics and Computation.

[2]  R. Rosenfeld Nature , 2009, Otolaryngology--head and neck surgery : official journal of American Academy of Otolaryngology-Head and Neck Surgery.

[3]  Nils J. Nilsson,et al.  Artificial Intelligence , 1974, IFIP Congress.

[4]  M.R. Schroeder,et al.  Number theory , 1989, IEEE Potentials.

[5]  Gabriel Istrate Computational complexity and phase transitions , 2000, Proceedings 15th Annual IEEE Conference on Computational Complexity.

[6]  Albert C. Claus,et al.  Number Theory in Science and Communications , 1998 .

[7]  W. Browder,et al.  Annals of Mathematics , 1889 .

[8]  M. Schroeder Number Theory in Science and Communication , 1984 .

[9]  Cristopher Moore,et al.  Computational Complexity and Statistical Physics , 2006, Santa Fe Institute Studies in the Sciences of Complexity.

[10]  Stephan Mertens Computational complexity for physicists , 2002, Comput. Sci. Eng..

[11]  Harvey Gould,et al.  An introduction to computer simulation methods , 1988 .

[12]  M. Mézard,et al.  Spin Glass Theory and Beyond , 1987 .

[13]  Stuart A. Kauffman,et al.  ORIGINS OF ORDER , 2019, Origins of Order.

[14]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.