What if P = NP?

Princeton的Sanjeev AroraBoaz Barak最近写了一本计算复杂性方面的书:Complexity Theory: A Modern Approach,其初稿提供下载,并承诺出版后也会继续保留——要是所有作者都这么好心就好了。

下面这段摘自于第二章NP and NP completeness,写得很有趣。为什么多数人不同意P=NP呢?因为

“if (3SAT has a O(n^2) algorithm), then this would have consequences of the greatest magnitude. That is to say, it would clearly indicate that, despite the unsolvability of the (Hilbert) Entscheidungsproblem, the mental effort of the mathematician in the case of the yes-or-no questions would be completely replaced by machines.... (this) seems to me, however, within the realm of possibility.”

Kurt Godel in a letter to John von Neumann, 1956

If P = NP — specifically, if an NP-complete problem like 3SAT had a very efficient algorithm running in say O(n^2) time — then the world would be mostly a Utopia. Mathematicians could be replaced by efficient theorem-discovering programs (a fact pointed out in Kurt Godel’s 1956 letter and discovered three decades later). In general for every search problem whose answer can be efficiently verified (or has a short certificate of correctness), we will be able to find the correct answer or the short certificate in polynomial time. AI software would be perfect since we could easily do exhaustive searches in a large tree of possibilities. Inventors and engineers would be greatly aided by software packages that can design the perfect part or gizmo for the job at hand. VLSI designers will be able to whip up optimum circuits, with minimum power requirements. Whenever a scientist has some experimental data, she would be able to automatically obtain the simplest theory (under any reasonable measure of simplicity we choose) that best explains these measurements; by the principle of Occam’s Razor the simplest explanation is likely to be the right one. Of course, in some cases it took scientists centuries to come up with the simplest theories explaining the known data. This approach can be used to solve also non-scientific problems: one could find the simplest theory that explains, say, the list of books from the New York Times’ bestseller list. (NB: All these applications will be a consequence of our study of the Polynomial Hierarchy in Chapter 5.)

Somewhat intriguingly, this Utopia would have no need for randomness. As we will later see, if P = NP then randomized algorithms would buy essentially no efficiency gains over deterministic algorithms; see Chapter 7. (Philosophers should ponder this one.)

This Utopia would also come at one price: there would be no privacy in the digital domain. Any encryption scheme would have a trivial decoding algorithm. There would be no digital cash, no SSL, RSA or PGP (see Chapter 10). We would just have to learn to get along better without these, folks.

This utopian world may seem ridiculous, but the fact that we can’t rule it out shows how little we know about computation. Taking the half-full cup point of view, it shows how many wonderful things are still waiting to be discovered.

P vs NP问题的介绍见以前的文章问题概述历史,现状和未来

查看更多关于, , , 的内容。

你可能感兴趣的
相关文章

3条留言 -> 跳到留言表格

  • At 2007.03.23 23:34, sog white said:

    if NP=P
    then
    computer=brain

    • At 2007.03.24 00:07, dribblejj said:

      据说你们下周要考这个东西,我也来看看

      • At 2007.03.29 05:52, emaneo said:

        "P=NP?" is such an interesting problem that you could see it in many places, even in songs.

        Here is a song that I find amusing:
        http://valis.cs.uiuc.edu/~sariel/misc/funny/#longest-path
        ...
        If you said P is NP tonight
        There would still be papers left to write
        I have a weakness
        I'm addicted to completeness
        ...

        (Required)
        (Required, not published)

          B | I | U | D | 添加链接 | 插入引用 | 插入代码 | 插入表情 | | + | ?
        guest | 注册 | BBS | 管理 | English | 繁體 | https
        Loading...
        Loading...
        Loading...