mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Bylines, paper authorship, correspondence addresses and the founder blurb under each post named an individual. They name the organisation that published the work instead: the brand on posts and pages, the research byline on papers, and research@ in place of a personal address. Both are what these repositories already used elsewhere — nothing new was coined. Co-authors are untouched. Where a paper named someone else alongside, they stay named; only the one byline changed. Bibliography entries, running heads, PDF metadata and affiliations move with it, so a citation still resolves to whoever the cited paper names. Sample and fixture data uses the placeholder name these tests already use elsewhere, so no assertion changed meaning.
109 lines
4.2 KiB
TeX
109 lines
4.2 KiB
TeX
\documentclass[11pt,letterpaper]{article}
|
|
\usepackage{../shared/luxcover}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage{amsmath,amssymb,amsfonts,amsthm}
|
|
\usepackage{mathtools}
|
|
\usepackage{graphicx}
|
|
\usepackage{booktabs}
|
|
\usepackage{hyperref}
|
|
\usepackage{enumitem}
|
|
\usepackage{algorithm}
|
|
\usepackage{algorithmic}
|
|
\usepackage{xcolor}
|
|
\usepackage{listings}
|
|
\usepackage{tikz}
|
|
\usepackage{float}
|
|
\usepackage{array}
|
|
\usepackage{multirow}
|
|
\input{../shared/lstlang}
|
|
|
|
\hypersetup{colorlinks=true,linkcolor=black,citecolor=blue,urlcolor=blue}
|
|
|
|
\lstset{
|
|
basicstyle=\ttfamily\scriptsize,
|
|
breaklines=true,
|
|
frame=single,
|
|
numbers=left,
|
|
numberstyle=\tiny\color{gray},
|
|
keywordstyle=\color{blue!70!black}\bfseries,
|
|
commentstyle=\color{green!50!black}\itshape,
|
|
stringstyle=\color{red!60!black},
|
|
showstringspaces=false,
|
|
}
|
|
|
|
\newtheorem{theorem}{Theorem}
|
|
\newtheorem{lemma}[theorem]{Lemma}
|
|
\newtheorem{proposition}[theorem]{Proposition}
|
|
\newtheorem{corollary}[theorem]{Corollary}
|
|
\newtheorem{definition}{Definition}
|
|
\newtheorem{remark}{Remark}
|
|
|
|
\title{Lux Lightspeed DEX: High-Frequency Trading at the Speed of Light}
|
|
|
|
\author{
|
|
Lux Research\thanks{Corresponding author: [email protected]}\\
|
|
\textit{Lux Industries, Inc.}\\
|
|
\texttt{[email protected]}
|
|
}
|
|
|
|
\date{}
|
|
|
|
\begin{document}
|
|
|
|
\luxcoverpage
|
|
|
|
\begin{abstract}
|
|
We present \textbf{Lux Lightspeed DEX}, a decentralized exchange whose matching
|
|
engine \emph{is} a chain. The DEX is the \textbf{D-Chain}: a single-operator
|
|
high-frequency-trading consensus chain with its own consensus, \texttt{zapdb}
|
|
persistence, and an execution-root state commitment, and the only place orders
|
|
match or DEX state lives. A stateless \textbf{atomic ZAP proxy} (\texttt{chains/dexvm})
|
|
on the public Lux network relays orders to the D-Chain and moves value atomically
|
|
via shared-memory import/export, holding no order book of its own. The design is
|
|
\emph{decomplected}: matching and state in one home, atomic transport in another,
|
|
the client wrapper in a third, and an EVM CLOB facade (precompile \texttt{0x9999})
|
|
in a fourth. Determinism is enforced by running the matcher inside
|
|
\texttt{Block.Verify} against a versioned overlay, committing to \texttt{zapdb} at
|
|
\texttt{Accept}, with the proposer relaying once at block build and carrying the
|
|
fills in the block bytes---no per-validator divergence.
|
|
|
|
We report \textbf{measured}, byte-parity-gated benchmarks on real hardware. A tuned,
|
|
byte-exact \texttt{uint256} GPU CLOB matcher (coalesced structure-of-arrays layout)
|
|
sustains \textbf{9.13\,B orders/sec} on an NVIDIA GB10 (from a 1.54\,B un-coalesced
|
|
baseline), \textbf{5.60\,B orders/sec} on an Apple M4 Max, \textbf{2.80\,B orders/sec}
|
|
on an Apple M1 Max, and \textbf{12.76\,B orders/sec} on an AMD Radeon 8060S---the
|
|
fastest device measured---byte-identical to a CPU reference oracle across millions of
|
|
fuzz cases. A single device therefore clears $10^{9}$ orders/sec per venue on its own;
|
|
a two-node fabric aggregates linearly to \textbf{21.9\,B orders/sec}. Settlement via
|
|
market-sharded Block-STM detects conflicts at 2.2\,M fills/s (CPU), byte-identical to
|
|
the GPU conflict-detection kernel. Per-market trade batches roll up to the Z-Chain,
|
|
which verifies one proof per $K$ trades: P3Q (ML-DSA-65 attestation) at 4{,}714
|
|
verifies/s and \texttt{starkfri} (STARK/FRI validity proof) at 986 verifies/s for a
|
|
toy AIR. Matching throughput and settlement \emph{finality} are separate axes: the
|
|
per-device matcher clears billions of orders/sec, while the rollup clears $10^{9}$
|
|
settled-tx/s on the finality axis at fleet scale.
|
|
|
|
\textbf{Keywords}: decentralized exchange, high-frequency trading, order matching,
|
|
MEV resistance, GPU acceleration, rollup, Block-STM
|
|
\end{abstract}
|
|
|
|
\input{sections/01-introduction}
|
|
\input{sections/02-architecture}
|
|
\input{sections/03-consensus-determinism}
|
|
\input{sections/04-mev-resistance}
|
|
\input{sections/05-cross-chain-swaps}
|
|
\input{sections/06-precompile-clob-facade}
|
|
\input{sections/07-gpu-matching}
|
|
\input{sections/08-settlement-blockstm}
|
|
\input{sections/09-rollup-zchain}
|
|
\input{sections/10-benchmarks}
|
|
\input{sections/11-security}
|
|
\input{sections/12-economic-model}
|
|
\input{sections/13-related-work}
|
|
\input{sections/14-future-work}
|
|
\input{sections/15-conclusion}
|
|
\input{sections/99-acknowledgments}
|
|
|
|
\end{document}
|