Contracts/Instruments/Options.lean defines the instruments and says what they pay; this file prices them in one model. BlackScholes.assets is the single-asset Black–Scholes market as a model map, and each instrument's Contract.value under it is the closed form MathFin/BlackScholes/ already proves. Another model gets its own file of the same shape and its own namespace (Models/Binomial/Binomial.lean, Contracts.Binomial); the instruments do not change.
BlackScholes.assets is constant in t: every instrument priced here observes the underlying only at its maturity T, so the model's value at other times is irrelevant to what gets priced. A path-dependent instrument needs the full path and is deferred.
Nothing new is proved about Black–Scholes here. A single cash flow's value is the integral of its discounted payoff (Contract.value_pay), which is exactly the integral bs_call_formula, bs_put_formula and bs_cash_or_nothing_formula compute. The capped call is priced by composition: Contract.value_both and Contract.value_scale reduce it to two call values, and no third integral is evaluated.
Main definitions
BlackScholes.assets — the single-asset Black–Scholes model as a model map Unit → ℝ≥0 → Ω → ℝ, constant in t and equal to bsTerminal at every time.
Main results
value_europeanCall, value_europeanPut, value_digitalCall — each instrument's value is bs_call_formula, bs_put_formula and bs_cash_or_nothing_formula respectively.value_forward — the forward is worth S₀ − K e^{−rT}.value_cappedCall — the capped call is worth the difference of two call values.value_powerCall — the power call is bs_power_call_formula.
Source
The layered separation of contract semantics from pricing semantics, and the framing "the contract is not the model", are due to Paul Bilokon, The Contract Is Not the Model: Proof-Carrying Exotic Derivatives and the Economics of Model Risk (working paper, 9 August 2026; Mathematical Finance, Imperial College London), with code at <https://github.com/thalesians/lean_contracts> (Apache-2.0). That paper in turn builds on the compositional contract-DSL of Peyton Jones, Eber and Seward (2000) and the certified-contract work of Bahr, Berthold and Elsman (2015) and Annenkov (2018).
The source paper's §"Pricing-model validation" lists proving contract cashflows measurable and integrable, and connecting them to a concrete model, as future work; this file does that reduction against closed forms the library already proves.
No code is copied from lean_contracts; every definition and proof here is written for this library. See docs/specs/2026-08-16-contracts-tower-design.md §6 for the full credit line.
References
- P. Bilokon, The Contract Is Not the Model [Bilokon2026]
- J. C. Hull, Options, Futures, and Other Derivatives [Hull], 12.3; 15.6; 16.6; 26.4
- S. E. Shreve, Stochastic Calculus for Finance II: Continuous-Time Models [ShreveSCFII], 4.5
- Zhang, Exotic Options [ZhangExoticOptions]
Tags
Black–Scholes model, contract pricing, capped call, digital call, power call, lognormal, MSC 91G20, JEL G13
Import neighbourhood
Above: what it imports. Below: what imports it.
Corpus entries
mf-contract-european-call · contracts.json · full statement
Reified European Call Prices to the Black-Scholes Formula
The reified European call contract europeanCall K T -- a Payoff literally built from max, sub, obs and const nodes rather than an inline lambda -- prices under the single-asset Black-Scholes model to the closed-form call formula S_0 Phi(d_1) - K e^{-rT} Phi(d_2). The proof reduces Contract.value to the exact integral MathFin.bs_call_formula already computes; no new Black-Scholes content is proved here.
mf-contract-european-put · contracts.json · full statement
Reified European Put Prices to the Black-Scholes Formula
The reified European put contract europeanPut K T prices under the single-asset Black-Scholes model to the closed-form put formula K e^{-rT} Phi(-d_2) - S_0 Phi(-d_1). The proof reduces Contract.value to the exact integral MathFin.bs_put_formula already computes; no new Black-Scholes content is proved here.
mf-contract-digital-cash-or-nothing · contracts.json · full statement
Reified Digital Call Prices to Its Closed Form
The reified cash-or-nothing digital call digitalCall K T -- pays 1 at T iff S_T > K -- prices under the single-asset Black-Scholes model to e^{-rT} Phi(d_2). The proof reduces Contract.value to the exact integral MathFin.bs_cash_or_nothing_formula already computes; no new Black-Scholes content is proved here.
mf-contract-capped-call-value · contracts.json · full statement
Capped Call Value by Composition
The capped call's Black-Scholes value -- the price of cappedCall K1 K2 T under the single-asset Black-Scholes model -- is the difference of the two europeanCall closed forms, obtained by Contract.value_both and Contract.value_scale applied to value_europeanCall twice: composition, not a third integral, produces the price. The integrability hypotheses Contract.value_both would otherwise need are discharged internally (domination against the terminal asset price's Gaussian MGF), not left for the caller to supply.
mf-contract-power-call-black-scholes · contracts.json · full statement
The Reified Power Call Prices to the Effective Black-Scholes Call Formula
The power call contract powerCall a K T, a payoff built from max, sub and const nodes and the real-power rpow node at the natural exponent a that pays max(S_T^a - K, 0) at T for a natural exponent a > 0 and K > 0, is worth, under the single-asset Black-Scholes model with discount e^{-rT} and the BSCallHyp hypotheses, S^_0 Phi(d1) - K e^{-rT} Phi(d2), with S^_0 = bsPowerEffectiveSpot S_0 r sigma T a and d1, d2 taken at that spot and volatility a sigma.