Tag
Quantitative Finance with OCaml is a comprehensive technical book/guide covering derivatives pricing, risk management, credit modeling, algorithmic trading, and HFT infrastructure using OCaml, with production-quality code, honest mathematical derivations, and coverage of modern OCaml 5 features (domains, effects, OxCaml extensions).
This paper describes a formally verified library of mathematical finance in Lean 4, containing over 200 theorems covering measure-theoretic foundations through derivative pricing, and includes a faithfulness audit to classify results by how their Lean statement relates to the claimed mathematics.