r/programming • • 1d ago

A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem

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

27 comments sorted by

View all comments

Show parent comment

32

u/apnorton 1d ago

Still, it's a weakening that ~9mo ago would have been completely unexpected, right? 

Or were there nondeterministic results that were similar?

52

u/qqqrrrs_ 23h ago

The Function Field Sieve is a nondeterministic subexponential algorithm for discrete log from the 90's, and even faster than the algorithm in the above article

9

u/apnorton 23h ago

Ah, ok. Then I'm significantly less concerned. 😛

5

u/HasFiveVowels 18h ago

But then realize that “NP" stands for "Nondeterministic Polynomial". But still… interesting, not world changing.

1

u/Tysonzero 2h ago

The “nondeterminstic” in NP and the “nondeterminstic” in the above random algorithm are two extremely different forms of non-determinism, the latter is often called “probabilistic” instead.

-1

u/HasFiveVowels 1h ago

That’s a fair point but isn’t that just the difference between a weighted game tree and a randomly selected branch of it? The distinction is fair but they’re also not "extremely different".

1

u/Tysonzero 1h ago

It’s a massive massive difference. An NP style nondeterminstic algorithm lets you take every branch at once using an entirely theoretical “nondeterministic turing machine”, actually running said algorithm in the real world will always be very exponential, hence the search for regular deterministic algorithms that are not. A probabilistic algorithm can and does get run all the time on everyone’s computer in the world as it just relies on a little bit of RNG/PRNG.

0

u/HasFiveVowels 1h ago

Yea, I’m aware. That’s exactly where my metaphor arose from. Consider the paths of an NTM as a decision tree. There’s a quantum connection between the two for which a single branch would be one observation and there’s a significant difference to be considered but they’re not all-together completely different things. One is a sample of the other.

1

u/Tysonzero 1h ago

Quantum analogy seems pretty tenuous, you cannot use a quantum computer to run an arbitrary nondeterminstic algorithm, NP is widely believed to not be in BQP.

1

u/HasFiveVowels 1h ago

Yea, agreed on that point. As soon as I sent it I’m like "but not really" but hoped you got the general idea I was trying to reference

2

u/error1954 8h ago

Is that algorithm probabilistic or nondeterministic?

2

u/Tysonzero 2h ago

Probabilistic.

1

u/error1954 1h ago

Thanks! That's what I suspected but didn't see either when reading through it.

3

u/dashingThroughSnow12 1d ago

🤷I never thought ETH was true and my vague understanding was that it was fairly divided.