r/ProgrammerHumor • • Oct 29 '26

Meme timeForIPO

Post image
362 Upvotes

146 comments sorted by

View all comments

44

u/InFa-MoUs Nov 01 '26

Did something happen? Did AI figure this one out too?

116

u/draculadarcula Nov 01 '26 • Bravo

AI found out a solution to 3 SAT slower than polynomial time but faster than exponential time. 3 SAT is a problem all NP problems can be converted to, meaning the likelihood that P == NP is slightly more possible than previously thought

43

u/m3t4lf0x 29d ago edited 29d ago

While it’s true that every NP-complete problem can be reduced to 3-SAT, there is overhead in that “conversion” that can turn a polynomial subexponential solution into a superpolynomial an exponential solution

That’s part of the subtleties with this problem that get lost in the media hype

The proof itself makes it clear that NP problems with no known linear sized encodings still lack a subexponential time solution

The overwhelming majority of academics still believe P != NP, but this is still startling and has important implications for a lot of the so called “fine structure” results of complexity theory

ETA: made a gaffe in the beginning

19

u/LoloXIV 29d ago edited 29d ago

While it’s true that every NP-complete problem can be reduced to 3-SAT, there is overhead in that “conversion” that can turn a polynomial solution into a superpolynomial solution

This is not true. The Cook-Levin-Theorem gives a reduction from every NP-problem (including NP-complete problems) to 3-SAT that only increases the instance size by a polynomial factor and runs in polynomial time. Since poly(poly(x)) is itself a polynom (with degree at most d1 + d2 where d1, d2 are the degrees of the two polynoms), any poly-time algorithm for 3-SAT also implies a polytime algorithm for every NP-problem. That is what makes NP-complete problems so interesting.

The polynomially increased instance size after the reduction is only a problem for subexponential or slower runtimes (depending on the definition), which can be bumped up to a higher class by the instance size increase.

EDIT: In my pedanticism I immediately botched that the combined degree is d1 * d2, not d1 + d2.

8

u/m3t4lf0x 29d ago

Yes my opening remarks were misstated, I’m specifically referring to the exponent in 2^o(N) and how a polynomial time reduction doesn’t automatically preserve subexponential time for any NP-complete problem (which is what the proof calls out)

Secondly, poly(poly(n)) is not d1 + d2, it’s d1 * d2 because the exponents multiply, but the spirit of what you’re saying is correct.

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)

→ More replies (2)

1

u/lobax 29d ago

It disproved the exponential time hypothesis, which if true would have meant P!=NP.

But it didn’t really put us closer to P=NP. If anything, it just made it murkier. Exciting, anyway.

-2

u/InflationCold3591 29d ago

“AI” did not “find” a solution. AI companies convinced a bunch of mathematicians to input their unfinished work into their database and then stoke their work product.

-5

u/LatvianCake 29d ago

Please, just stop

0

u/InflationCold3591 29d ago

Please just understand what a large language model can and cannot do. It can collate and integrate existing data. It cannot do anything more. The code is what it is.

2

u/Rin-Tohsaka-is-hot 27d ago

It can collate and integrate existing data

Laplace's Demon, quoted from Essai philosophique sur les probabilités:

An intellect which at a certain moment would know all forces that set nature in motion, and all positions of all items of which nature is composed, if this intellect were also vast enough to submit these data to analysis, it would embrace in a single formula the movements of the greatest bodies of the universe and those of the tiniest atom; for such an intellect nothing would be uncertain and the future just like the past would be present before its eyes.

Laplace was talking about physics of course, and his idea has been proven false there, but I think it's relevant here. Even if all it's doing is collating data, that's still solving problems. The solution did not already exist if nobody was aware of it, regardless of what information was available.

Attribution is important, and ideally these models would be providing citations wherever possible in whatever work they produce, but it's still novel ideas being presented in these papers.

→ More replies (5)

3

u/LatvianCake 29d ago

2022 called and wants their arguments back. It must be placed next to "it's a glorified autocomplete"

Please define "finding a solution" and "[It cannot do] anything more"

2

u/InflationCold3591 28d ago

You are going to feel really foolish when the bottom finishes falling out because … it is a glorified autocomplete. The underlying code has not changed.

3

u/Existing_Station9336 28d ago

What if all mathematicians ever did was a glorified autocomplete?

1

u/InflationCold3591 28d ago

This question betrays a very fundamental misunderstanding of the difference between computation and mathematical inquiry. Of course, your insistence that a large language model can perform the latter already demonstrated that.

→ More replies (7)

1

u/Duke_De_Luke 28d ago

We are all a bit glorified autocomplete. I am predicting the next token to write just now. The way I get to the next token makes up my reasoning. It's very possible that training a model at predicting the next token with gradient descent generate intelligence in a way we are not able to fully understand, let alone explain.

https://samuelfitoussi.com/posts/why-next-token-prediction-leads-to

→ More replies (3)

1

u/Duke_De_Luke 28d ago

Stochastic parrot

1

u/Duke_De_Luke 28d ago

Cannot generalize out of distribution

→ More replies (1)
→ More replies (2)