{"paper_id":"2310.09782","title":"All AMMs are CFMMs. All DeFi markets have invariants. A DeFi market is arbitrage-free if and only if it has an increasing invariant","authors":["Roger Lee"],"paper_date":"2023-10-15","paper_type":"theoretical","paper_url":"https://arxiv.org/pdf/2310.09782v2","page_url":"https://thequant.space/flowcharts/all-amms-are-cfmms.-all-defi-markets-have-invariants.-a-defi/","scores":{"empirical_rigor":2,"math_complexity":8.5,"quadrant":"Lab Rats"},"proposes":{"status":"available","statement":"The paper proposes that every DeFi market system is a constant‑function market maker (CFMM) and that a DeFi market is arbitrage‑free if and only if it possesses a strictly increasing invariant; likewise, a CFMM is complete if and only if its invariant is unique.","quote":"In a universal framework that expresses any market system in terms of state transition rules, we prove that every DeFi market system has an invariant function and is thus by definition a CFMM; indeed, all automated market makers (AMMs) are CFMMs. First, a DeFi market system is, we prove, arbitrage-free if and only if it has a strictly increasing invariant, where arbitrage-free means that no state can be transformed","summary":"In a universal framework that expresses any market system in terms of state transition rules, we prove that every DeFi market system has an invariant function and is thus by definition a CFMM; indeed, all automated market makers (AMMs) are CFMMs. Invariants connect directly to arbitrage and to…","strategy":null},"assumptions":{"status":"available","items":[{"assumption":"Continuity of the market system’s transition rules.","type":"model","stated":"explicit","quote":"3.3 Necessary conditions for absence of arbitrage Theorem 3.11 will show, assuming continuity and giftability, that any arbitrage-free market system must have an increasing invariant. Deﬁnition 3.9.","support":"full"},{"assumption":"Giftability: for any states x, y with y D x, the system satisfies x ≾ y.","type":"model","stated":"explicit","quote":"3.3 Necessary conditions for absence of arbitrage Theorem 3.11 will show, assuming continuity and giftability, that any arbitrage-free market system must have an increasing invariant. Deﬁnition 3.9. A market system on X is giftable if x ≾y for all x, y ∈X satisfying y D x.","support":"full"}]},"datasets":{"status":"none_found","items":[],"known":[],"sample":{"start":null,"end":null,"market":null,"asset_class":null,"frequency":null},"data_resolution":"none"},"transaction_costs":{"status":"not_applicable","modeled":"n/a","headline_net_of_costs":null,"detail":null,"quote":null,"source":"front_matter","rule":"R3","candidates":{"front_matter":"n/a","evidence_card":"n/a","evidence_card_quoted":false},"meaning":"the paper reports no trading or execution result"},"results":{"status":"available","evaluation_type":"none","findings":[{"finding":"Theorem 7.1 (First fundamental theorem) shows that a DeFi system is arbitrage‑free exactly when it has a strictly increasing invariant (or weak invariant).","kind":"theoretical","quote":"The following are equivalent: (a) M is arbitrage-free. (b) M has a strictly increasing invariant.","support":"partial"},{"finding":"Theorem 7.2 (Second fundamental theorem) shows that a CFMM is complete exactly when it has a unique invariant (modulo strictly increasing transformations).","kind":"theoretical","quote":"The following are equivalent: (a) M is complete. (b) M has an invariant that recovers M. (c) Each invariant of M recovers M. (d) M has only one invariant (modulo composition with strictly increasing mappings). Proof.","support":"partial"},{"finding":"All automated market makers (AMMs) are CFMMs, and every DeFi market system possesses an invariant function.","kind":"theoretical","quote":"In a universal framework that expresses any market system in terms of state transition rules, we prove that every DeFi market system has an invariant function and is thus by definition a CFMM; indeed, all automated market makers (AMMs) are CFMMs.","support":"full"}],"reported_performance":null,"out_of_sample":{"method":"none","headline_out_of_sample":null}},"independent_evidence":{"status":"none_found","supports":[],"contradicts":[],"qualifies":[],"compared_with":12,"citations":{"cited_by_in_corpus":1,"by_independent_authors":1,"how_cited":{"used_as_baseline":0,"uses_method_or_data":0,"extends":0,"discusses_findings":0,"mentions":1,"unclassified":0},"independent_papers":[],"scope":"Citations between papers in this corpus only; citations from outside it are not counted."}},"implementation":{"status":"available","public":false,"code_url":null,"note":"No repository presented by the authors as their own was found in the paper. Absence here is not proof that no code exists."},"replication":{"status":"none_found","card":null,"note":"No replication of this paper has been run by thequant.space yet."},"extraction":{"text_source":"fulltext","model":"openai/gpt-oss-120b","version":2,"extracted_at":"2026-11-14T20:00:48Z"},"provenance":{"claims":"Everything here is what the authors state in the paper. Nothing was re-run or reproduced by the platform.","quotes":"Assumptions, datasets, cost detail and findings were extracted by a language model. Every quote is verbatim paper text. Where an item has `support`, \"full\" means every figure in it appears in the quoted sentences and \"partial\" means a figure is stated elsewhere in the paper; items with a figure found nowhere in the paper were discarded.","datasets_known":"datasets.known lists well-known vendors and public datasets by a stable id, found by a dictionary over the full text where the sentence says the data is used; it is independent of the model and covers only names in the dictionary.","flags":"transaction_costs.modeled, results.evaluation_type and results.out_of_sample.method are platform classifications (structured-decision models); see https://thequant.space/score-guide/#penalty-flags","comparisons":"supports / contradicts / qualifies are a language model's reading of two papers' quoted findings, restricted to closely related papers that share no author. They are pointers to read, not verified replications, and coverage is partial.","implementation":"code_url is a repository the paper itself presents as its own (rule-scored, ambiguous cases judged by a model), checked for liveness when it was recorded."},"docs":"https://thequant.space/agents/"}