can someone explain to me, in layman's terms, P vs. NP

Blaze500

Banned
Joined
Dec 6, 2014
Messages
1,934
Reputation
-2,915
Daps
1,760
what is the "P vs. NP problem" what is P and NP?

its considered the most important open problem in computer science and is one of the 7 millenium prize problems..

can someone in layman terms explain what it is?
 

Spatial Paradox

All Star
Supporter
Joined
May 16, 2012
Messages
2,345
Reputation
1,150
Daps
12,326
Reppin
Brooklyn
P is the set of problems that can be solved fairly quickly by a computer and their answers can be verified quickly (i.e. in polynomial time). NP refers to the set of problems where possible solutions can be checked quickly, but take a prohibitively long amount of time to be actually be solved by a computer for all but the smallest input sizes.

The P = NP problem basically comes down to this question:

"If the answer to a problem is easy to check, is the problem itself easy to solve?"

In other words, it asks if NP problems, which we already know we can quickly check whether answers to them are correct or not, are actually P problems and we simply haven't found polynomial time solutions to them yet.

If you ever take a theoretical computer science course, this topic will definitely come up at some point, likely whenever the subject of computational complexity theory comes up
 

Brosef

I respect O.G. knowledge
Supporter
Joined
Jun 10, 2012
Messages
7,458
Reputation
2,770
Daps
36,835
Reppin
T-Dot
P is the set of problems that can be solved fairly quickly by a computer and their answers can be verified quickly (i.e. in polynomial time). NP refers to the set of problems where possible solutions can be checked quickly, but take a prohibitively long amount of time to be actually be solved by a computer for all but the smallest input sizes.

The P = NP problem basically comes down to this question:

"If the answer to a problem is easy to check, is the problem itself easy to solve?"

In other words, it asks if NP problems, which we already know we can quickly check whether answers to them are correct or not, are actually P problems and we simply haven't found polynomial time solutions to them yet.

If you ever take a theoretical computer science course, this topic will definitely come up at some point, likely whenever the subject of computational complexity theory comes up

:ehh:
 

Blaze500

Banned
Joined
Dec 6, 2014
Messages
1,934
Reputation
-2,915
Daps
1,760
P is the set of problems that can be solved fairly quickly by a computer and their answers can be verified quickly (i.e. in polynomial time). NP refers to the set of problems where possible solutions can be checked quickly, but take a prohibitively long amount of time to be actually be solved by a computer for all but the smallest input sizes.

The P = NP problem basically comes down to this question:

"If the answer to a problem is easy to check, is the problem itself easy to solve?"

In other words, it asks if NP problems, which we already know we can quickly check whether answers to them are correct or not, are actually P problems and we simply haven't found polynomial time solutions to them yet.

If you ever take a theoretical computer science course, this topic will definitely come up at some point, likely whenever the subject of computational complexity theory comes up
do you think this will ever be solved?
 

Spatial Paradox

All Star
Supporter
Joined
May 16, 2012
Messages
2,345
Reputation
1,150
Daps
12,326
Reppin
Brooklyn
do you think this will ever be solved?

I'm not sure. The majority of CS researchers think the answer is P != NP, but no one's proven it one way or the other.

so this is something that would even be more groundbreaking then Einstein's General Relativity if solved

Ehhh, I don't know if I'd say that. But if someone did prove that P = NP, it'd basically result in a revolution in computing.

For example, much of our modern cryptography would probably have to be tossed in the bushes if this were the case, because much of it relies on the fact that currently, factoring huge numbers happens to be an NP problem
 

Blaze500

Banned
Joined
Dec 6, 2014
Messages
1,934
Reputation
-2,915
Daps
1,760
I'm not sure. The majority of CS researchers think the answer is P != NP, but no one's proven it one way or the other.



Ehhh, I don't know if I'd say that. But if someone did prove that P = NP, it'd basically result in a revolution in computing.

For example, much of our modern cryptography would probably have to be tossed in the bushes if this were the case, because much of it relies on the fact that currently, factoring huge numbers happens to be an NP problem

and if I'm correct, to find out if P=NP we have to use "Turing Machines" which i dont know if Alan Turing actually created them, weren't they more of a thought experiment he did?
 
Top