mirror of
https://github.com/hanzoai/papers.git
synced 2026-11-03 02:27:30 +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.
68 lines
3.9 KiB
TeX
68 lines
3.9 KiB
TeX
% Hanzo HMM (Hamiltonian Market Maker) Paper
|
|
% Expanded academic treatment with full Hamiltonian mechanics formulation
|
|
\documentclass[11pt,twocolumn]{article}
|
|
\usepackage{../shared/hanzocover}
|
|
\usepackage{amsmath, amssymb, amsthm}
|
|
\usepackage{mathtools}
|
|
\usepackage{bm}
|
|
\usepackage{graphicx}
|
|
\usepackage{booktabs}
|
|
\usepackage{hyperref}
|
|
\usepackage{enumitem}
|
|
\usepackage{algorithm}
|
|
\usepackage{algpseudocode}
|
|
\usepackage{xcolor}
|
|
\usepackage{float}
|
|
\usepackage{subcaption}
|
|
\usepackage{multirow}
|
|
\usepackage[numbers]{natbib}
|
|
\hypersetup{colorlinks=true,linkcolor=black,citecolor=blue,urlcolor=blue}
|
|
|
|
\newtheorem{theorem}{Theorem}
|
|
\newtheorem{lemma}[theorem]{Lemma}
|
|
\newtheorem{proposition}[theorem]{Proposition}
|
|
\newtheorem{corollary}[theorem]{Corollary}
|
|
\newtheorem{definition}{Definition}
|
|
\newtheorem{remark}{Remark}
|
|
|
|
\title{Hamiltonian Market Maker (HMM): Physics-Inspired Automated Market Making for AI Compute}
|
|
\author{
|
|
Antje Worring, Hanzo AI Research\thanks{Corresponding author: [email protected]} \quad
|
|
David Wei \quad
|
|
Marcus Chen \\
|
|
\textit{Hanzo AI Research} \\
|
|
\texttt{[email protected]}
|
|
}
|
|
\date{September 2025}
|
|
|
|
\begin{document}
|
|
|
|
\hanzocoverpage
|
|
|
|
\begin{abstract}
|
|
We present the \textbf{Hamiltonian Market Maker (HMM)}, a physics-inspired automated market maker (AMM) that leverages the mathematical structure of Hamiltonian mechanics to price heterogeneous AI compute resources on decentralized exchanges. Traditional AMMs such as Uniswap's constant product formula operate effectively for fungible token pairs but fail when applied to multi-dimensional resource bundles with quality constraints, SLA requirements, and rapidly shifting supply-demand dynamics characteristic of AI compute markets. HMM formulates the market state as a point in a symplectic phase space $(\bm{q}, \bm{p}) \in T^*\mathcal{M}$, where generalized coordinates $\bm{q}$ represent resource reserves and conjugate momenta $\bm{p}$ encode demand pressures. The Hamiltonian function $\mathcal{H}(\bm{q}, \bm{p})$ serves as a conserved invariant that determines endogenous prices without external oracle dependency. We derive the full equations of motion governing price evolution, prove conservation laws analogous to energy and momentum in classical mechanics, and construct symplectic integrators that preserve the geometric structure of the phase space under discrete trading updates. We extend the framework to multi-asset pools with weighted resources, prove impermanent loss bounds strictly tighter than constant product and stableswap alternatives, and introduce a MEV resistance mechanism grounded in the non-commutativity of phase space flows. Extensive simulations over 180 days of synthetic trading data demonstrate that HMM achieves 15.3\% higher capital efficiency than orderbook baselines, 98.7\% price stability versus 89.2\% for oracle-based AMMs, quote latency under 200ms, and impermanent loss 32\% lower than Uniswap v3 concentrated liquidity positions. We provide formal security proofs against flash loan attacks, sandwich attacks, and oracle manipulation, and present results from a live testnet deployment with 50 worker nodes and 100 client agents.
|
|
\end{abstract}
|
|
|
|
\input{sections/01-introduction}
|
|
\input{sections/02-hamiltonian-formulation}
|
|
\input{sections/03-conservation-laws}
|
|
\input{sections/04-symplectic-integrators}
|
|
\input{sections/05-phase-space-geometry}
|
|
\input{sections/06-multi-asset-generalization}
|
|
\input{sections/07-impermanent-loss-analysis}
|
|
\input{sections/08-mev-resistance}
|
|
\input{sections/09-system-architecture}
|
|
\input{sections/10-liquidity-provision}
|
|
\input{sections/11-experimental-evaluation}
|
|
\input{sections/12-security-analysis}
|
|
\input{sections/13-related-work}
|
|
\input{sections/14-discussion}
|
|
\input{sections/15-conclusion}
|
|
\input{sections/16-proof-of-theorem-ref-thm-il}
|
|
\input{sections/17-solidity-interface}
|
|
\input{sections/18-hamiltonian-derivation-details}
|
|
\input{sections/19-convergence-proofs-for-symplectic-integr}
|
|
\input{sections/99-lyapunov-stability-proof}
|
|
|
|
\end{document}
|