logoalt Hacker News

cowlevel • yesterday at 11:23 PM • 2 replies • view on HN

> P being in NP would be shocking enough on its own terms

P is definitely, trivially, in NP. You may have confused them for each other.

If any NP-complete problem is in P, then so is all of NP, because they can all be reduced to it. Out of the non-NP-complete problems, many of them are in NP but not in P, because it would immediately follow that P != NP and I would've heard about that. If we proved that one was in P, that would just mean that problem was in P.

So the only interesting proofs are either that some NP-complete problem is in P (proves P==NP) or that some NP problem, whether NP-complete or not, isn't in P (proves P!=NP).

And yes, everyone sane expects P!=NP, the alternative doesn't make much sense. It just hasn't been proven.


Replies

jerf • yesterday at 11:38 PM

Thinko. I got it right later in the post.

Many sane people think P = NP. I am not aware of a survey that asks them how complicated the reduction might be, though. I do think a number of them believe and/or are concerned that we could end up with a non-constructive proof that NP is in P, which at least mathematically is arguably the worst possible outcome.

I think a lot of people would agree that naively it is obvious that P != NP. But if you spend time in the algorithms would you see your intuition about what the lower bound of some problem must be shattered over and over again, and the naive confidence gets shaken.

dlubarov • yesterday at 11:33 PM

I think your last sentence is a bit strong. Knuth for example suspects P = NP, and has some fairly reasonable arguments against the notion that if all these well-known problems had polynomial-time solutions, we would have found one by now.

➕ show 1 reply