MathFin
Map / Valuation · Interest rates / MathFin.Models.Rates.VasicekBondPrice

The Vasicek zero-coupon bond price — the affine term structure

MathFin.Models.Rates.VasicekBondPriceMSC 91G30MSC 60H05JEL E43 source

Models/Rates/VasicekSDEGaussian.lean derives the terminal short-rate law r_T ~ N(mean, var) from the Wiener representation of the Ornstein–Uhlenbeck solution. This file takes the next step in the fixed-income layer: the zero-coupon bond price

P(0, T) = 𝔼[exp(−∫₀ᵀ r_s ds)],

under the measure μ carrying B, read as the risk-neutral present value of one unit paid at T (vasicekBondPrice_girsanov builds the change from a real-world μ). Under the Vasicek model the integrated short rate is again Gaussian, so the bond price is a Gaussian Laplace transform and collapses to the classical affine term structure

P(0, T) = exp(−B(T)·r₀ − θ·(T − B(T)) + σ²·V(T)/2), B(T) = (1 − e^{−κT})/κ.

The integrated short rate, in its Wiener representation

Integrating the OU solution r_s = r₀e^{−κs} + θ(1 − e^{−κs}) + σ∫₀ˢ e^{−κ(s−u)}dB_u over s ∈ [0, T] and swapping the (deterministic-after-integration) time order ∫₀ᵀ∫₀ˢ e^{−κ(s−u)} ds sends the diffusion kernel e^{−κ(s−u)} to the integrated kernel

g(u) = ∫_u^T e^{−κ(s−u)} ds = (1 − e^{−κ(T−u)})/κ,

so ∫₀ᵀ r_s ds = M(T) + σ·∫₀ᵀ g(u) dB_u, with deterministic mean M(T) = r₀·B(T) + θ·(T − B(T)). This is the exact analogue, one integration up, of the OU-solution model that VasicekSDEGaussian already takes as full: the integrated rate is carried in its Wiener representation (the time-order swap is the modelling bridge, cited, not the conclusion), and everything downstream is derived. ∫₀ᵀ g(u) dB_u is the Wiener integral of the deterministic integrand g, hence centred Gaussian with variance its L²-norm

V(T) = ∫₀ᵀ g(u)² du = T/κ² − 2(1 − e^{−κT})/κ³ + (1 − e^{−2κT})/(2κ³).

Main definitions

  • vasicekBondB: the affine coefficient B(T) = (1 − e^{−κT})/κ.
  • vasicekIntegratedKernel, vasicekIntegratedKernelLp: the integrated kernel g(u) = (1 − e^{−κ(T−u)})/κ, and the same kernel as an element of L²((0, T]).
  • vasicekIntegratedMean: the deterministic mean of the integrated short rate, M(T) = r₀·B(T) + θ·(T − B(T)).
  • vasicekBondV: the variance V(T) = ∫₀ᵀ g² of the diffusion part of the integrated short rate.
  • vasicekIntegratedKernelSqAntideriv: the antiderivative of g(u)².
  • vasicekIntegratedRate: the integrated short rate in its Wiener representation, ∫₀ᵀ r_s ds = M(T) + σ·∫₀ᵀ g(u) dB_u.
  • vasicekBondA: the affine coefficient A(T) = exp(−θ(T − B(T)) + σ²V(T)/2).
  • vasicekBondPrice: the bond price function u(τ, r) = A(τ) exp(−B(τ) r).

