Formal State-Machine Models for Uniswap v3 Concentrated-Liquidity AMMs: Priced Timed Automata, Finite-State Transducers, and Provable Rounding Bounds
Julius Tranquilli, Naman Gupta

TL;DR
This paper introduces formal models for Uniswap v3's concentrated-liquidity AMMs using timed automata and finite-state transducers, enabling rigorous verification of invariants and rounding bounds.
Contribution
It develops a formal modeling framework for Uniswap v3 CLAMMs with timed automata and transducers, and proves invariants under rounding effects.
Findings
Formal encoding of Uniswap v3 invariants in PTA and TLA+
Proof of invariant preservation up to tight rounding bounds
Exhaustive model checking confirms correctness in specific configurations
Abstract
Concentrated-liquidity automated market makers (CLAMMs), as exemplified by Uniswap v3, are now a common primitive in decentralized finance frameworks. Their design combines continuous trading on constant-function curves with discrete tick boundaries at which liquidity positions change and rounding effects accumulate. While there is a body of economic and game-theoretic analysis of CLAMMs, there is negligible work that treats Uniswap v3 at the level of formal state machines amenable to model checking or theorem proving. In this paper we propose a formal modeling approach for Uniswap v3-style CLAMMs using (i) networks of priced timed automata (PTA), and (ii) finite-state transducers (FST) over discrete ticks. Positions are treated as stateful objects that transition only when the pool price crosses the ticks that bound their active range. We show how to encode the piecewise…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAuction Theory and Applications · Game Theory and Voting Systems · Game Theory and Applications
