r/compsci • Algorithmic Evangelist • 1d ago

A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem

https://eprint.iacr.org/2026/3020
273 Upvotes

42 comments sorted by

50

u/Remarkable-Goat-123 1d ago

Isn't this the problem that would break cryptography if solved in polynomial time?

18

u/beeskness420 Algorithmic Evangelist 1d ago

Yeah an efficient discrete log would be bad for a lot of cryptography.

81

u/UncleMeat11 1d ago

This is subexponential, not polytime.

39

u/PersonalityIll9476 23h ago

Even polynomial isn't necessarily a problem if it's ngoogol

1

u/UncleMeat11 1h ago

This is true but we really aren't aware of too many polytime algorithms with very large exponents that weren't specifically constructed to be that way.

1

u/PersonalityIll9476 53m ago

Sure, and we aren't aware of any low degree polytime algorithms for factorization, either.

We're talking specifically about a problem in that grey zone where your intuition about the typical does not apply.

-33

u/Ginger_1977 23h ago

True. But if you find a googol * ngoogol algo, you will eventually find small * nsmall.

Similarly if you find exp(n0.5) you will eventually find exp(nsmaller)

14

u/mathematics_helper 19h ago

Sure find a matrix multiplication algorithm smaller than n2.25

Since you should know thats impossible (since openAI proved it) you should realize how bad your srgument is.

I still want if p≠np, i want it to be discovered that its a linear algorithm with a constant added term of bb(20) as its lower bound. Just because it would be hilarious.

0

u/Ginger_1977 19h ago

Was it always n to 2.25 or was it previously a larger exponent?

9

u/mathematics_helper 19h ago

It was conjectured to be 2 originally. openAI proved that n2.25 was an upper bound in October and recently proved it is also a lower bound.

1

u/snet0 1h ago

Somewhat unrelated, but could you explain why it's still phrased as being both an upper and lower bound, rather than just the value itself? Is there something in that that is meaningfully different from just "the exponent is 9/4"? Or is it just to separate the two different proofs?

1

u/mathematics_helper 1h ago

In October open ai found an algorithm that is O(n2.25 ) this made it an upper bound (as there still could have been an algorithm faster)

In November (recently) open ai released a paper that showed any algorithm faster than O(n2.25 ) cannot represent matrix multiplication and thus is a lower bound. The paper then quoted the previous result in October to make the final conclusion that matrix multiplication IS O(n2.25 ). Which is why it has the title of "matrix multiplication exponent IS 9/4".

The reason I say proved a lower bound is because that is how the paper showed it has an exponent 9/4

25

u/Johalternate 23h ago

That's not how it works. You will eventually find a limit, but that limit could be n^googol or a lower but comparably insane value.

1

u/big_hole_energy 20h ago

There are barely any non-linearish algorithms for which we provably know that their runtime is optimal, so while huge polynomial exponent is impractical it would start global manhunt to find something better because a proof of limit will be extremely hard.

5

u/StrikingHearing8 20h ago

Just because a proof doesn't exist doesn't mean that it can go down arbitrarily.

9

u/arnet95 19h ago

That's not true. A straightforward corollary of the Time Hierarchy Theorem is that there are problems with an O(ngoogol) algorithm but not an O(ngoogol-1) algorithm.

1

u/Aedan91 16h ago

What? How? What?

15

u/Remarkable-Goat-123 23h ago

Yeah yeah, I can appreciate the difference

6

u/Masticatron 21h ago

They showed no confusion on this point.

5

u/necroforest 21h ago

being in P would be a necessary condition, it would still need to be reasonably efficient.

2

u/Gastmon 20h ago

There could also be an exponential-time algorithm with a ridiculously good constant.

5

u/NullOfSpace 20h ago

Even a really small constant could be beaten by just making the input size double or triple. That’s the power of exponentials.

1

u/slaymaker1907 17h ago

I know the best complexity multiplication algorithms basically never get used because the constants are so bad that it won't beat out the "slower" algorithms for any reasonable input.

39

u/SecretCombo21 23h ago

