Law, logic, and the market.