r/ProgrammerHumor • • Oct 29 '26

Meme timeForIPO

Post image
361 Upvotes

146 comments sorted by

View all comments

Show parent comment

27

u/aDogCalledSpot 29d ago edited 29d ago

slower than polynomial time but faster than exponential time

I don't know what this is supposed to mean so I looked it up. The new algorithm completes in 1.307n, improving on the previous runtime of 1.32n. It's still exponential.

EDIT: this is from a different publication from a few months ago. Check the other responses for a more correct view.

24

u/Eisenfuss19 29d ago

2n/log(n) is strictly smaller than O(bn) for any b > 1

Sadly we don't have a good name to call this complexity class, but it is smaller than exponential but bigger than polynomial.

7

u/m3t4lf0x 29d ago

1.307^n is a different result from the PPSZ family of randomized SAT algorithms, not the recent proof

That paper was originally published in July but recently updated around the same time as the OpenAI proof last week so a lot of “sources” (cough AI summaries cough) might be conflating them

4

u/aDogCalledSpot 29d ago

Oh thanks for clearing it up. I did a quick Google since there weren't any source provided in the the thread anywhere here. Will correct my comment.

2

u/m3t4lf0x 29d ago

No worries! Thanks for your kind response

4

u/gilad507 29d ago

Are you sure? I saw the claim was something like 2n/sqrt(logn) which is 2o(n) and cannot be expressed with a different base.

4

u/m3t4lf0x 29d ago

Pretty sure you’re correct, the exponent is n / sqrt(log n)

0

u/draculadarcula 29d ago

This is not what I read it was some massive improvement especially at large inputs, the point being that algorithms that we had optimized for almost 30 years can actually be much faster, practically, which gives some semblance of hope to the idea that maybe, just maybe p == np

2

u/StCreed 29d ago

You read something different then. This optimisation for 3SAT only makes a difference above Googol (10 ^ 100 and change), apparently, because of the larger constant.