Remix.run Logo
▲ incognito124 6 hours ago

Could this be dowstream from GRH? Like, if you found a neat way to sample primes (which I understand is the consequence), I guess you could O(lg n) your way out of the problem of factorization. Happy to be corrected

▲openasocket 5 hours ago | parent | next [-]

Unlikely. There’s already a ton of algebraic number theory work that has been done assuming GRH is true, so it’s not like there’s a bunch of immediate consequences of GRH that haven’t already been explored

▲josh-sematic 4 hours ago | parent [-]

But what if the proof of GRH produced some novel intermediate results that turn out to be useful for doing polynomial prime factoring? That could explain why this is happening shortly after that proof was released.

▲scythmic_waves 4 hours ago | parent | prev | next [-]

(Software engineer with a BS in math. Happy to be corrected too!)

I don't think so. The best-known algorithmic consequence of GRH is that it makes the deterministic version of Miller–Rabin (the Miller test) provably correct [1]. That result isn't even ground-breaking: we've had a deterministic polynomial-time primality test since 2002 [2]. But more the the point, primality tests don't help with factoring. They only tell you whether N is prime or composite. But if N turns out to be composite, primality tests don't tell you _which_ primes divide N. No known factoring algorithm reaches polynomial time even assuming GRH.

If you're trying to understand what RH is about, here's a rough analogy. Treat the number of primes below N as if it were a random quantity that follows a bell curve. We've known for a long time what the mean (middle) of the bell is: roughly N/ln(N) [3]. What we didn't know was what the variance (width) of the bell is. RH says the bell curve is as narrow as it can possibly be: roughly √N times a log factor.

Unfortunately, I don't think I can make the above analogy more precise without introducing a lot more mathematics.

[1]: https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality...

[2]: https://en.wikipedia.org/wiki/AKS_primality_test

[3]: https://en.wikipedia.org/wiki/Prime_number_theorem

▲incognito124 3 hours ago | parent [-]

Hi, thanks for your response! It was informative.

I actually imagined something more-or-less opposite of what you suggested. What I originally had in mind is that GRH helped with a closed form expression for all primes, like f(1)=2, f(2)=3 etc. This would allow you to generate potential candidates for n and e quickly, which you could then presumably also test quickly.

▲inkysigma 3 minutes ago | parent [-]

Suppose you had the ability to get the kth prime in constant time. The number of primes below x is roughly x/log(x) by PNT so for b bits it’s 2^b/log(2^b) = 2^b / b. Thus you would have to check exponentially many divisors. You can reduce this by only checking up to sqrt(x) but this would still be exponential in the number of bits.

Naively, this is why if GRH doesn’t lead to factoring in P, the proposal doesn’t work without significantly more ideas to improve the factoring.

▲ 6 hours ago | parent | prev [-]
[deleted]