Remix.run Logo
▲ kenjackson 2 hours ago

Indeed. This was one of the first things I threw at GPT3. P vs NP is one of those rarer results where while everyone assumes they aren't equal, actually proving it will likely be practically important.

▲adamrezich 2 hours ago | parent | next [-]

Can you explain why? Without a heavy CS/math background, it's more intuitive to me that P≠NP unless proven otherwise, such that a P=NP proof would be an incredible discovery, but a P≠NP proof would merely reinforce what is already the status quo. What is it that I'm missing?

▲cwillu 2 hours ago | parent | next [-]

There are significant no-go theorems about what a proof of P≠NP can look like, such that we didn't (at least as of a few years ago) know what a proof would even look like: all the known techniques were proven to be insufficient; generally in forms like “if this technique worked to prove P≠NP, then the technique could also be used as part of an algorithm to solve NP-hard instances in P time.” See Relativization and Algebrization.

As such, any proof would necessarily involve new breakthroughs rather than merely the exhaustive application of existing techniques.

▲rtpg 33 minutes ago | parent | next [-]

do you have any pointers to papers/explainers of that flavor? I'm always pretty fascinated with these sort of roundabout proofs that end up being a bit "meta"

▲cwillu 7 minutes ago | parent [-]

Scott Aaronson's Algebrization paper is pretty approachable: https://www.scottaaronson.com/papers/alg.pdf

And his broad survey article on P?=NP covers other barriers: https://www.scottaaronson.com/papers/pnp.pdf

▲dataflow an hour ago | parent | prev [-]

> if this technique worked to prove P≠NP, then the technique could also be used as part of an algorithm to solve NP-hard instances in P time

Wait, what? I'm confused. How could something prove P != NP and also prove you can solve NP-hard in P? Wouldn't that just make it a self-contradiction?

▲cwillu 3 minutes ago | parent | next [-]

IIRC, the gist is that a technique needs to be able to state why some instances are easy and others are hard,

From the survey paper I linked in a different reply:

“But now, twisting the knife, Razborov and Rudich point out that any natural lower bound proof against a powerful enough complexity class would be self-defeating, in that it would yield an efficient algorithm to solve some of the same problems that we’d set out to prove were hard.” --https://www.scottaaronson.com/papers/pnp.pdf

▲stouset an hour ago | parent | prev | next [-]

No, that’s exactly why this is a proof that these techniques can’t work. If they worked, they could be used to contradict their conclusions. Therefore they can’t work.

▲vlovich123 an hour ago | parent | prev [-]

Probably precisely how they show that technique is insufficient for proving P!=NP if I’m reading it correctly

▲saghm an hour ago | parent | prev | next [-]

It's worth noting that it may or may not even be provable, even if it's true. From Gödel's first incompleteness theorem, there are always some things that are true within a consistent system that can't be proven.

▲nh23423fefe an hour ago | parent [-]

That would just push the goal to an independence proof

▲Chinjut 32 minutes ago | parent | next [-]

"How would that work? If it's true but unprovable, it can't be independent - its falsity would be inconsistent." –thaumasiotes

If X is unprovable, its falsity isn't inconsistent. Being inconsistent isn't the same as being incorrect.

▲thaumasiotes 36 minutes ago | parent | prev [-]

How would that work? If it's true but unprovable, it can't be independent - its falsity would be inconsistent.

▲0xdeafbeef an hour ago | parent | prev | next [-]

It can be equal, but have something like O(n*10000*10) complexity(still polynomial). Or there must be an algorithm for all the problems, but no algorithm to find it :)

▲bawolff 3 minutes ago | parent | next [-]

It could be, but i think having it be a huge exponent polynomial would actually be the most shocking and most interesting of all possibilities (esp. if constructive).

▲pocksuppet 20 minutes ago | parent | prev [-]

> It can be equal, but have something like O(n1000010) complexity(still polynomial). Or there must be an algorithm for all the problems, but no algorithm to find it :)

Finding an algorithm for any NP-complete problem would solve all of them at once. Finding an algorithm for any NP-incomplete problem would just prove that specific problem is actually in P.

▲davelaing an hour ago | parent | prev [-]

One of the things I'm excited about is seeing what proof techniques would get used in a P != NP result.

There are a bunch of results that show that you can't separate P and NP using certain classes of proof techniques, and so seeing how an eventual proof tiptoes around that would be interesting.

▲ignoramous 2 hours ago | parent | prev [-]

> This was one of the first things I threw at GPT3. P vs NP is one of those rarer results

Interesting you pursued it. From what I remember, GPT 3.x had a hard time counting number of Rs in "Strawberry".

▲IncreasePosts an hour ago | parent [-]

That type of task is unlikely to be present in any proof

▲taylorfinley an hour ago | parent | next [-]

Replying to the sibling comment: even gpt 3 could write python to count the Rs in strawberry. The model's confusion counting them directly is an artifact of the way tokenization works. Working toward a proof it would not be likely to encounter a similar task where the pre-tokenization form of the tokenized string matters.

▲socialcommenter an hour ago | parent | prev [-]

???

"We have narrowed the problem space down to three cases. We shall call them Case 1 and Case 2."

▲timschmidt an hour ago | parent | next [-]

No one's answered your question seriously yet, so here goes: "Case 1" and "Case 2" are different sets of tokens an LLM would have no trouble counting. "Strawberry" reduces to just a token or three, which obfuscates the count of each individual letter.

▲cma 18 minutes ago | parent | prev [-]

The strawberries thing was more like asking someone who has only ever seen Chinese characters (tokens of word chunks etc.) and not the letters to count the letters. There were some ways it had seen the letters for some words, like if it had seen strawberry = ["s", "t", "r", ...] in Python somewhere, but probably didn't have full coverage of lots of words like that, or it possibly could see from some multimodal image stuff.

Could you do good at counting letters in words without ever seeing them?

I agree GPT-3 was way too weak for this math problem though.