P vs. NP resistant problems - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-25T00:08:45Z http://mathoverflow.net/feeds/question/57848 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/57848/p-vs-np-resistant-problems P vs. NP resistant problems Stanley Yao Xiao 2011-03-08T16:06:22Z 2011-03-09T19:11:42Z <p>According to Stephen Cook on wikipedia, <a href="http://en.wikipedia.org/wiki/P_versus_NP_problem" rel="nofollow">http://en.wikipedia.org/wiki/P_versus_NP_problem</a></p> <p>...it would transform mathematics by allowing a computer to find a formal proof of any theorem which has a proof of a reasonable length, since formal proofs can easily be recognized in polynomial time. Example problems may well include all of the CMI prize problems. </p> <p>This opinion seems to suggest that if in fact P = NP, then even the most notoriously difficult problems in mathematics would be essentially trivialized. So I am wondering are there any problems that are resistant to becoming 'easy' even if P = NP? For example, according to Cook, none of the seven Clay Mathematics Institute Millennium problems is an example of this.</p> http://mathoverflow.net/questions/57848/p-vs-np-resistant-problems/57879#57879 Answer by Gil Kalai for P vs. NP resistant problems Gil Kalai 2011-03-08T20:33:54Z 2011-03-09T19:11:42Z <p>Maybe I should start by saying that the quote from Cook is convincing. If a useful polynomial time algorithm for NP complete problem will be found then a computer will be able to give us quickly proofs for theorems (admitting not too long proofs) that we are interested to prove (and may eventually prove), as well as much harder questions that we are uninterested to prove and it seems that we will never be able to prove. (Is the shortest proof of FLT has an even number of characters?) This automatic ability to prove may lead to much more understanding of mathematical theorems and phenomena. We can explore if a specific direction to a proof works, try all sort of lemmas. explore surprising connections, etc. This picture gives good reason to believe that $P \ne NP$ but there are even better reasons for that.</p> <p>There are various reasons to believe that $NP \ne P$ and indeed one reason is that various tasks that look intractable will immediately look much easier compared to what we experience and expect. The connection with proving specific mathematical theorems looks artificial from various reasons. Usually, to transform a mathematical task into a decision problem to which the NP=?P problem is relevant we need to add a statement like "Is there a proof for RH with less than n pages". This addition makes the original problem much harder. We have a proof for FLT but probably we will never be able to answer the question "what is the smallest number of characters in a proof of FLT?". Fortunately we find the later question uninteresting. So overall Cook's statement can be seen as a provocative agument for why $NP \ne P$, which has some merit, But I dont think it offers any useful connection,</p> <p>One argument against the connection of real life mathematical proofs and the NP/P gap goes as follows. The NP/P problem is about the effort needed to find a proof compared to the effort needed to verify a proof. Now think about ourselves as computational devices and about this gap for cases of proven theorems. Try to estimate the amount of effort that it takes <strong>you</strong> to verify a proof which capture n journal pages (or n words) compared to finding such a proof. Is it superlinear in n? more than Quadratic in n? This gap (sometimes referred to as the creativity gap) does not seem similar to the gap between finding a proof and verifying a proof in the NP/P theory (say, the gap between finding a hamiltonian cycle in a large graph or verifying that a certain list of vertices and edges form a Hamiltonian cycle.) We can also talk bout the human effort needed to produce an n-page (or n characters) proof. This effot is on average (for cases of success) probably monotone in n, perhaps superlinear in n but there is no reason to expect it to be exponential in n. </p> <p>Just to make the main point clear: Deciding mathematical problems including famous ones appears to be <strong>by far easier</strong> than solving NP-complete problems, and therefore the $NP \ne P$ by itself seems to offer little explanation for the difficulty in solving mathematical problems. But computational complexity insights do give some understanding of this difficulty. </p> <p>You could have asked a similar question about computability. </p> <p>Does the fact that there are mathematical statements that are undecidable give some explanation why some mathematical conjectures are so hard to prove? (Well, it gives some indirect explanation of a sort, but not a real useful connection.)</p> <p>It is an interesting question why proving mathematical conjectures does not seem to be computationally intractable at least for surprisingly many cases where people succeeded. (Also undecidability enters the scene rather rarely.) I am not aware of a very good answer to this question. It may have something to do with what we regard as "interesting" in mathematics, to the nature of mathematical understanding, and to the highly structured nature of mathematical problems. </p> http://mathoverflow.net/questions/57848/p-vs-np-resistant-problems/57884#57884 Answer by Thierry Zell for P vs. NP resistant problems Thierry Zell 2011-03-08T21:44:22Z 2011-03-08T22:27:15Z <p><strong>Preamble:</strong> I'm going to make this CW, since there is a good chance that I will misrepresent the exact argument, since I'm working mostly from what I've read here. If you see something in need of fixing, <strong>please</strong> take advantage of the CW mode.</p> <p>In particular, most of what I am writing about already appears in Andreas Blass's answer linked below in some form or another, I'm just rewriting it in an attempt to cross some t's and so on.</p> <h2>The Answer</h2> <p>The argument in <a href="http://mathoverflow.net/questions/47954/is-pnp-relevant-to-finding-proofs-of-everyday-mathematical-propositions/48081#48081" rel="nofollow">this answer </a> runs as follows: fix yourself a length for your target proof, $n$. Then if $P=NP$, you will be able to tell in polynomial time whether your statement has a proof of length at most $n$, because that's an $NP$ kind of statement (here, I find it really helpful to think of $NP$ in terms of existential quantification). So $P=NP$ would not be enough to know if there is a proof of <strong>any</strong> length, but presumably if the proof length is very long, you can't really claim to understand it (think four color theorem). On the other hand, if you know there is a short proof, you might be tempted to find it exhaustively. (And, as Andreas Blass points out in the answer I linked to, this would give you the first available proof in some lexicographical ordering, not necessarily the most enlightening one.)</p> <p>[<strong>Added:</strong> As Daniel Litt points out in the comments, having the program terminate with a "Yes" is enough to prove that the theorem is true. I still imagine we might want a more explicit proof, though obviously this is just an opinion and <a href="http://www.math.rutgers.edu/~zeilberg/OPINIONS.html" rel="nofollow">others</a> definitely disagree.]</p> <p>Note that this ought to apply to <strong>any</strong> statement that you can formalize, so the answer to your original question would be more or less "No", there are no truly hard statements, just some that have longer shortest proof than others. (That should include statements for which the shortest proof is astronomically long, by the way, but again, those are beyond comprehension.)</p> <h2>Why I don't really buy it</h2> <p>[<strong>Added:</strong> The quote says that this possibility <em>...would transform mathematics</em>, but I don't really imagine that it would revolutionize the way we do mathematics in the short term, for the reasons explained below.]</p> <p>I've played fast and loose with the setting so far, and this is where I believe the statement is a lot weaker than it appears at first. The way I see it, there are two ways of going about this:</p> <ol> <li>Encode your theorem and proof in some fixed axiom system. But then, your proof may have to contain a huge chunk of already-known mathematics. So you would have to pick a very large $n$, which is unproductive since you're only interested in a very long proof with very little that's new.</li> <li>Find a way to encode in "currently known mathematics" if possible. On top of the massive overhead that it implies, the biggest issue I see is that your answer would just be a snapshot at time T. You might not be able to write a proof of GRH in 30 pages in 2011, but in 2012, you will have hundred of thousands of pages of fresh math that you can use but don't have to count against your own page total.</li> </ol> <p>That's why I don't see Cook's argument as having a real practical impact, cute as it may be. If I'm overlooking something major, please don't hesitate to correct this. Again, computational complexity is not really my field.</p> http://mathoverflow.net/questions/57848/p-vs-np-resistant-problems/57936#57936 Answer by none for P vs. NP resistant problems none 2011-03-09T09:42:10Z 2011-03-09T09:42:10Z <p>Richard Borcherds gave an example in another thread, of a statement that is (almost) obviously true, but very hard to prove: chess is not a forced win for black. The issue is that (generalized) chess is PSPACE-hard (formalizing the idea of a forced win requires(?) a series of alternating quantifiers, one for each move), and showing a forced win or draw for either side would seem to require surveying the entire game tree which is enormous. So this is almost certainly outside NP. (On the other hand, even P != PSPACE is still unknown).</p>