Skip to content

Relaxing the Primes

April 6, 2021


Although the prime numbers are rigidly determined, they somehow feel like experimental data—Tim Gowers

Finnish Scientific Courage Award source

Kaisa Matomäki is a Finnish mathematician working in number theory. She has some terrific results on prime numbers—results that have won several important prizes including the 2021 Ruth Lyttle Satter Prize: It is presented to a woman who has made an outstanding contribution to mathematics research. The prize citation specifically mentions a 2015 paper with Maksym Radziwill that contributed to Terence Tao’s resolution of the Erdős discrepancy problem—and indeed we highlighted Tao’s followup work with her and Radziwill in our 2015 post on this.

Today, Ken and I thought we would combine one of her new deep theorems with some shallow observations.

The set of primes is denoted by {\mathsf{PRIMES}}, as usual. As complexity theorists we have known that for decades that the Boolean circuit complexity of {\mathsf{PRIMES}} is polynomial. This follows from the existence of a polynomial random algorithm for {\mathsf{PRIMES}} due to Robert Solovay and Volker Strassen, and then applying Len Adleman’s connection between such algorithms and Boolean circuit complexity.

Matomäki views {\mathsf{PRIMES}} in a different way. As an analytic number theorist she is concerned with the density and structure of primes, not so much the complexity of recognizing or generating a prime.

Relaxations

Exact results on the set of primes are hard to come by.

Twin Primes: We know that there are infinitely many {p} such that {p} and {p+2} are prime. But not proved.

Goldbach: We know that every even number from {4} onward is the sum of two primes. But not proved.

Density of Primes: We known that the gap between consecutive primes is at most {\dots} But not proved.

The Riemann Hypothesis attempts to say more about density of the primes than the Prime Number Theorem does. It has been proved equivalent to some statements about approximate growth rates, yet even these forms have not been touched.

Instead of trying for better approximate results about primes, can we learn more by relaxing the notion of “prime” itself? For each {k \geq 1}, define {P_k} to be the set of numbers that are products of at most {k} primes. Then {P_1} is the set of primes (not the prime powers) and {P_2} is the set of products of two primes—which include the Blum integers of special interest to cryptography. Collectively the {P_k} sets represent different levels of being “almost prime.” The motivating question is:

How well and in what ways does the structure of the sets of almost-primes model the structure of the primes?

In 2010, John Friedlander and Henryk Iwaniec wrote a monograph titled Opera de Cribro, which is Latin for “Works of the Sieve.” They proved certain results about {P_{13}} and speculated whether their methods improve them to work at least for {P_3}. Then they say, “It would be interesting to get integers with at most two prime divisors.” This is where Matomäki comes in—with a second kind of relaxing, one applying to “almost all” members of {P_2}.

New Result

Matomäki has a brand new paper (revised two weeks ago from a December original) titled, “Almost primes in almost all very short intervals.” It follows on from a paper by one of her students, Joni Teräväinen, titled “Almost all primes in almost all short intervals.”

Her main result is the following theorem.

Theorem 1 Suppose {h_X \rightarrow \infty} as {X \rightarrow \infty} and put {\Delta_X = h\log X}. Then for almost all {X} and {x \in (\frac{X}{2},X]}, the interval {(x-\Delta_X,x]} contains a {P_2}.

Roger Heath-Brown had established the corresponding result for primes (that is, for {P_1}) but only assuming simultaneously the Riemann hypothesis and the pair correlation conjecture for the zeros of the Riemann zeta function. With no hypotheses, the presence of primes in almost all intervals is known only when the intervals have length {X^{\Omega(1)}}—concretely, {X^{1/20}} is known. Thus, Matomäki has traded off the use of conjectures for the relaxed notion of prime.

The “almost call” is in the sense of average density of {x} whose short interval is populated. This average instead of worst case mirrors our difficulties with circuit lower bounds. We can easily show that on average Boolean function have huge circuit lower bounds. But worst case bounds for specific functions is beyond reach. Hmmm.

Lower Bounds

We previously proved:

Theorem 2 (Lower Bound) For any {\epsilon>0}, the depth of a DeMorgan boolean circuit for {\mathsf{PRIMES}} is at least {(2-\epsilon)\log_2 n + O(1)}.

Recall a DeMorgan formula {F} on {n} variables {x_1,\dots,x_n} is a binary tree whose leaves are labeled with variables or their negations, and whose internal nodes are labeled with either {\vee} for OR and {\wedge} for AND gates.

Here is a high level view of this result. See here for details.

Assume there is a DeMorgan Boolean circuit for {\mathsf{PRIMES}} is at most {(2-\epsilon)\log_2 n + O(1)} depth. We can use the random restriction method to set lots of the inputs to random values {0/1}.

We claim that with high probability the input looks like

\displaystyle  x_1,\dots,x_m, x_{m+1},\dots,x_n.

The right-most bits

\displaystyle  x_{m+1},\dots,x_{n}

are left unset, and the other bits to the left have some bits randomly set. Moreover, the number of bits in the above right is order {n^{\epsilon}}.

Now set all the bits in the left group that are unset also to random values {0/1}. Leave the right group unset.

The point of this is that if we assume that the formula had size at most order {n^{2-\epsilon}}, then we have that the formula is likely to be constant. But this contradicts the density of primes and composites.

Open Problems

Can Matomäki’s theorem be used to get stronger lower bounds on the complexity of {\mathsf{PRIMES}}? Can it go beyond the quadratic limit?

6 Comments leave one →
  1. Sherwin permalink
    April 7, 2021 7:17 am

    Ken, We are looking for advices or collaborations on a physical model of “spatial structures of numbers”, see fx.wm3dao.com. In this model, each prime is an unique spacial structure, otherwise not.

  2. April 7, 2021 9:40 am

    In a related story …

    Riffs and Rotes

  3. Chuck Norris ate complexity in theory permalink
    April 11, 2021 8:05 pm

    I never understand Regan’s writing. Following is out of the world “We claim that with high probability the input looks like

    \displaystyle x_1,\dots,x_m, x_{m+1},\dots,x_n. “.

  4. April 12, 2021 12:40 pm

    Dear Ken,

    I found an earlier note I had written when the subject of generalized primes came up.

    https://inquiryintoinquiry.com/2013/01/28/riffs-and-rotes-1/

    Regards,

    Jon

  5. Craig permalink
    July 18, 2021 2:08 am

    This is one of the most interesting papers I have read in a while. I would not think this would work. http://vigir.missouri.edu/%7Egdesouza/Research/Conference_CDs/IEEE_WCCI_2020/CEC/Papers/E-24289.pdf

Trackbacks

  1. Primes, Primes, Primes – The nth Root

Leave a Reply

Discover more from Gödel's Lost Letter and P=NP

Subscribe now to keep reading and get access to the full archive.

Continue reading