| ▲ | Markets are competitive if and only if P = NP(arxiv.org) |
| 130 points by kscarlet 2 hours ago | 80 comments |
| |
|
| ▲ | cs702 an hour ago | parent | next [-] |
| Very interesting. The author claims to have proved that markets can be informationally efficient or competitive, but not both. The implications for policy and regulation are significant. The author looks credible: https://philipmaymin.com/about-philip
Thank you for sharing this on HN.-- To the mods: The title needs to be edited to replace the equal sign with not-equal. |
| |
| ▲ | ajkjk 44 minutes ago | parent | next [-] | | The implications are not significant..? the real world is messy enough that this will not ever apply. | | |
| ▲ | baq 39 minutes ago | parent [-] | | the abstract itself explains why there is a problem even if the real world is messy; markets are a social construct |
| |
| ▲ | cwmoore an hour ago | parent | prev | next [-] | | So it pulls exclamation marks. . .angle brackets maybe? “=“ <> “!=“
| | |
| ▲ | magicalhippo 30 minutes ago | parent | next [-] | | It removes a lot of things when posting, but submitter can edit and put them back. Most filters are to avoid sensational titles, AFAIK. | |
| ▲ | kleiba2 an hour ago | parent | prev [-] | | UTF8 to the rescue: ≠ | | |
| |
| ▲ | hughw an hour ago | parent | prev | next [-] | | For the older among us, that's .ne. | |
| ▲ | nok22kon an hour ago | parent | prev [-] | | assuming the typical "spherical market in a vacuum where the agents are maximally rational non-biological utility maximizers" |
|
|
| ▲ | silentmafia an hour ago | parent | prev | next [-] |
| A 2010 entry by the same author: Markets are efficient if and only if P = NP
https://arxiv.org/abs/1002.2284 :) |
| |
| ▲ | dheera 4 minutes ago | parent | next [-] | | In a P=NP world, it still takes only one uninformed participant to make the market inefficient. I don't think the implication is bidirectionally true unless you assume every single player is rational, infinitely smart, and has access to the same set of information. | |
| ▲ | Dibby053 an hour ago | parent | prev | next [-] | | So markets can only be (perfectly) efficient or competitive, not both at the same time. Largely theoretical but it tracks common sense! | | |
| ▲ | ffsm8 an hour ago | parent [-] | | The title on this HN submission is just wrong. Click on the link and find out. | | |
| ▲ | abejfehr 37 minutes ago | parent [-] | | isn't that what they're saying with "not both at the same time"? the papers both have opposite signs, one has != and the other has = |
|
| |
| ▲ | p-e-w an hour ago | parent | prev [-] | | Assuming the original result is correct, isn’t the linked paper simply a corollary? | | |
|
|
| ▲ | xxpor an hour ago | parent | prev | next [-] |
| The actual paper's title is "Markets are competitive if and only if P != NP" Seems that HN's auto-headline rewriting in this case has made a critical error :) >Artificial intelligence, by expanding firms' computational capabilities, is pushing markets from the competitive regime toward the collusive regime, explaining the empirical emergence of algorithmic collusion without explicit coordination. I have to dig more into the paper but I don't see how this follows, except in the most straightforward way. Basically, if everyone uses the same methods to derive price, of course there will be "collusion", or in other words, everyone will have the same price. But this doesn't seem like a result of compute per se, but simply better communication networks and information flows. You could have gotten the same result in medieval England by having everyone post their selling prices on the town square board. Again, I haven't dug into the paper yet, but it seems like what really matters for firms is "compute"/$ (if the "compute" is an LLM or an assistant that has to go walk the 10 minutes down to the square makes little difference) Edit: Isn't another implication of this, that increased compute -> collusion imply that increased compute -> communism becomes feasible? I think this goes to my point above though, the primary problem preventing fully automated luxury communism isn't compute per se, but actually observing the information flows to make it possible. Capitalism famously solves this information problem through the pricing mechanism. So in effect, he's arguing that extra compute makes information gathering more efficient, and at the limit you get perfect information. Which, yeah, I guess so. Assuming everything can be perfectly measured, even theoretically. |
| |
| ▲ | derektank an hour ago | parent | next [-] | | Yeah, the most obvious recent example of this is RealPage’s YieldStar product. It advised property managers on what they should set their rental rates to, and allegedly established a cartel in which RealPage’s customers coordinated in pricing their units. YieldStar was technically an “AI” product, but I don’t really think the computational abilities were what enabled the collusion. RealPage’s employees (according to the DoJ[0]) would actively monitor whether companies were following their pricing recommendations and call up companies that defected. And the software itself used dark patterns to make it easier to simply follow the YieldStar pricing suggestions, rather than set a lower rental rate and be more competitive. The algorithmic pricing I think did allow people to launder their own judgement and simple “trust the process” in a way that in the past would have required knowing complicity with the cartel, but I don’t think it required substantial compute capacity. (This isn’t a comment on the paper by the way, which I glanced at but did not have the background knowledge to fully comprehend) [0] See the section labeled “RealPage Uses Multiple Mechanisms To Increase Compliance With Price Recommendations” https://www.federalregister.gov/documents/2026/01/21/2026-01... | | |
| ▲ | lokar an hour ago | parent | next [-] | | I’m not sure the use of a common algorithm was the most damming part of that. They also pooled otherwise proprietary information and penalized landlords who failed to follow the “recommendations” You could imagine the exact same scheme without the use of a computer. | |
| ▲ | consensus1 30 minutes ago | parent | prev [-] | | I was always skeptical of the algorithmic cartel argument in that case. Turns out it was just a regular cartel all along. |
| |
| ▲ | btown an hour ago | parent | prev | next [-] | | HN is competitive if and only if != != = | |
| ▲ | pwdisswordfishq 12 minutes ago | parent | prev | next [-] | | The actual paper’s title is “Markets are competitive if and only if P ≠ NP” It’s 2026, people, you don't have to use crude ASCII approximations of mathematical symbols any more. | |
| ▲ | nostrademons 36 minutes ago | parent | prev | next [-] | | The paper seems to be based on an invalid assumption. From the abstract: > If P != NP, the collusion detection problem is computationally infeasible for markets satisfying a natural instance-hardness condition on their demand structure, rendering punishment threats non-credible and collusion unstable. ...and then from the paper: > Stigler (1964) famously argued that the “chief difficulty” of collusion is detecting “secret price-cutting.” The thing is that Stigler's insight is far from proven, and indeed, the primary difficulty in collusion is often not the detection of defection. Firms know they're being undercut all the time. The problem is that very often, there is nothing they can do about it. Markets are specifically structured as firm-to-firm transactions, where competing firms have no leverage over what your firm can do or what sort of transactions you can conduct, and as long as this condition holds it doesn't matter if you know that a competitor is fucking you over, you can't do anything about it. I'd argue that the increase in collusion and anticompetitive behavior lately is because these conditions increasingly don't hold. When you intersperse another party in the transaction, eg. a regulatory agency, permitting body, or exclusive distribution deal, you introduce a leverage point for incumbents to punish competitors who choose to undercut them. | |
| ▲ | bombcar 39 minutes ago | parent | prev | next [-] | | HN materially changed the title to something surprising! | |
| ▲ | nok22kon an hour ago | parent | prev [-] | | or maybe compute allows simulating a lot of possible cooperation strategies, and arriving at the one maximizing profits for the colluding parties |
|
|
| ▲ | jopsen 29 minutes ago | parent | prev | next [-] |
| This offers little because while P != NP, in most practical cases it doesn't matter. NP problems gets solved with heuristics every day. |
| |
|
| ▲ | MostlyStable an hour ago | parent | prev | next [-] |
| I don't have the mathematical chops to really analyze this on my own. Is this a bigger deal than the fact that real world markets already violate all the theoretical assumptions (e.g. unimpeded access to new entrants, perfect information, etc.etc), and so, in practice are never perfectly competitive or efficient? |
| |
| ▲ | d4ng 15 minutes ago | parent [-] | | Defi does a pretty good job regarding unimpeded access in comparison to the more traditional venues. This isn’t just about getting money into the system, but also what instruments you have access to. The term ‘perfect information’ is a bit of a mirage, and has been shown to be impossible in physics (uncertainty principle). What really matters is information advantage: Does your inexact expected value function consistently beat others’ calculations in the market. Here, the true value - value really is just a word and is dependent on people - is irrelevant. |
|
|
| ▲ | BoardsOfCanada an hour ago | parent | prev | next [-] |
| A lot of things are only true if P != NP but says nothing about P being within epsilon of NP. |
| |
| ▲ | jfengel 44 minutes ago | parent [-] | | Not quite sure what you're suggesting here; perhaps it's satire? If P!=NP then it is arbitrarily smaller, for the same reason that e^x > Cx^N for any constants C and N, as long as x grows big enough. There is no epsilon in that can overcome that, no matter how big you make it, because x will eventually dominate the equation. There are a lot of cases where pragmatically x remains small enough that it doesn't matter, and a P algorithm will give you an answer more quickly. (For the same reason I only ever write bubble sorts: I would only write my own at all if I knew that the list would never be bigger than 10. Even then it's only when using the library is too much trouble for some reason.) But we care about P and NP when the number can potentially be very, very large. | | |
| ▲ | IsTom 29 minutes ago | parent [-] | | In case P /= NP the gap doesn't necessarily have to be exponential, just superpolynomial (e.g. n^loglogn). |
|
|
|
| ▲ | glimshe an hour ago | parent | prev | next [-] |
| Markets are competitive if and only if P === NP! Now seriously, I wonder if AI collusion/use in investments would add to the market inefficiency and create opportunities for observing investors. |
| |
|
| ▲ | madihaa 19 minutes ago | parent | prev | next [-] |
| the same author 14 years ago. Markets are Efficient if and Only if P = NP
and now Markets are competitive if and only if P != NP
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1773169&... |
| |
| ▲ | apothegm 17 minutes ago | parent [-] | | Which would in turn imply that markets cannot be simultaneously efficient and competitive. |
|
|
| ▲ | moomin an hour ago | parent | prev | next [-] |
| I don’t think anyone in the business thinks that the markets are 100% efficient, just that they are sufficiently efficient that beating them is a genuinely hard job requiring heavy, expensive analysis. |
|
| ▲ | AlotOfReading an hour ago | parent | prev | next [-] |
| The argument structure is interesting, and reminds me a lot of Solomonoff Induction, but constrained into NP by the assumptions. I'm not sure the front half is enough to support the back half of the paper arguing that the current LLM craze means firms are actually running collusion detection algorithms, even unintentionally. |
|
| ▲ | dzink an hour ago | parent | prev | next [-] |
| When everyone uses AI to study the same indicators and figures out how the prices move with those indicators they all start investing at the same time and the prices move together. AI silently gets everyone on the same page. |
| |
| ▲ | hgoel a minute ago | parent | next [-] | | I hate to make the worn out AI to RNG comparison, but this kind of simultaneous "collusion" is really like assuming that everyone is using the same RNG seed to make their calls. | |
| ▲ | nok22kon an hour ago | parent | prev | next [-] | | next stage - a single AI which computes the "correct" price that everyone else agrees on, and instantly reprice all financial instruments without trading them, thus not paying transaction costs | |
| ▲ | Muromec an hour ago | parent | prev | next [-] | | Sounds like soviet communist Sci-Fi with a planned economy managed objectively by The Computer. | |
| ▲ | iwontberude an hour ago | parent | prev [-] | | It’s a great excuse for collusion |
|
|
| ▲ | estebarb 27 minutes ago | parent | prev | next [-] |
| This is interesting. Adam Smith said "People of the same trade seldom meet together, even for merriment and diversion, but the conversation ends in a conspiracy against the public, or in some contrivance to raise prices." The annoying part is that, as the same Adam Smith says, regulating industries would end up enforcing such assemblies, reinforcing the problem... after all, industries can share information via the market itself... And proposed solutions end up being controversial: employees ownership, open source, paying taxes over stocks ownership... or just hoping that colluders will be broken by a randomly ocurring incumbent... |
|
| ▲ | api an hour ago | parent | prev | next [-] |
| If markets were perfectly efficient, entrepreneurship would not exist. An entrepreneur is, at this level, someone who looks for an arbitrage opportunity in correcting a market inefficiency, usually of the form "there is a market for X, X could be provided, but X is not currently provided." |
| |
| ▲ | AaronAPU an hour ago | parent | next [-] | | That seems to stretch the meaning of market inefficiency. Is the lack of unlimited free energy an inefficiency in a market? Because an entrepreneur who achieves that is going to do pretty well. I’d say that would be creating value not optimizing market efficiency. | | |
| ▲ | edot 37 minutes ago | parent | next [-] | | Yeah, and arbitrage. Arbitrage is exploiting the difference in prices of the same asset between two markets. Arbitrage is also risk-free or darn close to it. Entrepreneurship is anything but. Arbitrage is not "gee this product doesn't exist, I'll start a company and invent it and manufacture it and sell it" ... | |
| ▲ | SoftTalker 24 minutes ago | parent | prev [-] | | How would creating unlimited free energy allow an entrepreneur to do pretty well? It it's free, there's no money to be made. |
| |
| ▲ | jayd16 35 minutes ago | parent | prev | next [-] | | Ok so the market is perfect... but I exist and have labor to provide. Am I not naturally an "inefficiency" by not participating in the market? Therefore by participating alone, I have a new wrinkle to work from? | |
| ▲ | xxpor an hour ago | parent | prev [-] | | Seems like t is a very critical variable then. For example, you could imagine a particular market is "perfectly" efficient at the moment (however you want to define the boundaries of a particular market), and there is no opportunity. But then a completely unrelated company or university makes a fundemental advancement in materials science that fundamentally changes the landscape. An exogenous shock in other words. In a certain sense I guess this is why every anti-trust suit fundamentally comes down to defining the market bubble more than anything else. |
|
|
| ▲ | kibwen an hour ago | parent | prev | next [-] |
| Keeping in mind the mistake in the HN title (should be "P != NP"), the interesting part of the abstract is this: > Combined with Maymin (2011), who proved that market efficiency requires P = NP, this yields a fundamental impossibility: markets can be informationally efficient or competitive, but not both. (Note that Maymin is the author of both papers.) |
| |
| ▲ | marcosdumay an hour ago | parent | next [-] | | Yet neither paper seems to eliminate the case of markets being neither. So both titles are incorrect. | | |
| ▲ | iwontberude an hour ago | parent [-] | | Yeah using time complexity for computers to describe markets is simultaneously awesome and stupid. | | |
| ▲ | marcosdumay 31 minutes ago | parent [-] | | The idea that markets are an optimizing algorithm is kinda old already, and well established. Both papers seem to be jokes about it, based on complete caricatures of competitiveness and efficiency. It's kinda like a recent paper that was posted here proving "general intelligence" impossible while ignoring that humans exist. |
|
| |
| ▲ | argv_empty an hour ago | parent | prev [-] | | Except Maymin 2011 fails to even establish that his narrow definition of "markets are efficient" (specifically, finding a profitable technical analysis) is actually in NP. |
|
|
| ▲ | FailMore an hour ago | parent | prev | next [-] |
| Would anyone mind explaining what P and NP are? |
| |
| ▲ | dpweb 33 minutes ago | parent | next [-] | | P and NP are classes of computational problems. A problem in P can be solved in polynomial time - the computation required grows relatively slowly as the input size increases. Like sorting a list of numbers. A problem in NP requires exponential time or greater, but a proposed solution can be verified quickly. For example, checking a completed Sudoku puzzle. It is believed but unproven that all problems in NP are NOT in P. | | |
| ▲ | SoftTalker 19 minutes ago | parent | next [-] | | I have never really understood this, from the time it was first introduced to me in my undergraduate education nearly 40 years ago. It seems to boil down to saying "all unsolvable problems are not in the set of solvable problems" which seems like a tautology. I don't get why "P != NP" is considered so profound. I feel like I have not yet found the proper explanation. Or I'm just too dense to get it. | | |
| ▲ | program_whiz a few seconds ago | parent [-] | | Not sure you're wanting an explanation, but it comes down more to algorithms. For example there is a P algo to sort a list of numbers, but not to solve a sudoku. However, the reason they are part of the same category is because you can solve any problem in P / NP by switching the problem into another problem in the same category and solving that. For example, you can turn sudoku into a graph coloring problem, which is also NP. The major question is "is there any algorithm that would allow us to change some NP problems into P problems, solve it, then use it for the original problem". So basically, if there is any way to bridge the two, then it might mean every NP problem is actually solvable by a P algorithm. This would be immense because it would completely change the way we solve those algorithms and greatly reduce compute costs. However, as you say, its almost self-evidently true that P != NP, but has never been proven so (to do so, we need to prove that no such algorithm can exist). But clearly, solving an exponentially complex problem using a O(log n) algo would be remarkable. To take a concrete example, currently the best algos to exhaustively check a board game like chess or go are exponential (NP). Its easy to verify the winner, but its exponential to enumerate every possible move (e.g. 80^turns states). If we found a polynomial way to solve this (even by converting to something simplified), then it would mean we could exhaustively search chess polynomial to the number of moves (e.g. turns^100). This changes it from "cannot be done in the lifespan of universe" to "its possible with a powerful computer in measurable time". We already use heuristics and estimates to explore the exponential space in efficient time, so if we had a polynomial algo chess, markets, optimization, and other NP problems would be extremely efficient to solve. |
| |
| ▲ | bjourne 10 minutes ago | parent | prev [-] | | NP contains P. You're thinking of NP-hard problems. |
| |
| ▲ | PandaRider an hour ago | parent | prev | next [-] | | I have taken algorithms courses. This video explains in detail: https://www.youtube.com/watch?v=YX40hbAHx3s In short, P means Polynomial time (i.e. markets can solve computation problems efficiently) and NP means Non-Deterministic Polynomial time (i.e. markets can verify solutions of computation problems efficiently but solutions are found by luck). If P != NP, it means luck CANNOT be engineered and markets are competitive. | |
| ▲ | super_mario an hour ago | parent | prev | next [-] | | Wikipedia is a good source on this P complexity class https://en.wikipedia.org/wiki/P_(complexity) NP complexity class https://en.wikipedia.org/wiki/NP_(complexity) P vs NP question https://en.wikipedia.org/wiki/P_versus_NP_problem | |
| ▲ | VMG an hour ago | parent | prev | next [-] | | well obviously N=1 | |
| ▲ | convolvatron an hour ago | parent | prev [-] | | in CS we define a complexity class as a set of problems that have the same growth characteristic. that is for a problem size N, how long does it take in the worst case to find the solution for that problem. one such class is the Polynomial class, or P, where the time to solution is some fixed exponent of N (like N^2, or 3). the next big step is NP, which require a polynomial number of nondeterministic steps, whose solution can only be verified in polynomial time. usually solutions to NP problems are exponential in cost with respect to N (like 2^N), but thats not part of their definition. problems in NP are generally identified by mapping them into a well known problem known to be in NP, where the mapping has to occur in polynomial time. its an open question as to whether NP as a class can actually be solved in P time, but most people doubt that that is really the case. |
|
|
| ▲ | brunoborges 38 minutes ago | parent | prev | next [-] |
| It's time to forbid bots and HFT. Want to buy/sell a stock? Humans need to manually submit in the system. |
| |
| ▲ | ladberg 35 minutes ago | parent [-] | | Why? Don't you prefer getting better prices when you want to go buy a stock? | | |
| ▲ | stouset 26 minutes ago | parent | next [-] | | The argument is not that you get better prices, it’s that you get accurate prices. First, this definition has always been circular: what’s the most accurate price? The one the market comes up with. More market, more accuracy! Second, there is never any reconciliation of the costs society is saddled with in order to chase arbitrarily more accurate prices, the most obvious of which is the massive quantity of fat skimmed off by the financial services sector. Third, as an index investor, I more or less couldn’t care less. This hyperfixation on accuracy only really matters to people who are actively trading, which is already a fool’s game. | |
| ▲ | fluoridation 31 minutes ago | parent | prev [-] | | I prefer a better price delta between buy and sell, which is blind to price hikes across the board. | | |
|
|
|
| ▲ | wellbehaved 31 minutes ago | parent | prev | next [-] |
| "Third, I propose computational antitrust: the principle that market complexity itself is a competitive safeguard, and that regulators should consider computational difficulty as a design parameter." This "should" is doing a lot of work here. The paper is mainly about a game-theoretic model allegedly corresponding to real markets, but establishing what regulators ought to do requires far more rationale than mere math. It requires a bridge from "is" to "ought." It reminds me of Hume's warning about this kind of non-sequitur: "In every system of morality, which I have hitherto met with, I have always remarked, that the author proceeds for some time in the ordinary ways of reasoning, ... ; when all of a sudden I am surprised to find, that instead of the usual copulations of propositions, is, and is not, I meet with no proposition that is not connected with an ought, or an ought not. This change is imperceptible; but is however, of the last consequence." |
|
| ▲ | vlovich123 an hour ago | parent | prev | next [-] |
| > the collusion detection problem is computationally infeasible for markets satisfying a natural instance-hardness condition on their demand structure, rendering punishment threats non-credible and collusion unstable. And yet we’ve clearly observed stable price fixing cartels. Maybe the word “unstable” means too much or the game theory model used doesn’t describe the real world accurately. When theory is contradicted by the evidence, it would be wise to consider the theory is flawed. |
| |
| ▲ | narnarpapadaddy an hour ago | parent | next [-] | | Game theory here is applied to two fundamental market theorems. It’s a way to analyze the validity of those assumptions, rather than to build a new model. Empirical evidence to the contrary is expected given mutually inconsistent premises, which is what the author’s results predict. The author has simply used game theory math to disprove economist math. | | |
| ▲ | nok22kon an hour ago | parent [-] | | where do nuclear weapons fit in? do they make markets more/less efficient/competitive? | | |
| ▲ | narnarpapadaddy 6 minutes ago | parent | next [-] | | Way above my pay grade. I’m not an expert in game theory, economics, warfare, or nuclear proliferation. :) | |
| ▲ | lstodd 23 minutes ago | parent | prev [-] | | Where do conventional weapons fit it? Nuclear has been in maintenance mode for so long that there are doubts about if anyone could right now detonate one without shitting their pants on account if it would even go off. |
|
| |
| ▲ | moomin an hour ago | parent | prev | next [-] | | I suspect this is a standard mathematical “it is computationally impossible to do this in the general case despite it being entirely feasible in many cases”. | |
| ▲ | roblabla an hour ago | parent | prev | next [-] | | Or maybe the markets are actually proof that P = NP :^) | |
| ▲ | silentmafia an hour ago | parent | prev [-] | | Or, P=NP |
|
|
| ▲ | bobkb 44 minutes ago | parent | prev [-] |
| This gave me shivers |