Search arXivSearch

arXiv · 2606.28990

The Fundamental Theorem of Asset Pricing, Formalized in Lean 4

Abstract

The Fundamental Theorem of Asset Pricing states that a market is free of arbitrage exactly when it admits an equivalent martingale measure. We formalize it in Lean 4 over Mathlib in three settings: a finite-state market over a finite horizon (Harrison-Pliska), a one-period market on an arbitrary probability space with a single scalar return (Follmer-Schied), and a one-period market with finitely many assets. The finite case is the geometry of a separating hyperplane; the scalar one-period case is an elementary change of measure. In the $d$-asset case the equivalent martingale measure is constructed explicitly, as the minimiser of the smooth convex potential $\mathbb{E}[\log(1+e^{\langleθ,Y\rangle})]$: absence of arbitrage is precisely coercivity of the potential, its first-order condition is the martingale property, and the minimiser's logistic weight is the density of the measure. The construction uses no Hahn-Banach theorem, no $L^0$-closedness argument, no measurable selection, and no non-redundancy hypothesis. To our knowledge this is the first machine-checked Fundamental Theorem of Asset Pricing in any proof assistant. The boundary is explicit: the general multi-period Dalang-Morton-Willinger theorem lies outside the development. Every theorem is sorry-free, each headline result's axioms are pinned to Mathlib's classical defaults by a build-enforced gate, and the whole is reproducible from a pinned toolchain.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Raphael Coelho. 2026-06-27. The Fundamental Theorem of Asset Pricing, Formalized in Lean 4. https://arxiv.org/abs/2606.28990

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Fixed-Income Pricing and the Replication of Liabilities

This paper develops a model-free framework for static fixed-income pricing and the replication of liability cash flows. The absence of static arbitrage across a universe of fixed-income instruments is equivalent to the existence of a strictly positive discount curve reproducing all observed prices. Linear programming duality then identifies the least-cost super-replication price with the largest value that any admissible discount curve assigns to the liability, so that the resulting bounds are attained and cannot be improved. Complementary slackness confines over-replication to dates that the optimal discount vector prices at zero, and a least-cost portfolio matches the liability exactly at no fewer dates than the rank of the cash-flow matrix. We also obtain generic uniqueness of that portfolio, an interpolation between quadratic hedging and super-replication, and a static treatment of swap--repo strategies. On US Treasury cross-sections the observed prices violate the law of one price, so that a discount curve must be estimated rather than bootstrapped; the least-cost portfolio then matches an annuity liability at almost every cash-flow date.

q-fin.MF

Gatheral's Conjecture Revisited

We consider the Heston model with perfect negative spot--variance correlation and its one-dimensional local-volatility projection. Let $I_T^{\mathrm H}$ and $I_T^{\mathrm{LV}}$ denote their respective integrated variances over $[0,T]$. We establish the inequality \[ \mathbb{E}\bigl[(I_T^{\mathrm H}-K)^+\bigr] < \mathbb{E}\bigl[(I_T^{\mathrm{LV}}-K)^+\bigr] \] for every maturity $T>0$ and every strike $K>0$. Consequently, Heston integrated variance is strictly smaller in convex order than the integrated variance of the calibrated local-volatility model. This strict ordering gives a Heston-model counterexample to the convex-order inequality conjectured by J. Gatheral.

q-fin.MF

Concave Shape of the Yield Curve and No Arbitrage

In fixed income sector, the yield curve is probably the most observed indicator by the market for trading and fifinancing purposes. A yield curve plots interest rates across different contract maturities from short end to as long as 30 years. For each currency, the corresponding curve shows the relation between the level of the interest rates (or cost of borrowing) and the time to maturity. For example, the U.S. dollar interest rates paid on U.S. Treasury securities for various maturities are plotted as the US treasury curve. For the same currency, if the swap market is used, we could also plot the swap rates across the tenors which would be called the swap curve.Even the yield curve can be at, upward or downward (inverted), however, yield curve is generally concave. There is a lack of explanation of the concavity of the yield curve shape from economics theory. We offer in this article an explanation of the concavity shape of the yield curve from trading perspectives.

q-fin.MF