Metraipolis › archive › dc_7cff3fc4fc00

If It Walks Like an Arbitrage: Protocol-Agnostic Detection with Decidable Structural Equivalence — arXiv:2608.20377

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.20377
License (as archived)
CC0-1.0
Archived
2026-10-18T10:31:19.077Z
SHA-256 of the archived text
5d6cce20a399ec2ecb38f84780a55461ea238ac0549a0c14b1e782fc4b89bb8f
Stable URL of this page
https://metraipolis.com/documento/dc_7cff3fc4fc00

How to cite

If It Walks Like an Arbitrage: Protocol-Agnostic Detection with Decidable Structural Equivalence — arXiv:2608.20377 — arXiv (en), https://arxiv.org/abs/2608.20377 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7cff3fc4fc00 (Metraipolis archive dc_7cff3fc4fc00, sha256 5d6cce20a399ec2ecb38f84780a55461ea238ac0549a0c14b1e782fc4b89bb8f)
BibTeX
@misc{dc7cff3fc4fc00,
  title = {If It Walks Like an Arbitrage: Protocol-Agnostic Detection with Decidable Structural Equivalence — arXiv:2608.20377},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.20377},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7cff3fc4fc00; sha256 5d6cce20a399ec2ecb38f84780a55461ea238ac0549a0c14b1e782fc4b89bb8f},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20377. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Whether a transaction performed an arbitrage, and by which route, is a question asked of its execution trace after the fact. We conjecture that such traces admit a normal form on which questions of this kind become queries, and we test it by building one and putting it to work. Each trace becomes an abstract syntax tree of token transfers, grouped by call- frame nesting. A term rewriting system of 16 rules reduces it. Rewriting terminates and carries exactly the transfers of the trace, whichever order the rules fire in. Under a deterministic kernel scanning the EVM-fixed trace order, every trace has a unique normal form, and the structural equivalence this induces on fund flows is decidable. Preservation, termination, soundness, uniqueness and decidability are mechanized in Rocq with zero admitted obligations. We report arbitrage detection in full: cycles emerge at the fixpoint and are read off the normal form with no protocol-specific patterns. Detection is the query we evaluate at scale; structural equivalence is a second query. The pipeline depends only on the standard ERC token and WETH ABIs, so the same binary runs unmodified on Arbitrum and BSC. We evaluate on two arbitrary block ranges, analysed in full with no transaction excluded: 220 000 Ethereum blocks against EigenPhi, a widely used MEV detection platform, and 1 000 shared blocks against ArbiNet, a graph neural network classifier. These are the only tools and label sets in this domain we were able to reuse. We report 469 801 confirmed arbitrages, overlapping 83.5% with EigenPhi and 81% with ArbiNet, together with 245 497 attempted arbitrages and 60 199 confirmed detections EigenPhi does not report. 99.2% follow from the fixpoint alone and are sound over the decoded transfers, and manual validation of 500 transactions finds no false positive among the confirmed.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-24 in cs.LG).
Categorie arXiv: Computational Finance (q-fin.CP) ; Cryptography and Security (cs.CR); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.20377 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T10:27:55.969Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).