Path Dependence in AMM-Based Markets: Mathematical Proof and Implications for Truth Discovery
Keroshan Pillay
TL;DR
The paper proves that AMM-based markets with the constant product invariant $x \times y = k$ exhibit path dependence: the final pool state hinges on the sequence of operations, not merely net activity. It combines formal non-commutativity proofs with extensive ETH/USDC empirical data to show real-world path effects and analyzes their implications for prediction markets and price interpretation. Its simulations demonstrate that identical information can yield different prices under different operation orders, challenging the notion of AMMs as pure truth machines and prompting design, governance, and transparency adjustments in DeFi protocols. The work contributes to market-efficiency discourse by highlighting memory effects in automated liquidity mechanisms and proposes practical mitigations and indicators for path sensitivity. This has broad practical impact for price discovery, risk management, and the design of robust, path-aware DeFi systems.
Abstract
This paper demonstrates that Automated Market Maker (AMM) based markets, such as those using constant product formulas (e.g., Uniswap), are inherently path-dependent. We prove mathematically that the sequence of operations in AMMs determines the final state, challenging the notion that market prices solely reflect information. This property has profound implications for decentralized prediction markets that rely on AMMs for price discovery, as it demonstrates they cannot function as pure "truth machines." Using both mathematical proofs and empirical evidence from ETH/USDC pools, we show that AMM-based markets incorporate historical path information beyond the current market beliefs. Our findings contribute to the understanding of market efficiency, mechanism design, and the interpretation of prices in decentralized finance systems.
