The fallacy of composition is the logical error Keynesian economics exists to correct. It consists of assuming that the properties of parts can be attributed to wholes — that if each household benefits from saving more, the economy benefits from everyone saving more; that if each firm benefits from cutting nineteen workers, the economy benefits from every firm cutting nineteen workers. The fallacy is the structural explanation for why individually rational behavior produces collectively irrational outcomes, and why the AI transition cannot be analyzed one firm or one worker at a time. Understanding it converts what appears to be a mystery of unintended consequences into a predictable pattern of structural dysfunction.
The fallacy is ancient in formal logic but acquired new power in Keynesian economics, where it became the diagnostic instrument for explaining how markets fail systematically. Classical economics assumed the sum of rational parts was a rational whole. Keynes demonstrated, in domain after domain, that this assumption was false — that markets composed of individually rational agents routinely produced collectively irrational outcomes that no agent chose and none could unilaterally correct.
The AI application is structurally transparent. Each firm's decision to convert its productivity multiplier into headcount reduction is rational — margin increases, efficiency rises, competitive position strengthens. The aggregate outcome of every firm making this decision is catastrophic: employment collapse, aggregate demand contraction, the destruction of the consumer base that sustains the firms themselves.
The paradox of thrift, paradox of attention thrift, and the AI prisoner's dilemma are all specific applications of the fallacy of composition. So is the broader pattern that The Orange Pill describes in the factory owner's arithmetic — the seduction of the local optimization that, aggregated, destroys the system.
The corrective for the fallacy is not to prohibit individually rational behavior but to construct institutions that manage the aggregate consequences. This is the Keynesian prescription in its most general form: when individual rationality and collective outcomes diverge, institutions must bridge the gap.
The fallacy is formalized in classical logic from Aristotle onward. Its economic application is Keynesian, though antecedents appear in Mandeville, Malthus, and the underconsumptionist tradition.
Parts and wholes do not scale trivially. What is true of one household, firm, or worker may reverse at the aggregate level.
Individual rationality is not aggregate rationality. The sum of correct individual decisions can produce a collectively destructive outcome.
Market failure's structural foundation. Most market failures derive from the fallacy of composition operating without institutional correction.
AI's specific vulnerability. Near-zero-cost production amplifies the gap between individual rationality and collective outcomes.
Institutional bridge required. Correcting the fallacy requires deliberate institutional design, not individual virtue.
The scope of institutional correction required. Libertarians argue that most apparent composition fallacies resolve themselves through market adjustment; Keynesians argue that many do not and require active institutional management.