An unofficial, read-only Hacker News reader.

VP ≠ VNP over Every Field (opens external site)

369 points by mikeryan52 5 days ago | github.com | 339 comments on HN

View full thread · View on Hacker News

Comment thread (53)

  1. > VP=VNP implies P=NP, but this result doesn't imply P != NP.

    For those unfamiliar with the subject, a constructive proof of P=NP would be a very weird universe, because it would essentially allow fully automated discovery of proofs for any theorem that has a polynomial-time checkable proof. (And almost anything you'd call a "proof" would be checkable in polynomial time. So basically, fully automated mathematical discovery.)

    See the discussion of P and NP by Scott Aaronson part way down this page : https://www.scottaaronson.com/democritus/lec9.html

    So if your AI proves P!=NP, your AI is very clever. (There several different proofs that rule out common proof techniques being able to prove P!=NP.) But if your AI instead proves P=NP, the future just got weird on a level that's hard to even describe. Cracking cryptography wide open is the least weird thing you should expect.

    Replies (7)
    1. No. Given P=NP, in all likelihood, NOTHING about the world would change.

      We can have P=NP with the polynomial being something enormous like 10^100 n^100 + 10^100, which is the 2nd most likely resolution to P vs NP, with P != NP being the most likely one.

      Your scenario is much stronger than P=NP alone and is far less likely.

      Having P=NP with atrocious coefficients would have no immediate practical impact - and maybe wouldn't even be THAT surprising. What it would do is destroy many of theoretical computer science's sky-castles.

    2. Fascinating. So you're saying the proof itself would unwind... everything??
      Replies (1)
      1. Trivial brute force guessing of passwords and biometrics, with the obvious application being all of the worlds digital bank accounts. Scheduling of calendars, route selection, silicon chip layout design and manufacturing demand all optimally decidable automatically. All optimization problems are just what to an outside observer look like is magically done with P=NP. The base act of creativity becomes a literal search space, not a discovery process. War scenarios and application of strategy becomes a tic-tac-toe calculation. Business decisions, execution and stock trading have an optimal answer.

        The world becomes unrecognizable, not in a week, but in hours. You will know P=NP by the discoverer being able to rework the world how they deem it should be, particularly if they are sitting on buckets of compute already.

        For my sanity P!=NP has to be the end result and is why if there is caveats in the eventual solution people say P vs NP where it's technically true but not actionable. Because if it isn't and is just straight equals, well by the time I've processed that information, I won't have the luxury of being able worry about it any more due to the asymmetric information disparity to be waged on us all in the gap of time that someone knows how the do it, but the rest of the world doesn't.

        Replies (1)
        1. Say a researcher privately proved P = NP, what would you suggest they do with it?
          Replies (1)
          1. Stock market. "a lucky guess" trading insane but successful options won't tip off insider trading or law enforcement immediately and will develop the warchest for what comes next. Actual Efficient Market Theory mathematically exists only in a P=NP world. Optimal trades turns $10k into $1B in one week, the whole HF trading market exists merely to approximate it.
            Replies (3)
            1. Being able to compute big NP problems would not let you make optimal trades.

              And even a fast P=NP solution would be way too slow for HFT purposes.

              Also what do you mean by "not actionable" versus "straight equals"? What would you call an n^10 optimal algorithm?

              Continue this thread (1 replies) →

            2. How exciting.
            3. Ah forget about stock market, just crack some dormant Bitcoin wallets.
    3. My mind struggles to imagine what a world where P=NP would look like. Is there any speculative writing about this? Even if said polynomial time to prove something isn't practical, it would still probably have far-reaching consequences.
      Replies (7)
      1. It depends.

        If P=NP with a trivial algorithm? Unplug every internet connected device you own and live like it's the 70s again for at least a year.

        If P=NP but the algorithm has constants such that it is worse than brute force on equations where the number of variables has fewer than a million digits? Nothing tangibly changes.

        Replies (1)
        1. Nah. Even if P=NP with a trivial algorithm (unlikely) the impact would be temporary and limited. Leveraging that to break security first requires getting access to the underlying content, which isn't so easy. Like I can't crack your encrypted messages if I don't have the messages. Any many of the most sensitive systems have already moved on to algorithms which aren't vulnerable to such attacks. Such an eventuality would cause some disruption for a few months and then everyone would move on.
          Replies (2)
          1. You know there are very many people in the path of your messages who would love to know them though. Firstly your ISP, secondly the NSA, thirdly every ISP between you and the server (there's usually about 4 or 5). Imagine being AWS and seeing what everyone is doing all the time and selling that data for advertising
            Replies (3)
            1. I think the commercial-value of mass datamining for targeted advertisements is grossly overstated: Scummier ISPs were certainly doing this during the last few years before TLS became ubiquitous (thank you, LetsEncrypt/ACME) but I haven't seen anything to suggest they actually profited from it.

              ...but that's probably because personalized advertising gets it wrong more than it gets it right, at least that's my perception: there's the obvious case of when Amazon recommends you buy something that you are genuinely interested in, like a major home appliance, except that recommendation came-about because you purchased a competing company's product last week, and their recommendation engine thinks most people have a strong emotional need for redundant home laundry washing machines, apparently.

              Continue this thread (1 replies) →

            2. >Imagine being AWS and seeing what everyone is doing all the time and selling that data for advertising

              If Amazon wanted to they could simply not provide you with the ability to use customer managed external key stores and do this today. They don’t do this because it would be terrible brand management and they have multiple viable competitors.

              Continue this thread (1 replies) →

            3. AWS and the various ISPs aren't stupid enough to kill their businesses by doing that even if they could. As for the NSA, for commercial or individual purposes it doesn't really matter. I mean I don't want the government reading my messages as a matter of principle, but if they do then nothing much will happen.
          2. > Like I can't crack your encrypted messages if I don't have the messages.

            P=NP with manageable constants would break all public key authentication. You could crack anyone's ssh keys, use them to gain access to software update servers and forge the signatures to distribute updates to every machine. Every encrypted connection and hashed password would become equivalent to plaintext. Breaking into the networks of major ISPs would then be fairly straightforward, and they could MITM anyone from there.

            > Any many of the most sensitive systems have already moved on to algorithms which aren't vulnerable to such attacks.

            You're thinking of PQ. That's for if we ever get practical quantum computers. If P=NP then those algorithms are done too and so is the symmetric encryption quantum computers can't break.

            Quantum computers don't efficiently solve every problem in NP. P=NP would, and nobody is prepared for what would happen then.

      2. Replies (1)
        1. From the PDF

          > Thus, a computer could be taught to recognize and parse grammatically correct English just by having sufficiently many examples of correct and incorrect English statements, without needing any specialized knowledge of grammar or English.

          Huh. What an interesting example. (He does disclaim, basically, "not like neural nets" immediately after.)

      3. > My mind struggles to imagine what a world where P=NP would look like.

        I think a world with an O(n^1000) algorithm for an NP-complete problem would look pretty similar to our own.

        Replies (1)
        1. True, but experience teaches us that such exponents don’t really happen. There is some metaphysical property of the universe that ensures that the numbers governing its behavior are mostly very, very small.
          Replies (7)
          1. That's not quite true. For example: https://en.wikipedia.org/wiki/Monster_group

            And it appears out of basically nowhere. There's no _reason_ for it to be so large, yet it is.

            Replies (1)
            1. That number is tiny. The fact that we can write it down demonstrates that.

              Continue this thread (1 replies) →

          2. It could also be that the constants are extremely large, particularly for any reductions into the problem from other ones relevant for cryptography. O(n^4) with bad constants would be incredibly slow.
          3. Isn't there a survivor bias for this notion? Meaning, only the smallest exponent laws and phenomena are the ones we can sus out. But why not why can't the bigger things be massive untangle able exponents?
            Replies (1)
            1. It's possible, but it would be very weird for low power things to exist, and high power things to exist, but not any medium power things to exist.

              Continue this thread (1 replies) →

          4. There are problems in P with very large exponents. And there may be more that we don't know about because the value of constructing O(n^100) algorithms is low.

            https://chatgpt.com/share/6b0509c8-ffac-83e8-9b0e-06160a7f7b...

            Replies (1)
            1. The "Constructing generalized picture-hanging arrangements" problem your chat references is O(n^43737)

              Or actually, from what I understand, https://arxiv.org/abs/1203.3602v1 gives O(n^43737), but https://arxiv.org/abs/1203.3602v2 revises it upwards somewhat – I'm not going to pretend I completely follow this.

          5. Doesn't selection bias mean we would almost never search for galactic algorithms (especially if it is difficult to discover) if a more practical algorithm exists?
          6. > True, but experience teaches us that such exponents don’t really happen

            This is absolutely not true, a ton of galactic algorithms exist that would be extremely useful if they weren't galactic. Also consider that we are not really searching for these algorithms because it's mostly just a waste of time. Sometimes we're able to shrink the exponents with some techniques, but not by that much.

          7. Did you already forget about the exponential time hypothesis?
      4. > Is there any speculative writing about this?

        look up "The golden ticket : P, NP, and the search for the impossible" book

      5. Here's some speculative writing:

        If P=NP, then once you know what the desired solution looks like, your solution isn't far away.

        "Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you" -- Matthew 7:7

        In fact, once you realize the "trouble" with NP problems is that they're discrete and combinatorial, meaning that there's no general way to "get closer" to a solution, unlike more continuous problems where you can simply look at the slopes and find a (local) minima easily -- these days we call this gradient descent.

        AI breakthroughs in the past decade were in a large part due to the realization that gradient descent goes a very long way if you get enough data and compute.

        If P=NP then perhaps even combinatoric problems would get a similar boost.

      6. I had a recent conversation on the Godel's incomplete, so it kinda gets a bit stuck on that at points, but it's still kinda fun.

        https://chatgpt.com/share/6b071792-4840-83e8-9c47-8bc2bc2ca7...

    4. NP means polynomial-time checkable proofs, but it is polynomial in the length of the problem instance, not in the length of the proof. That works for combinatoric problems, where proofs can be bounded, but not for math theorems, where proof length are generally unbounded.
      Replies (1)
      1. A lot of interesting theorems should have proofs/counterexamples shorter than say.. 20 million lines of Lean?
        Replies (2)
        1. “Interesting” is doing a lot of heavy lifting there, but where do you get that figure from?
          Replies (1)
          1. Supposedly RH fits in 17M of slop Lean. Anything with the shortest possible proof being longer than that would be extraordinary.
            Replies (1)
            1. I’ll wager there are an infinite number of shortest possible proofs of greater than 20 million lines of lean. Idk how many of them prove interesting things.
        2. Is there any reason to believe this
          Replies (1)
          1. Mathlib is much smaller and I don't think formalization of much (or any) existing proofs in current mathematics would be this long.
    5. Note this doomsday scenario doesn't happen with "just" s constructive proof of P=NP. The algorithm must also be practical to run ç
    6. > For those unfamiliar with the subject, a constructive proof of P=NP would be a very weird universe, because it would essentially allow fully automated discovery of proofs for any theorem that has a polynomial-time checkable proof.

      What's weird about that? We can already do exponential search in the same way, can't we?

      People need to stop conflating "P" with "fast". P can be very slow.

      Replies (1)
      1. The converse is also true - a superpolynomial algorithm, even in case of P/=NP, can be quite fast.

        The bound from the paper is a good example: m^(c (log m)^(1/3)). If it is already tight, and c is reasonably small, it would mean there is a somewhat practical algorithm for counting (and correct me if wrong, it would also imply somewhat practical algorithm for NP).

    7. I think this is overselling the impact just a little bit. even if P==NP, the algorithm for, say, 3-SAT could be astronomical (e.g. O(n^10000), or even O(n^2) with an enormous constant); conversely, even if P!=NP, there might be a efficient quasi-polynomial algorithm that grows slowly enough for the size of problems we care about. personally I believe the latter is very probable.