English

Verified Double Sided Auctions for Financial Markets

Computer Science and Game Theory 2021-04-20 v1 Logic in Computer Science

Abstract

Double sided auctions are widely used in financial markets to match demand and supply. Prior works on double sided auctions have focused primarily on single quantity trade requests. We extend various notions of double sided auctions to incorporate multiple quantity trade requests and provide fully formalized matching algorithms for double sided auctions with their correctness proofs. We establish new uniqueness theorems that enable automatic detection of violations in an exchange program by comparing its output with that of a verified program. All proofs are formalized in the Coq proof assistant without adding any axiom to the system. We extract verified OCaml and Haskell programs that can be used by the exchanges and the regulators of the financial markets. We demonstrate the practical applicability of our work by running the verified program on real market data from an exchange to automatically check for violations in the exchange algorithm.

Keywords

Cite

@article{arxiv.2104.08437,
  title  = {Verified Double Sided Auctions for Financial Markets},
  author = {Raja Natarajan and Suneel Sarswat and Abhishek Kr Singh},
  journal= {arXiv preprint arXiv:2104.08437},
  year   = {2021}
}

Comments

ITP 21

R2 v1 2026-06-24T01:16:04.937Z