In a short-rate model the discount factor is a random variable at each time, D t = exp(−∫₀ᵗ r_s ds) (shortRateDiscount), and Contract.value Q D X c values a contract along each outcome by that outcome's discount path.
A schedule of fixed cash flows sees only the model's zero curve P(0, t) = 𝔼_Q[D t] (zeroCurve, Pricing/Value.lean): its value under the stochastic discount factor is its value on that curve (value_fixedFlows_eq_zeroCurve), given each D tᵢ integrable. The Gaussian short-rate models give the curve in closed form, and the integrability comes with it, since a function whose integral is nonzero is integrable (value_fixedFlows_of_zeroCurve_eq). So a coupon bond is worth ∑ cᵢ P(0, tᵢ) with
- Vasicek:
P(0, t) = A(t) e^{−B(t) r₀} (value_fixedFlows_vasicek, from vasicekBondPrice_affine); - Hull–White with continuous forcing
θ: the same B, and A carrying θ (value_fixedFlows_hullWhite, from HullWhite.bondPrice_affine); - two-piece GSR, for payment dates after the volatility switch
T*: P(0, t) = exp(−M(t) + V(t)/2) with the GSR variance (value_fixedFlows_gsr, from gsrBondPrice_eq).
In each, the measure is read as the pricing measure: no change of measure is built, as in the bond-price theorems the instances consume. Contracts whose cash flows depend on the rate, such as a floating leg paying the rate it observes, are not covered by these closed forms: valuing one needs the bond prices P(t, T) at t > 0, the conditional expectation bondPrice (Models/Rates/Caplet.lean). For the Vasicek, Hull–White and two-piece GSR models they are in closed form (bondPrice_vasicek, bondPrice_hullWhite, bondPrice_gsr, Models/Rates/VasicekBond.lean, Models/Rates/HullWhiteBond.lean, Models/Rates/GSRBond.lean), and the bond put and caplet follow (Models/Rates/Jamshidian.lean).
Main definitions
shortRateDiscount — D t = exp(−R t) from an integrated short rate R.
Main results
value_fixedFlows_vasicek, value_fixedFlows_hullWhite, value_fixedFlows_gsr.
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).
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
- Andersen and Piterbarg, Interest Rate Modeling [AndersenPiterbarg2010], ch. 10
- P. Bilokon, The Contract Is Not the Model [Bilokon2026]
- D. Brigo and F. Mercurio, Interest Rate Models --- Theory and Practice [BrigoMercurio2006], sec. 1.2; sec. 3.2.1; sec. 3.3
- J. Hull and A. White, Pricing interest-rate-derivative securities [HullWhite1990]
- O. Vasicek, An equilibrium characterization of the term structure [Vasicek1977]
Tags
stochastic discount factor, zero curve, coupon bond pricing, Vasicek model, Hull–White model, Gaussian short rate, contract valuation, MSC 91G30, MSC 91G20, JEL E43
Import neighbourhood
Above: what it imports. Below: what imports it.
Corpus entries
mf-contract-coupon-bond-vasicek · contracts.json · full statement
A Coupon Bond in the Vasicek Model Is Worth the Sum of Its Affine Bond Prices
In the Vasicek model, with the integrated short rate R(t) = M(t) + sigma * (Wiener integral of the integrated kernel) from r0 (kappa > 0) and the discount factor D(t) = exp(-R(t)), the schedule paying c_i at t_i (i < n), valued under D as a contract in any model, is worth sum_i A(t_i) exp(-B(t_i) r0) c_i, with A, B the Vasicek affine coefficients. The Brownian measure is read as the pricing measure; no change of measure is built. No integrability hypothesis is needed.
mf-contract-coupon-bond-hull-white · contracts.json · full statement
A Coupon Bond in the Hull-White Model Is Worth the Sum of Its Affine Bond Prices
In the Hull-White model with continuous forcing theta (kappa > 0), with the integrated short rate R(t) in its Wiener representation from r0 and the discount factor D(t) = exp(-R(t)), the schedule paying c_i at t_i (i < n), valued under D as a contract in any model, is worth sum_i A(t_i) exp(-B(t_i) r0) c_i, with B the Vasicek coefficient and A = HullWhite.bondA carrying theta. The Brownian measure is read as the pricing measure; no change of measure is built. No integrability hypothesis is needed.
mf-contract-coupon-bond-gsr · contracts.json · full statement
A Coupon Bond in the Two-Piece GSR Model Is Worth the Sum of Its Gaussian Bond Prices
In the Gaussian short-rate model with mean reversion kappa > 0 and volatility sigma1 before a switch time T* and sigma2 after, with the integrated short rate R(t) in its Wiener representation from r0 and the discount factor D(t) = exp(-R(t)), the schedule paying c_i at dates t_i >= T* (i < n), valued under D as a contract in any model, is worth sum_i exp(-M(t_i) + V(t_i)/2) c_i, with M the Vasicek integrated mean and V = gsrBondV the GSR variance. The Brownian measure is read as the pricing measure. Payment dates before T* are not covered.