Main results

  • vasicekIntegratedKernelSqAntideriv, hasDerivAt_vasicekIntegratedKernelSqAntideriv, integral_vasicekIntegratedKernel_sq_eq_sub — the antiderivative of g² and its FTC form over any interval (also used by Models/Rates/GSRPiecewiseVol).
  • vasicekIntegratedKernel_integral_sq — the variance integral ∫₀ᵀ g² = V(T), and vasicekIntegratedKernelLp_integral_sq, the same for the L² element.
  • integral_vasicekIntegratedKernel, integral_vasicekIntegratedKernelLp — the kernel's mass ∫₀ᵀ g = (T − B(T))/κ, the covariance of ∫₀ᵀ g dB with B_T.
  • vasicekIntegratedRate_hasLaw_gaussian — ∫₀ᵀ r_s ds ~ N(M(T), σ²V(T)).
  • vasicekBondPrice_eq — the bond price 𝔼[exp(−∫₀ᵀ r_s ds)] = exp(−M(T) + σ²V(T)/2), the instance m = M(T), c = σ, f = g of the Wiener bond-price lemma integral_exp_neg_add_mul_wienerIntegralLp (Probability/Brownian/Wiener/WienerIntegralExpMoment).
  • vasicekBondPrice_affine — the affine form P(0,T) = vasicekBondPrice θ σ κ T r₀ = A(T)·exp(−B(T)·r₀).

References

  • O. Vasicek, An equilibrium characterization of the term structure [Vasicek1977]

Tags

Vasicek model, affine term structure, zero-coupon bond price, integrated short rate, Wiener integral, Gaussian Laplace transform, MSC 91G30, MSC 60H05, JEL E43

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-vasicek-bond-price · interest_rates.json · full statement
Vasicek Zero-Coupon Bond Price (Affine Term Structure)

The Vasicek zero-coupon bond price P(0,T) = E[exp(-∫₀ᵀ r_s ds)], the expectation taken under the probability measure that carries the Brownian driver (read as the pricing measure; no change of measure is built in this entry. When μ is instead the real-world measure with a constant market price of risk λ, mf-vasicek-girsanov-bond-price shows that the bond price under the constructed Girsanov measure Q_λ is this same formula at the level θ − λσ/κ). The short rate is carried in its Wiener-integral representation; that it solves the Vasicek SDE, and the swap of time integrals behind the integrated rate, are cited, not proved. In that representation the integrated short rate ∫₀ᵀ r_s ds = M(T) + σ∫₀ᵀ g dB is again Gaussian (integrated OU kernel g(u) = (1-e^{-κ(T-u)})/κ), so the bond price is a Gaussian Laplace transform and collapses to the classical AFFINE TERM STRUCTURE P(0,T) = A(T)·exp(-B(T)·r₀) with B(T) = (1-e^{-κT})/κ. The exponential-affine dependence on the initial short rate r₀ is the defining property of an affine term-structure model.

Declarations 22

defMathFin.vasicekBondBsource
ℝ → ℝ → ℝ

The Vasicek affine coefficient B(T) = (1 − e^{−κT})/κ — the sensitivity of the log bond price to the short rate, and the integral ∫₀ᵀ e^{−κs} ds.

theoremMathFin.vasicekBondB_possource
∀ {κ τ : ℝ}, 0 < κ → 0 < τ → 0 < vasicekBondB κ τ

B(τ) = (1 − e^{−κτ})/κ is positive for κ, τ > 0.

defMathFin.vasicekIntegratedKernelsource
ℝ → ℝ → ℝ → ℝ

The integrated Vasicek kernel g(u) = (1 − e^{−κ(T−u)})/κ = ∫_u^T e^{−κ(s−u)} ds — the deterministic integrand whose Wiener integral is the diffusion part of the integrated short rate.

defMathFin.vasicekIntegratedMeansource
ℝ → ℝ → ℝ → ℝ → ℝ

The deterministic mean of the integrated short rate, M(T) = ∫₀ᵀ (r₀e^{−κs} + θ(1 − e^{−κs})) ds = r₀·B(T) + θ·(T − B(T)).

theoremMathFin.vasicekIntegratedMean_nonnegsource
∀ {κ v₀ θ τ : ℝ}, 0 < κ → 0 ≤ v₀ → 0 ≤ θ → 0 ≤ τ → 0 ≤ vasicekIntegratedMean v₀ θ κ τ

