Slashdot Mirror


Claimed Proof That P != NP

morsch writes "Researcher Vinay Deolalikar from HP Labs claims proof that P != NP. The 100-page paper has apparently not been peer-reviewed yet, so feel free to dig in and find some flaws. However, the attempt seems to be quite genuine, and Deolalikar has published papers in the same field in the past. So this may be the real thing. Given that $1M from the Millennium Prize is involved, it will certainly get enough scrutiny. Greg Baker broke the story on his blog, including the email Deolalikar sent around."

40 of 457 comments (clear)

  1. Well, duh by Anonymous Coward · · Score: 5, Funny

    I mean, NP has an N in front of the P. That's obviously not the same as P. Also, P != HP.

    1. Re:Well, duh by Anonymous Coward · · Score: 5, Funny

      I mean, NP has an N in front of the P. That's obviously not the same as P. Also, P != HP.

      If you knew really advanced mathematics you'd know that NP means N times P. So NP does equal P when N=1. But not the rest of the time. Oh and it does when P=0. How much was that prize again?

    2. Re:Well, duh by Peach+Rings · · Score: 5, Informative

      Ohhhh my god, someone modded this insightful.

      P is polynomial time.
      NP is non-deterministic polynomial time.
      They're algorithmic complexity classes.

    3. Re:Well, duh by Anonymous Coward · · Score: 4, Insightful

      Ohhhh my god, someone modded this insightful.

      Okay... sometimes when it's really really really obvious that something's a joke, it's okay to play along and make mock serious follow ups and even *gasp* non-serious moderations. This works on the basis that it's obvious that both the original poster and the modder are joking.

    4. Re:Well, duh by Peach+Rings · · Score: 4, Funny

      I had an unshakable image of some web design "IT guy" who had one forgotten lecture on this subject back in trade school nodding sagely as he thinks he understands what everyone's talking about and reaching for the Insightful moderation.

      I didn't have the benefit of the reassuring Score:5, Funny that you had.

    5. Re:Well, duh by Draek · · Score: 5, Funny

      Funny doesn't give karma, Insightful does.

      At least that's what I tell myself so I can sleep at night.

      --
      No problem is insoluble in all conceivable circumstances.
    6. Re:Well, duh by JoshuaZ · · Score: 4, Interesting

      If "non-deterministic polynomial time" is an actual "algorithmic complexity class' then so is my "anomalous quantum field" which generally intersects with a "temporal phase disturbance."

      So apparently if something sounds technical and you don't know what it is you assume it is nonsense? Non-deterministic polynomial time http://en.wikipedia.org/wiki/NP_(complexity) is a concept is theoretical computer science. The idea is that a set of problems is in NP if when there is a "yes" answer to an example there is a short proof of the answer (where short means the length of the proof and checking its validity is bounded by a polynomial function of the length of the input). For example, the problem "is a given integer n composite?" is in NP because if the answer is yes, one can prove this quickly by simply giving a non-trivial divisor. The other relevant class is P, which are the set of problems which can be answered within time bounded by a polynomial function of the input. One of the great unsolved mathematical problems of our time is whether P equals NP. Roughly speaking, the question asks whether there exist problems which are hard to solve but where solutions can be checked quickly.

    7. Re:Well, duh by daveime · · Score: 4, Funny

      I thought that WAS Godwin's Law ?

      Poland != Nazi (occupied) Poland.

    8. Re:Well, duh by boxwood · · Score: 5, Funny

      or it may have been modded by a mathematician who figured out that modding comments "funny" will likely result in negative karma.

      Of course since the OP was an AC karma isn't a factor. But myself, I've just gotten into the habit of never using +1 funny, since it could result in negative karma for the poster. Also something thats funny, is made even more funny when it gets modded as insightful or informative.

  2. Well, Thank God... by jjohnson · · Score: 5, Funny

    I am pleased to announce a proof that P is not equal to NP, which is attached in 10pt and 12pt fonts.

    I was a afraid he might have left out an important step.

    --
    Anyone who loves or hates any language, platform, or manufacturer, doesn't know what they're talking about.
  3. Re:What would the impacts of this be for cryptogra by jjohnson · · Score: 4, Informative

    Off the top of my head, if P = NP, then a lot of cryptography like RSA and elliptic curve cryptography become, in principle, mathematically solvable. Much of their security is premised on the idea that their equations are prohibitively difficult to brute force because they're NP.

    If this proof holds up, then RSA and ECC become provably secure in a way they weren't before.

    --
    Anyone who loves or hates any language, platform, or manufacturer, doesn't know what they're talking about.
  4. Re:What would the impacts of this be for cryptogra by Zaphod+The+42nd · · Score: 4, Interesting

    Really, P = NP would have far reaching implications to security, essentially proving that method of security will never be secure. If it is P != NP, then that means that you can have problems which take longer than polynomial time to calculate but only polynomial time to verify. So, if the paper is true, then it doesn't really change a whole lot, except that now we know that some day there isn't going to be a trivial solution. I guess its good for cryptography.

    --
    GCS/MU/P d- s:- a-- C++++$ UL++ P+ L++ E+ W++ N o K- w--- O M+ V- PS+++ PE Y+ PGP t+ 5- X R++ tv+ b++ DI++ D++ G+ e++ h-
  5. Not Only Time But Several Disciplines by eldavojohn · · Score: 4, Interesting

    At a 100 pages its going to be a while before I can say I have RTFA, but I'll get back with any relevance in a few days after I have digested it. I suggest any post claiming other wise are a bit hasty.

    You can read section one (the introduction) and get a high level walk through of what he's doing. Just be prepared to have a requisite in the following to make it through that:

    In order to apply this analysis to the space of solutions of random constraint satisfaction problems, we utilize and expand upon ideas from several fields spanning logic, statistics, graphical models, random ensembles, and statistical physics.

    My computer science, math and statistics are still fairly sharp but the physics and graph theory are a bit much. Indeed this will take a while to digest. If he hasn't made a mistake in something like bridging together least fixed point logic and functions with Markov-Gibbs properties (correspondence and equivalence).

    On the one hand it seems this will take a general expert in the math related sciences to verify but on the other you would think that -- like with the E8 and Lie groups -- this sort of proof would require a rather large unified theory to be able to reduce the N=NP? problem down to a provable situation. I'm no expert and it's been three or four years since I've even been in academia but even the subsections of this paper are noteworthy if they are true. It could be we're looking at something that jumps so far ahead like the famous papers of Turing and Shannon.

    --
    My work here is dung.
    1. Re:Not Only Time But Several Disciplines by Anonymous Coward · · Score: 5, Interesting

      when I took a graduate level computer science course on randomized algorithms, our professor put up an 8-10 page proof for a randomized algorithm to solve graph coloring problems. near the end of the proof I raised my hand and noted that my professor had made a mistake transcribing a factor, as he had left out one of the paths in a markov chain. after checking the proof my professor realized that in fact the thesis he was using as an example was incorrect. Since that moment, I havent trusted complex mathematical proofs over 15 pages that havent been around for a large number of years. ... I suppose I should come up with some formula for a trustworthiness factor based on length and duration of time it has held up to scrutiny, but my point being, very very few people are qualified to write or debunk this paper, but everybody should be trying to.

  6. View from the future by Citizen+of+Earth · · Score: 4, Informative

    Of course they're not equal. It is revealed in Futurama episode 2-07.

  7. Re:Makes my job easier... by Zaphod+The+42nd · · Score: 4, Informative

    You can still solve NP problems, just not in polynomial time. There ARE solutions to travelling salesman, just not fast ones...

    --
    GCS/MU/P d- s:- a-- C++++$ UL++ P+ L++ E+ W++ N o K- w--- O M+ V- PS+++ PE Y+ PGP t+ 5- X R++ tv+ b++ DI++ D++ G+ e++ h-
  8. Re:From the wikipedia discussion page by 1729 · · Score: 4, Informative

    "Deolalikar's result is that "P (does not equal) NP (intersect) co-NP for Infinite Time Turing Machines". This is a special context - infinite time Turing machines are not the same thing as standard Turing machines, but are a kind of hypercomputer. Dcoetzee 09:07, 8 August 2010 (UTC)"

    From http://en.wikipedia.org/wiki/Talk:P_versus_NP_problem#Potential_Solution

    That was a different paper, published in 2005:

    http://portal.acm.org/citation.cfm?id=1185240

  9. XKCD was right by wdsci · · Score: 5, Funny

    If this has appeared somewhere in the other comments, sorry for missing it, but http://xkcd.com/664/ seems oh so appropriate here. (especially the alt text)

  10. Re:Makes my job easier... by loufoque · · Score: 4, Informative

    There are fast solutions to the TSP, they're just not fast in pathological cases.

  11. Not in arXiv? by iris-n · · Score: 5, Interesting

    I think this is the first time a serious researcher publishes a paper through email. Makes me wonder if he is actually publishing it or just asking for peer-review from his colleagues.

    Or maybe he is trying to best Perelman in insanity. After all, even Perelman put the paper in arXiv.

    Anyway, about the paper itself; I am a physicist, and he does say correct things about the Ising model and phase transitions. Unfortunately, it is only a small part of his proof that I can grasp. So I think he is dead serious.

    Also, nice typography.

    --
    entropy happens
    1. Re:Not in arXiv? by DMiax · · Score: 5, Interesting

      well, he also treats replica symmetry breaking in relation to the kSAT problem (in the hamiltonian fomulation is really just Ising on a random graph) so I would say he knows his shit... If there is a mistake surely is not a trivial one.

  12. Re:What would the impacts of this be for cryptogra by Kjella · · Score: 5, Insightful

    Really, P = NP would have far reaching implications to security, essentially proving that method of security will never be secure. If it is P != NP, then that means that you can have problems which take longer than polynomial time to calculate but only polynomial time to verify.

    I think it's important to realize that even if they are "unresolved problems" of mathematics, it's not like both answers are equally likely like the flip of a coin. For example the Riemann hypothesis states that all non-trivial zeros of the Riemann zeta function have real part 1/2. It's true for every non-trivial zero we've ever found, but it's not proven true for all the infinitely many zeros. However, outside of mathematics a proof it's true will be met with "yeah, that's what we thought" and a proof it's false with "OMG what's going on here?". Another example is the prime twin conjecture, are there inifinte pairs like (3,5) (5,7) (11,13) (17,19) and so on. There's very good reason to believe it's true but nobody has able to formally prove it. There's a lot of problems today that appear to support the idea that P != NP, and that's what most people believe the answer is. However, stringing together formal proof that it's so is much harder. If this paper turns out to be true, surely it's a great leap for mathematics but it's the answer that doesn't change the world.

    --
    Live today, because you never know what tomorrow brings
  13. A real achievement... by adamofgreyskull · · Score: 4, Funny

    At the time of writing, there are two comments on Greg Baker's blog, congratulating Vinay on making it onto Slashdot. Jeez...he's potentially solved one of (if not) the most important open problem in computing, which could land him a million dollars in prize money...but yeah...well done on making it into that most esteemed of online publications, Slashdot.

  14. Re:formal proof please by iris-n · · Score: 4, Insightful

    Are you raving mad?

    Of course there will be an error with this proof. Many errors, actually. Most of them irrelevant.
    Maybe one of them is not. You know what? It will be caught in peer-review, exactly as it's been happening in the last centuries.

    There's a reason noone uses formal proofs in mathematics. They're dull. They're slow. And we trust peer-review (for correctness, anyway).

    What would be the use of a proof that no human can understand?

    --
    entropy happens
  15. In other news, HP sex Scandal == Push other news by tomhudson · · Score: 4, Funny

    It's funny how we don't hear anything from HP for ages, then as soon as there's a sex scandal involving the disgraced CEO, out come all sorts of distractions.

    I smell a rat. Okay, I smell 2 rats - Mark Hurd (ex-CEO) and HPs' spin department.

  16. Re:Makes my job easier... by Trepidity · · Score: 4, Informative

    No, there really are solutions (not approximations) for many NP-complete problems that are fast on most inputs. For example, current SAT algorithms are fast on most instances. There are, however, pathological cases on which the algorithms are slow. The fact that a problem is NP-complete just means that, if P!=NP, there is no algorithm that is guaranteed to be polynomial-time for all inputs. It is still quite possible to devise algorithms that are fast for almost all inputs, but slow on a few pathological ones.

  17. I have found an excellent proof of this... by spartacus_prime · · Score: 5, Funny

    But the margin is too narrow to contain it.

    --
    If you can read this, it means that I bothered to log in.
  18. Re:Funny can cost you karma by dotgain · · Score: 5, Funny

    [Slashdot] may have fixed it by now.

    Now that, my friend, is +5, Funny. Nothing here has been fixed in years.

  19. Re:Is there a link to the actual preprint / paper? by martin-boundary · · Score: 4, Informative

    I agree scribd sucks. You can find a link to the PDF from this page which also collects other proofs of P = NP, as well as proofs of P != NP. Pick whichever you prefer :)

  20. Re:In other news, HP sex Scandal == Push other new by Zerth · · Score: 5, Funny

    That's one hell of a spin department.

    Some university really should hire them, because if they can prove P!=NP just to cover up a sex scandal, imagine what they could do if they didn't waste time writing press releases.

  21. Re:Proof by example? by Anonymous Coward · · Score: 5, Informative

    NP-class problems can be translated into minesweeper puzzles. The problem is determining whether a solution exists in polynomial time. Your example is not solvable. The problem is determining whether a solution can be determined for arbitrarily large puzzles in a polynomial-scale algorithm, or whether the amount of time needed basically grows exponentially. This guy is saying that it grows basically exponentially.

    See here for a more complete explanation: http://www.claymath.org/Popular_Lectures/Minesweeper/

  22. Re:What would the impacts of this be for cryptogra by dachshund · · Score: 4, Informative

    The point is that if P did = NP, then there wouldn't be any reason to think further about whether RSA is an NP problem. The constants might be huge, but there would clearly exist a poly-time algorithm for solving it. If P != NP as this result claims, then there may not be one, which is what cryptographers hope.

  23. I understand it completely. by Dwonis · · Score: 5, Funny

    We'll know that P != NP if it takes us less time to verify the proof as it took him to generate it.

  24. Re:What would the impacts of this be for cryptogra by whitesea · · Score: 5, Interesting

    Even if P=NP, polynomial solutions requiring time n^99 consume enough time to be practically infeasible. Thus, even P=NP would not harm cryptography much, if it did not provide very efficient solutions for every NP-hard problem. On the other hand, favorite cryptographic hard problems, such as factoring, are not known to be NP-hard and may well turn out to be solvable in polynomial time, even if P!=NP. Therefore, proof that P!=NP won't have any interesting implications for cryptography unless it contains new ideas that can help in other ways. Neither will proof P=NP unless it includes ideas for fast solutions of interesting problems, such as fast factoring or fast discrete logarithm. Proof of P!=NP may help to solve another interesting problem in cryptography: one-way functions. Right now many results are built on the assumption that such functions exist, but nobody have found a single provable one-way function (easy to compute, infeasible to reverse). A bunch of functions are believed to have this property, but not a single one has been proved difficult to reverse. I would be interested to see if this proof will produce such an animal - a provably one-way function.

  25. Re:Two questions by JoshuaZ · · Score: 5, Informative

    Sorry, I wasn't clear. I meant what's the next big problem in computer science.

    Assuming this proof holds up, the next set of questions are how much the complexity hierarchy breaks down. There are a host of complexity classes between P and NP. Other important classes include PP and BPP http://en.wikipedia.org/wiki/BPP, http://en.wikipedia.org/wiki/PP_(complexity). BPP is a subset of NP and is tentatively believed to be equal to P. Another important class is BQP http://en.wikipedia.org/wiki/BQP which is the class of problems which can be solved quickly by a quantum computer. If this proof goes through it may generalize to showing that some of these other classes are distinct (proving that BQP is not equal to P would be almost as big a deal as proving that P !=NP).

  26. Re:What would the impacts of this be for cryptogra by mesterha · · Score: 4, Informative

    You don't need to simulate the Turing machine. You just need to encode it as a boolean formula. That's part of what Cook's theorem shows; it shows how to encode a non-deterministic Turing machine as a boolean formula with at most a polynomial increase in size. Now that the problem is in a NP-complete form just follow the reductions until you get to the NP-complete algorithm that has a P algorithm. In this way you can solve any NP problem in P time as long as you solve one NP-complete algorithm in P time.

    --

    Chris Mesterharm
  27. Re:Wouldn't P=NP be a paradox anyway? by isilrion · · Score: 4, Interesting

    I think you are misunderstanding what the P=NP question means... and I don't blame you. The question itself is very "meta", but it is not self-referencing as you believe.

    P is a set of questions (YES/NO questions) that can be answered easily. NP is another set of questions, that may or may not be easy to answer, but when you see the answer (YES/NO) and a proof for the answer, you can easily check if the proof is correct. But the question "P=NP?" doesn't belong to either of the sets. If P=NP, then all problems that are easily "verifiable" are also easily "solvable", and if P!=NP, then there are problems easily verifiable but hard to solve. But, as the question "P=NP?" doesn't belong to P or NP, there is no paradox.

    That's an over simplification, of course. For instance, "easy" in the previous paragraph actually means "solvable in polynomial time by a deterministic turing machine", and "not easy" would be "solvable in polynomial time by a non-deterministic turing machine", and there is the widespread confusion about "NP" meaning "Non-P" instead of "P in a Non-deterministic machine". The wikipedia article is really good, but unfortunately, much too formal to understand without previous knowledge. I hope I helped a bit.

  28. Re:this is going to create history by zkp · · Score: 4, Interesting

    IMO, The P vs NP is fundamentally more tricky than other famous theorems/conjectures (like FLT), because on some level it is a statement about mathematics itself. The assumption that P != NP on some level implies that the finding mathematical proofs is difficult. This means that if P!=NP it may be even more difficult to prove that P!=NP. It has been shown that assuming one-way functions exist (this would imply P!=NP easily enough) that a certain type of proof called "natural proofs" can never be used to separate P from NP.

    On the flip side, showing P = NP could be easier, but most people believe this is false, since it would mean that there is essentially one "master algorithm" that can solve any problem in NP efficiently.

    The current state of computational complexity theory is that we are no where close to resolving P!=NP, that is unless this proof actually checks out. Honestly, we can't even settle "easier" questions like P vs PSPACE. The implications of a correct proof would be absolutely mind blowing.

  29. Re:In other news, HP sex Scandal == Push other new by LambdaWolf · · Score: 5, Funny

    That's one hell of a spin department.

    Some university really should hire them, because if they can prove P!=NP just to cover up a sex scandal, imagine what they could do if they didn't waste time writing press releases.

    Oh man, if you think the politics and backbiting are bad in typical academia, wait until you see an entire computer science department arguing over who gets to have illicit sex in order to set off the proof-generating team.

    --
    "This algorithm runs in constant time. Come on, 2,147,483,648 is a constant..."
  30. Potential pitfalls in the Finite Model Theory bits by gatesyy · · Score: 5, Interesting

    Being a researcher in Finite Model Theory (FMT) this paper is very interesting because it uses ideas from that area, i.e. the LFP(FO) bits. Reading through the proof synopsis and scanning the FMT sections there are several potential pitfalls:

    1. 1. The logic LFP(FO) only captures P on ordered structures; that is structures that have a built in total ordering relation.
    2. 2. Any sentence that describes a problem in LFP(FO) must be order-invariant ; that is it must work for any possible ordering of the vertices in the underlying graph/structure.

    It is already known that LFP(FO) on unordered structures is a proper subset of LFP(FO) on order structures, so if the ordering and order-invariant requirements for LFP(FO) = P are not dealt with in the proof, then all the author has done is proof that LFP(FO) on unordered structures is a proper subset of NP. Which is already known.

    Another potential problem is in the arguing that all first-order properties are local (Hanf's Theorem) in the presence of ordering, as every vertex is effectively connected to every other vertex (Immerman's proof of LFP(FO) = P requires total ordering of the underlying graph/structure), and hence every vertex is in the radius = 1 neighbourhood of every other vertex.

    The crucial step in the proof, appears to be the argument that no LFP(FO) formula can extend a partial solution to k-SAT to a full solution to k-SAT. This is where I'd check the logical steps of the proof, and also make sure that the ordered nature of LFP(FO) structures is correctly considered.

    I look forward to seeing this published in a peer-reviewed mathematics journal: I'd recommend to the author the "Journal of the ACM" for this (as it's one of the best journals in the field).