Pith. sign in

REVIEW 1 cited by

Formalizing Automated Market Makers in the Lean 4 Theorem Prover

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2402.06064 v1 pith:NTGTC6IO submitted 2024-02-08 cs.LO cs.CEcs.GT

classification cs.LOcs.CEcs.GT
keywords economicammsautomatedcrypto-assetsexchangeleanmakersmarket
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Automated Market Makers (AMMs) are an integral component of the decentralized finance (DeFi) ecosystem, as they allow users to exchange crypto-assets without the need for trusted authorities or external price oracles. Although these protocols are based on relatively simple mechanisms, e.g., to algorithmically determine the exchange rate between crypto-assets, they give rise to complex economic behaviours. This complexity is witnessed by the proliferation of models that study their structural and economic properties. Currently, most of theoretical results obtained on these models are supported by pen-and-paper proofs. This work proposes a formalization of constant-product AMMs in the Lean 4 Theorem Prover. To demonstrate the utility of our model, we provide mechanized proofs of key economic properties like arbitrage, that at the best of our knowledge have only been proved by pen-and-paper before.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. A Formally Verified Library of Mathematical Finance in Lean 4

    q-fin.MF 2026-05 accept novelty 8.0 of 10 full

    A Lean 4 library with 200+ sorry-free theorems formalizes mathematical finance including the L2 Itô integral and derived risk-neutral measure, plus a faithfulness audit.

Pith tools