The integrated mean M(T) is nonnegative (κ > 0, v₀, θ, τ ≥ 0): 0 ≤ B(τ) ≤ τ.

defMathFin.vasicekBondVsource
ℝ → ℝ → ℝ

The variance of the integrated short rate's diffusion part (the L²-norm of the integrated kernel g): V(T) = ∫₀ᵀ g² = T/κ² − 2(1−e^{−κT})/κ³ + (1−e^{−2κT})/(2κ³).

theoremMathFin.vasicekIntegratedKernel_memLpsource
∀ {κ : ℝ}, 0 < κ → ∀ (T : NNReal), MemLp (vasicekIntegratedKernel κ ↑T) 2 (volume.restrict (Set.Ioc 0 ↑T))

The integrated kernel is in L²((0, T]): on the support it lies in [0, 1/κ] (for κ > 0), hence is bounded.

defMathFin.vasicekIntegratedKernelLpsource
{κ : ℝ} → 0 < κ → (T : NNReal) → ↥(Lp ℝ 2 (volume.restrict (Set.Ioc 0 ↑T)))

The integrated kernel as an element of L²((0, T]).

defMathFin.vasicekIntegratedKernelSqAntiderivsource
ℝ → ℝ → ℝ → ℝ

The antiderivative F(u) = u/κ² − 2e^{−κ(T−u)}/κ³ + e^{−2κ(T−u)}/(2κ³) of the squared integrated kernel g(u)².

theoremMathFin.hasDerivAt_vasicekIntegratedKernelSqAntiderivsource
∀ (κ T u : ℝ), κ ≠ 0 → HasDerivAt (vasicekIntegratedKernelSqAntideriv κ T) (vasicekIntegratedKernel κ T u ^ 2) u

For κ ≠ 0, F differentiates to g²: its derivative expands the square g² = (1 − 2e^{−κ(T−u)} + e^{−2κ(T−u)})/κ².

theoremMathFin.integral_vasicekIntegratedKernel_sq_eq_subsource
∀ (κ T A B : ℝ), κ ≠ 0 → ∫ (u : ℝ) in A..B, vasicekIntegratedKernel κ T u ^ 2 = vasicekIntegratedKernelSqAntideriv κ T B - vasicekIntegratedKernelSqAntideriv κ T A

The FTC form over any interval, for κ ≠ 0: ∫_A^B g(u)² du = F(B) − F(A).

theoremMathFin.vasicekIntegratedKernel_integral_sqsource
∀ {κ : ℝ}, κ ≠ 0 → ∀ (T : NNReal), ∫ (u : ℝ) in Set.Ioc 0 ↑T, vasicekIntegratedKernel κ (↑T) u ^ 2 = vasicekBondV κ ↑T

The variance-fixing integral: ∫₀ᵀ g(u)² du = V(T), by the FTC with antiderivative vasicekIntegratedKernelSqAntideriv.

theoremMathFin.integral_vasicekIntegratedKernelsource
∀ (κ T : ℝ), κ ≠ 0 → ∫ (u : ℝ) in 0..T, vasicekIntegratedKernel κ T u = (T - vasicekBondB κ T) / κ

The mass of the integrated kernel: ∫₀ᵀ g(u) du = (T − B(T))/κ, by the FTC with antiderivative u/κ − e^{−κ(T−u)}/κ² (κ ≠ 0). It is ⟪𝟙_{(0,T]}, g⟫, the covariance of the Wiener integral ∫₀ᵀ g dB with B_T, and −λσ times it is the mean shift a constant market price of risk λ gives the integrated rate under the Girsanov measure (vasicekBondPrice_girsanov).

theoremMathFin.integral_vasicekIntegratedKernelLpsource
∀ {κ : ℝ} (hκ : 0 < κ) (T : NNReal), ∫ (u : ℝ) in Set.Ioc 0 ↑T, ↑↑(vasicekIntegratedKernelLp hκ T) u = (↑T - vasicekBondB κ ↑T) / κ

