A Formally Verified Library of Mathematical Finance in Lean 4

πŸ“… 2026-05-31
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF

career value

178K/year
πŸ€– AI Summary
This work addresses the absence of a formally verified foundational library in mathematical finance, which has hindered rigorous and reusable theoretical development. Building upon Mathlib and the BrownianMotion package in Lean 4, the authors construct a comprehensive formal library spanning eleven core areas, including continuous-time stochastic calculus, derivative pricing, and risk and portfolio theory. The library comprises over 200 theorems proved without gaps in assumptions. Notably, it presents the first formal construction of the LΒ² ItΓ΄ integral and derives the risk-neutral measure within a proof assistant. Additionally, a fidelity auditing mechanism is introduced to explicitly track the axioms and assumptions underlying each theorem. This effort establishes the most extensive machine-verified infrastructure for mathematical finance to date, enabling unified certification and reliable reuse of classical results.
πŸ“ Abstract
We describe a library of mathematical finance built in the Lean 4 proof assistant, on top of Mathlib and the BrownianMotion package. It is broad: more than two hundred sorry-free theorems across eleven areas, from the measure-theoretic foundations of continuous-time stochastic calculus through derivative pricing to applied risk, portfolio, and fixed-income theory, and, to our knowledge, the most comprehensive machine-checked development of mathematical finance to date. Breadth is the setting, not the point. Two things make it more than a catalogue. It reaches into the continuous theory far enough to construct the L2 ItΓ΄ integral as a bounded linear isometry and to derive, rather than assume, the risk-neutral pricing measure. And it audits its own faithfulness: every result is classified by how its Lean statement relates to the mathematics it claims, and a build-enforced gate pins the axioms each proof actually uses, so a reader can see precisely what has been proved and what has only been proved under added hypotheses. We close with a candid finding: a formal base over classical financial mathematics yields certified unification of known results rather than new financial theory. The contribution is therefore methodological and infrastructural, reusable verified foundations for mathematical finance, together with the faithfulness audit.
Problem

Research questions and friction points this paper is trying to address.

formal verification
mathematical finance
faithfulness audit
machine-checked development
verified foundations
Innovation

Methods, ideas, or system contributions that make the work stand out.

formal verification
Ito integral
risk-neutral measure
faithfulness audit
Lean 4
πŸ”Ž Similar Papers
2024-03-20Conference on Empirical Methods in Natural Language ProcessingCitations: 1