Uniswap V3, Convex Optimization, Arbitrage, Routing, English.
against each other, or arbitraging Carbon positions against each other and against the wider market. It is easy to see that problem (2) is a sub-problem of problem (1) if we require that the input amount is zero TKN1, and we want to maximize the (positive) amount of TKN2 which is say ETH or USDC,