Live data from Hacker News

Ask HN: If P = NP, what does it mean?

news.ycombinator.com

31–37 of 37 posts

Re: Ask HN: If P = NP, what does it mean?

#31
post #27
post #26

Earlier quoted context omitted.

A problem harder than NP would not even be verifiable in polynomial time, which I believe would limit their practicality.

If it was verifiable in NP time, and P = NP, then wouldn't it also be verifiable in polynomial time?

but wouldn't it be just plain NP then

Re: Ask HN: If P = NP, what does it mean?

#32
post #4

It could mean that certain problems which are known to be "difficult" (cryptography, factoring multiples of primes, traveling salesman, bin-packing, etc.) may not be inherently "difficult" and may have solutions (yet to be found) which can solve the problem in polynomial time. There are many things built on top of the fact that certain types of problems are not easily solvable - cryptography being the most obvious -…

> The way I like to think about NP is: are there certain types of problems which we, as smart as we might be, cannot easily solve, not because we aren't smart enough but because of the nature of the problem itself?

That's not entirely accurate. There are many problems that are untractable (i.e. can't solve them because of the nature of the problem) but have nothing to do with P=NP. Consider the halting problem, for instance.

Re: Ask HN: If P = NP, what does it mean?

#33
post #11

Earlier quoted context omitted.

You are right, I confused NP with NP-hard. However, I think it's safe to assume that if a polynomial solution exists for a NP-hard problem, the complexity wouldn't be so incredibly high than it's better to use heuristics.

> I think it's safe to assume that if a polynomial solution exists for a NP-hard problem, the complexity wouldn't be so incredibly high than it's better to use heuristics. How is this possibly safe to assume? The “heuristic” methods aim for a “good enough” solution rather than “the best solution”. Whyever would a polynomial time algorithm for exactly solving an NP-hard problem be faster than polynomial time “heuristi…

I felt exactly the same way. I personally think (which is worth next to nothing of course) that if it's ever proven that P=NP (unlikely), the results will be mostly impractical.

Re: Ask HN: If P = NP, what does it mean?

#34
post #27
post #26

Earlier quoted context omitted.

A problem harder than NP would not even be verifiable in polynomial time, which I believe would limit their practicality.

If it was verifiable in NP time, and P = NP, then wouldn't it also be verifiable in polynomial time?

"NP time" doesn't mean anything. NP problems are verifiable in polynomial time.

Re: Ask HN: If P = NP, what does it mean?

#35
post #4

It could mean that certain problems which are known to be "difficult" (cryptography, factoring multiples of primes, traveling salesman, bin-packing, etc.) may not be inherently "difficult" and may have solutions (yet to be found) which can solve the problem in polynomial time. There are many things built on top of the fact that certain types of problems are not easily solvable - cryptography being the most obvious -…

Thanks for the explanation. I'd glanced at the article; didn't immediately 'get' it and didn't feel I had time to read further.

Re: Ask HN: If P = NP, what does it mean?

#36
post #4

It could mean that certain problems which are known to be "difficult" (cryptography, factoring multiples of primes, traveling salesman, bin-packing, etc.) may not be inherently "difficult" and may have solutions (yet to be found) which can solve the problem in polynomial time. There are many things built on top of the fact that certain types of problems are not easily solvable - cryptography being the most obvious -…

> The way I like to think about NP is: are there certain types of problems which we, as smart as we might be, cannot easily solve, not because we aren't smart enough but because of the nature of the problem itself? That's not entirely accurate. There are many problems that are untractable (i.e. can't solve them because of the nature of the problem) but have nothing to do with P=NP. Consider the halting problem, for i…

There are many problems that are untractable (i.e. can't solve them because of the nature of the problem) but have nothing to do with P=NP

Can you elaborate some more on this? I'd like to learn more about this area. Are you referring to problems for which no polynomial time solution exists, and there is also no polynomial time method for verifying a solution?

Re: Ask HN: If P = NP, what does it mean?

#37

Earlier quoted context omitted.

> The way I like to think about NP is: are there certain types of problems which we, as smart as we might be, cannot easily solve, not because we aren't smart enough but because of the nature of the problem itself? That's not entirely accurate. There are many problems that are untractable (i.e. can't solve them because of the nature of the problem) but have nothing to do with P=NP. Consider the halting problem, for i…

There are many problems that are untractable (i.e. can't solve them because of the nature of the problem) but have nothing to do with P=NP Can you elaborate some more on this? I'd like to learn more about this area. Are you referring to problems for which no polynomial time solution exists, and there is also no polynomial time method for verifying a solution?

I was merely responding to your sentence:

> The way I like to think about NP is: are there certain types of problems which we, as smart as we might be, cannot easily solve, not because we aren't smart enough but because of the nature of the problem itself?

If you read it one way, it sounds as if P=NP would allow us to solve every formal problem. It doesn't. One very interesting example:

The concept of Kolmogorov Complexity. I'm not a CS theorist, so I can only give my layman interpretation, but if I understand it well it goes like this: given a particular string of bits, the Kolmogorov Complexity relates to the shortest possible program that can describe this string. In effect, that means: the ultimate compression. Well, the whole theory of KC says that you can't find this shortest possible program for every string. Not because it takes too much time to check very possible combination (P=?=NP) but because of the nature of the problem.

Post reply on HN