So is this the result that got distorted into those rumors about P = BQP?

18

u/Plappedudel 22h ago edited 19h ago

Hopefully not? If so, that would just show how clueless some people are about complexity classes. At this point, complexity of both discrete logarithm and factorization is still totally unclear apart from there now being a proof that the former isn't in EXPTIME. How people get from that to P=BQP is beyond me.

Edit: I've been told there's a proof of subexponential factorization as well. I think that's fantastic. Both of these results are very impressive. But they say nothing about P vs. BQP since subexponential and polynomial are far from identical.

5

u/math1985 20h ago

The latter neither, that was proven a few days ago by Google.

https://getaibook.com/news/google-cogentic-six-papers-unconditional-factoring-lean/

1

u/BullockHouse 22h ago

Maybe, but maybe not. A lot is happening right now. 

27

u/troelsbjerre 23h ago

Yay, instead of b in the exponent, we get b/sqrt(log log b). I'm guessing the constants involved front are such that for this to be faster, the key wouldn't be representable within the known universe.

14

u/kbr89 19h ago

Two things in the abstract matter more than the title.

  1. It's conditional. The result assumes the "Cauchy-Hermite Boolean tensor contraction construction" from OpenAI (October 2026). Given that, the algorithm is deterministic, uses zero random bits, and needs neither GRH nor smoothness heuristics. The abstract's baseline for deterministic algorithms without hypotheses is p^(1/2+o(1)), so that part is a real jump.
  2. The bound is subexponential, but only barely: 2^O(b/sqrt(log log b)) time and 2^O(b/(log b)^(1/4)) space, with b the bit length of p. That is p^o(1), yet for F_p* it is still far above what randomized algorithms already do: index calculus with rigorous proofs runs in L_p[1/2], roughly 2^O(sqrt(b log b)), and the number field sieve heuristically gets L_p[1/3]. So for prime fields the gain is determinism without hypotheses, and the speed stays far behind.

The abstract also says Las Vegas subexponential algorithms for elliptic curve discrete log came out after the ETH refutations (Akshima et al. and Kaarelson). So on curves this paper removes the randomness; subexponential time was already there.

1

u/Longjumping_Apple753 17h ago

thank you! took me a bit to realize. Else, dividing the exponent by √(log log b) feels like that inverse-Ackermann removal paper -- galactic algorithm or a constant factor for anything practical.

8

u/Deweydc18 22h ago

I’d say that’s this week’s paper of the decade but nowadays it’s more like today’s paper of the decade

2

u/ProjectRevolutionTPP 21h ago

Is this another galactic function?

2

u/ChiaraStellata 7h ago

Very much so. This algorithm is deterministic but is considerably worse than Pollard rho on average for all practical inputs. It falls back to brute force for inputs under like 10^25 digits. Even asymptotically it only improvements the exponent to b/sqrt(log log b) and for all practical values of b, sqrt(log log b) is gonna less than 2.

1

u/phage4104 9h ago

That's an insane discovery

1

u/david-1-1 2h ago

Does this mean that elliptic encryption no longer works? The other comments indicate that there is no such worry.

-9

u/VanderSound 23h ago

Crypto will break

-1

u/woShame12 23h ago

If not AI, then Quantum

12

u/so_zetta_byte 22h ago

Post-quantum cryptography exists. There isn't some grand mystery around it. We know what will break and what won't. And infrastructure is already starting to prepare.

2

u/beeskness420 Algorithmic Evangelist 21h ago

Going forward there are solutions. Not sure what the solution is for all the backed up data that already exists using old encryption.

2

u/Cerise_Pomme 19h ago

Not totally disagreeing with you here, but, Post-quantum cryptography isn't immune to quantum, there may be algorithms that make them easier, they are just algorithms that are known to not contain any vulnerabilities. They are resistant only, quantum is still a volatile domain.
So we don't really know what won't break, just what will.

1

u/woShame12 13h ago

As someone who who works in this area, companies are behind even before thinking about "harvest now, decrypt later". Migration is not a simple process and the first cryptographically relevant quantum computers are likely 3 or 4 years out.