HackerPapers

arXiv:1002.2284q-fin.GN

Markets are efficient if and only if P = NP

Philip Maymin

Abstract

I prove that if markets are weak-form efficient, meaning current prices fully reflect all information available in past prices, then P = NP, meaning every computational problem whose solution can be verified in polynomial time can also be solved in polynomial time. I also prove the converse by showing how we can "program" the market to solve NP-complete problems. Since P probably does not equal NP, markets are probably not efficient. Specifically, markets become increasingly inefficient as the time series lengthens or becomes more frequent. An illustration by way of partitioning the excess returns to momentum strategies based on data availability confirms this prediction.

arXiv comments
33 pages; extended literature review and some additions
Journal reference
DOI
Subjects
q-fin.GNGeneral Finance cs.CCComputational Complexity

On Hacker News

Linked by 29 identifiable commenters in 39 comments across 37 threads, from Aug 2010 to Jul 2026. Found in 8 HN submissions from Feb 2010 to May 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments37 threads

    • > No. Where do you get that misinformation? > Yes, it's relatively easy to construct a model where perfect information and a bunch of other assumption lead to markets being great. But that merely shows that these conditions are sufficient. Not that they are necessary. "Markets…

      ben_wView on HNParent context

    • Thanks for the considered response. > "Markets are efficient if and only if P = NP": https://arxiv.org/abs/1002.2284 That's a very cute result, but requires a very specific definition of 'efficient market'. There's actually a range of 'efficient market' definitions, each with…

      eruView on HNParent context

    • If markets were perfectly efficient there would be no entrepreneurs. To start a business of any kind is to hypothesize the existence of a market inefficiency, something the market is not currently doing that would make it more efficient. All business is in some sense arbitrage…

      apiView on HNParent context

    • The Efficient-market Hypothesis has been proven to be true only if P=NP. https://arxiv.org/abs/1002.2284 What's your bet on the latter? I'm... skeptical.

      samatmanView on HNParent context

    • > one where you can comfortably afford living, fun, saving, etc I think is most people's interpretations My understanding is that most people's understanding of "middle class" is "about 20% richer than me", and that this remains true regardless of how rich one is. Most people…

      ben_wView on HNParent context

    • > The stock market provides an efficient medium for the allocation of capital. Only if P=NP.[1] Besides Efficiency: the ratio of the useful work performed by a machine or in a process to the total energy expended or heat taken in. This also begs the question: "To efficiently…

      j-pbView on HNParent context

    • Weak form efficiency - https://arxiv.org/abs/1002.2284 is one such proof. For strong form efficiency (which requires markets perfectly reflect all available information) - You would have trouble finding people who still believe in strong form efficiency. The weak form paper…

      DannyBeeView on HNParent context

    • I think that's a pretty valid question to ask, but one that doesn't sit right with the typical neo-liberal/venture-capital clientele on HN. The wishful image of financial autonomy and chances of personal and business development through a public market seems to provide too much…

      j-pbView on HNParent context

    • I never said that central planning must work better or worse, just that Hayek's reasoning doesn't hold up because it starts from the ridiculous assumption that markets always find the equilibrium, always propagate local knowledge, etc.., and those are the reason why they…

      sudosysgenView on HNParent context

    • I don't know if you are a Computing Scientist, but you might find this parallel interesting: "Markets are efficient if and only if P = NP" https://arxiv.org/abs/1002.2284

      sovaView on HNParent context

  1. I Really Blew It (2020) 1 comment
    • Here is the article : https://arxiv.org/pdf/1002.2284.pdf I misremembered, it's not just the strong form that is refuted, but the weak form as well!

      sudosysgenView on HNParent context

  2. Escaping the Dark Forest 1 comment
    • Only with perfect information, and even then markets are NP-complete. https://arxiv.org/pdf/1002.2284.pdf

      ben_wView on HNParent context

    • the efficient market hypotheis isn't dead, but markets are efficient only if P == NP https://arxiv.org/abs/1002.2284

      gonzoView on HNParent context

    • Ah, you're one of those fools. When you're finished with history, try complexity theory [0]. [0] https://arxiv.org/abs/1002.2284

      lidHanteykView on HNParent context

  3. A 60 GHz phased array for $10 2 comments
    • Well, a naive, overly strong formulation of the efficient markets hypothesis may imply that P=NP. Something like "an optimal trading strategy is a function depending on the entire market history, and in order to find an optimal trading strategy, one must check an exponentially…

      aesthesiaView on HNParent context

    • Here is a paper on it : https://arxiv.org/pdf/1002.2284.pdf

      sudosysgenView on HNParent context

  4. Tether: The Story So Far 1 comment
    • Your second point could only be true if markets were infinitely intelligent. https://arxiv.org/pdf/1002.2284.pdf

      apiView on HNParent context

    • FWIW, someone took the time to formally state the case: "Markets are efficient if and only if P = NP", https://arxiv.org/abs/1002.2284

      wahernView on HNParent context

    • This is unsurprising. P likely is not equivalent to NP [0], and predicting the market is NP-hard [1]. It's nice to see empirical work in the field, though, and especially nice to see reproductions of published papers. [0] https://www.scottaaronson.com/papers/pnp.pdf [1]…

      lidHanteykView on HNParent context

    • Hi! I am a person who reads crankery. First, thank you for self-assessment. It's rare. This paper constructively suggests that P=NP iff EMH: https://arxiv.org/abs/1002.2284 It may be worth reading up on PPAD and Nash's thoughts on P=NP. Do not despair, but do not expect to be…

      myWindoonnView on HNParent context

    • > efficient markets are not deceptive markets. Participants are assumed to share equal information. Unfortunately this does not exist outside the textbook; there's an entire field devoted to information economics (Akerloff, Stiglitz et al). And then there's the brilliant…

      pjc50View on HNParent context

    • Even an efficient market will still have capital be more expensive for goods people disapprove of and aren't willing to support. An efficient market just means the price is discovered, not that the price solely reflects monetary outcomes. Plus there's probably no such thing as…

      roguecoderView on HNParent context

    • I don't see why you're being downvoted. Here's a reference for market pricing being almost certainly NP-hard: http://arxiv.org/pdf/1002.2284 "Markets are efficient if and only if P = NP"

      pjc50View on HNParent context

    • There was a nice result a while back that the efficient market hypothesis is true IFF P=NP. http://arxiv.org/pdf/1002.2284.pdf

      fiatmoneyView on HNParent context

    • "Markets are efficient if and only if P = NP"[1] I read it when it was first posted on HN a few years ago. [1]http://arxiv.org/pdf/1002.2284.pdf

      noblethrasherView on HNParent context

    • " a lot of competitors with essentially same product and everyone instantly know all available into (so everyone buys cheapest of the same)." But we already know these free markets are either not efficient or likely not efficient. Strong form efficiency is provably false. Weak…

      DannyBeeView on HNParent context

    • (edited for source) There is no such thing as a free market: it is an idealistic theoretical construct. And even if it were real, it would only be efficient if P=NP[0]. 0. http://arxiv.org/abs/1002.2284

      warfangleView on HNParent context

  5. What if P = NP? 1 comment
    • It would be a boon for laissez-faire capitalism, as it would prove that markets are at least weak-form efficient. Reference: http://arxiv.org/abs/1002.2284

      lyudmilView on HNParent context

    • > Efficient markets have already priced in all these well known reasons for one. Too bad there's no such thing as an efficient market [1]. [1] http://arxiv.org/abs/1002.2284

      loewenskindView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.