∫₀ᵀ g = (T − B(T))/κ for the L² element of the integrated kernel.

defMathFin.vasicekIntegratedRatesource
{Ω : Type u_1} → {mΩ : MeasurableSpace Ω} → {μ : Measure Ω} → {B : NNReal → Ω → ℝ} → IsPreBrownianReal B μ → ℝ → ℝ → ℝ → {κ : ℝ} → 0 < κ → NNReal → Ω → ℝ

The integrated Vasicek short rate in its Wiener representation: ∫₀ᵀ r_s ds = M(T) + σ·∫₀ᵀ g(u) dB_u.

theoremMathFin.vasicekIntegratedKernelLp_integral_sqsource
∀ {κ : ℝ} (hκ : 0 < κ) (T : NNReal), ∫ (u : ℝ) in Set.Ioc 0 ↑T, ↑↑(vasicekIntegratedKernelLp hκ T) u ^ 2 = vasicekBondV κ ↑T

∫₀ᵀ g² = V(T) for the L²-representative kernel (a.e. equal to the honest kernel).

theoremMathFin.vasicekBondV_nonnegsource
∀ {κ : ℝ}, 0 < κ → ∀ (T : NNReal), 0 ≤ vasicekBondV κ ↑T

V(T) ≥ 0 (it is an integral of a square).

theoremMathFin.vasicekIntegratedRate_hasLaw_gaussiansource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal), HasLaw (vasicekIntegratedRate hB r₀ θ σ hκ T) (gaussianReal (vasicekIntegratedMean r₀ θ κ ↑T) (σ ^ 2 * vasicekBondV κ ↑T).toNNReal) μ

Integrated Vasicek short rate is Gaussian. The integrated rate ∫₀ᵀ r_s ds = M(T) + σ∫₀ᵀ g dB has law N(M(T), σ²V(T)) — the affine map x ↦ M(T) + σx applied to the centred Wiener integral of the integrated kernel g, whose variance is V(T).

theoremMathFin.vasicekBondPrice_eqsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal), ∫ (ω : Ω), Real.exp (-vasicekIntegratedRate hB r₀ θ σ hκ T ω) ∂μ = Real.exp (-vasicekIntegratedMean r₀ θ κ ↑T + σ ^ 2 * vasicekBondV κ ↑T / 2)

The Vasicek zero-coupon bond price. The expectation under μ (read as the pricing measure; no change of measure is built here) of one unit at T,

P(0, T) = 𝔼[exp(−∫₀ᵀ r_s ds)] = exp(−M(T) + σ²V(T)/2),

is the Gaussian Laplace transform of the integrated short rate: the Wiener bond-price lemma integral_exp_neg_add_mul_wienerIntegralLp at m = M(T), c = σ and the integrated kernel g, whose squared L²-norm is V(T) (vasicekIntegratedKernelLp_integral_sq).

defMathFin.vasicekBondAsource
ℝ → ℝ → ℝ → ℝ → ℝ

The Vasicek affine coefficient A(T) = exp(−θ(T − B(T)) + σ²V(T)/2), so that the bond price factors as P(0,T) = A(T)·exp(−B(T)·r₀).

defMathFin.vasicekBondPricesource
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ

The Vasicek bond price function u(τ, r) = A(τ) exp(−B(τ) r), in the time to maturity τ and the short rate r: the price of the bond (vasicekBondPrice_affine), the market price of the unit payment (Rates.price_pay_vasicekMarket) and the solution of the Vasicek pricing PDE (vasicekBondPrice_solves_pde).

theoremMathFin.vasicekBondPrice_affinesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal), ∫ (ω : Ω), Real.exp (-vasicekIntegratedRate hB r₀ θ σ hκ T ω) ∂μ = vasicekBondPrice θ σ κ (↑T) r₀

The affine term structure: the Vasicek bond price separates the initial short rate into P(0,T) = A(T)·exp(−B(T)·r₀) — the defining shape of an affine term-structure model, the exponential-affine dependence on r₀.