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

The Vasicek bond price at a time `t > 0`

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

Models/Rates/VasicekBondPrice.lean prices the zero-coupon bond at time 0, P(0, T) = 𝔼[exp(−∫₀ᵀ r_s ds)] = A(T)·exp(−B(T) r₀). This file prices it at a later time t, given the information 𝓕_t = σ(B_s : s ≤ t) of the driving Brownian motion:

𝔼[exp(−∫₀ᵀ r_s ds) | 𝓕_t] = exp(−∫₀ᵗ r_s ds)·A(T − t)·exp(−B(T − t)·r_t) almost surely,

so the price at t of one unit paid at T, the conditional mean of the discount over [t, T], is A(T − t)·exp(−B(T − t)·r_t), with A, B the coefficients of the time-0 price at the remaining maturity T − t: the Vasicek model is time-homogeneous, so the price depends on t only through r_t and T − t.

The integrated rate is carried in its Wiener representation (vasicekIntegratedRate), so ∫₀ᵀ r and ∫₀ᵗ r are Wiener integrals over different horizons. Given the past (Probability/Brownian/Wiener/WienerIntegralFiltration.lean, condExp_exp_wienerIntegralLp), the integrated kernel g_T(u) = (1 − e^{−κ(T−u)})/κ of the horizon T, restricted to (0, t], is g_t + B(T − t)·e^{−κ(t−u)}: the past part of ∫₀ᵀ r depends on the past through ∫₀ᵗ r and the Wiener integral ∫₀ᵗ e^{−κ(t−u)} dB_u, which is (r_t − mean)/σ; and the remainder is independent of the past, with the exponential moments of a centred Gaussian of variance ∫_t^T g_T² = V(T − t). The bridge to bondPrice is Models/Rates/VasicekBond.lean.

Main results

  • kernelRestrict_vasicekIntegratedKernelLp — g_T|_{(0,t]} = g_t + B(T − t)·e^{−κ(t−·)}.
  • integral_sq_vasicekIntegratedKernelLp_Ioc — ∫_t^T g_T² = V(T − t).
  • vasicekIntegratedMean_sub — the mean identity M(t) − M(T) = −θ(τ − B(τ)) − B(τ) m_t.
  • condExp_exp_neg_integratedRate — the conditional discount factor of any Gaussian short rate with the integrated Vasicek kernel, from the mean identity M(t) − M(T) = −c − B(T − t)·m alone; the Hull–White bond price (Models/Rates/HullWhiteBondPriceAt.lean) is its other instance.
  • vasicekBondPrice_condExp — the conditional discount factor, affine in r_t.

References

  • D. Brigo and F. Mercurio, Interest Rate Models --- Theory and Practice [BrigoMercurio2006], section 3.2.1
  • O. Vasicek, An equilibrium characterization of the term structure [Vasicek1977]

Tags

Vasicek model, conditional bond price, time-homogeneous, affine term structure, short rate, Markov property, MSC 91G30, MSC 60H05, JEL E43

Import neighbourhood

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

Corpus entries

mf-vasicek-bond-price-at-t · interest_rates.json · full statement
Vasicek Bond Price at Time t > 0: A(T-t) exp(-B(T-t) r_t)

Vasicek model with kappa > 0, the integrated short rate int_0^T r_s ds carried in its Wiener representation (vasicekIntegratedRate), the measure read as the pricing measure, and F_t the natural filtration of the driving Brownian motion (measurable sections). For t <= T, E[exp(-int_0^T r_s ds) | F_t] = exp(-int_0^t r_s ds) * A(T-t) * exp(-B(T-t) * r_t) almost surely, where r_t = vasicekSDEMean + sigma * int_0^t e^{-kappa(t-u)} dB_u is the short rate in its Wiener representation and A, B are the coefficients of the time-0 price (mf-vasicek-bond-price) at the remaining maturity T - t. Dividing by the F_t-known discount factor exp(-int_0^t r_s ds), the price at t of one unit paid at T is A(T-t) * exp(-B(T-t) * r_t); the division is the entry mf-contract-bond-price-vasicek.

Declarations 8

theoremMathFin.vasicekIntegratedKernelLp_coeFnsource
∀ {κ : ℝ} (hκ : 0 < κ) (T : NNReal), ↑↑(vasicekIntegratedKernelLp hκ T) =ᵐ[volume.restrict (Set.Ioc 0 ↑T)] vasicekIntegratedKernel κ ↑T
theoremMathFin.vasicekKernelLp_coeFnsource
∀ (κ : ℝ) (hκ : 0 ≤ κ) (T : NNReal), ↑↑(vasicekKernelLp κ hκ T) =ᵐ[volume.restrict (Set.Ioc 0 ↑T)] vasicekKernel κ ↑T
theoremMathFin.kernelRestrict_vasicekIntegratedKernelLpsource
∀ {κ : ℝ} (hκ : 0 < κ) {t T : NNReal} (htT : t ≤ T), (kernelRestrict htT) (vasicekIntegratedKernelLp hκ T) = vasicekIntegratedKernelLp hκ t + vasicekBondB κ ↑(T - t) • vasicekKernelLp κ ⋯ t

The horizon-T kernel seen from time t. On (0, t], the integrated kernel g_T(u) = (1 − e^{−κ(T−u)})/κ is g_t(u) + B(T − t)·e^{−κ(t−u)}, since e^{−κ(T−u)} = e^{−κ(t−u)} e^{−κ(T−t)}.

theoremMathFin.integral_sq_vasicekIntegratedKernelLp_Iocsource
∀ {κ : ℝ} (hκ : 0 < κ) {t T : NNReal}, t ≤ T → ∫ (s : ℝ) in Set.Ioc ↑t ↑T, ↑↑(vasicekIntegratedKernelLp hκ T) s ^ 2 = vasicekBondV κ ↑(T - t)

The variance of the remainder. ∫_t^T g_T(u)² du = V(T − t), the variance function at the remaining maturity.

theoremMathFin.vasicekIntegratedMean_subsource
∀ (r₀ θ : ℝ) {κ : ℝ}, κ ≠ 0 → ∀ {t T : NNReal}, t ≤ T → vasicekIntegratedMean r₀ θ κ ↑t - vasicekIntegratedMean r₀ θ κ ↑T = -(θ * (↑(T - t) - vasicekBondB κ ↑(T - t))) - vasicekBondB κ ↑(T - t) * vasicekSDEMean r₀ θ κ ↑t

The change in the integrated mean from t to T: the price coefficient at the remaining maturity, less the mean sensitivity B(T − t) to the short-rate mean at t.

theoremMathFin.condExp_exp_neg_wienerIntegralLpsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {B : NNReal → Ω → ℝ} [IsProbabilityMeasure μ] (hB : IsPreBrownianReal B μ) (hBm : ∀ (s : NNReal), Measurable (B s)) {t T : NNReal} (htT : t ≤ T) (f : ↥(Lp ℝ 2 (volume.restrict (Set.Ioc 0 ↑T)))) (f' h : ↥(Lp ℝ 2 (volume.restrict (Set.Ioc 0 ↑t)))) {M_t M_T c m b v : ℝ}, (kernelRestrict htT) f = f' + b • h → ∫ (s : ℝ) in Set.Ioc ↑t ↑T, ↑↑f s ^ 2 = v → M_t - M_T = -c - b * m → μ[fun ω => Real.exp (-(M_T + ↑↑((wienerIntegralLp B hB T) f) ω)) | ↑(Filtration.natural B ⋯) t] =ᵐ[μ] fun ω => Real.exp (-(M_t + ↑↑((wienerIntegralLp B hB t) f') ω)) * (Real.exp (-c + v / 2) * Real.exp (-(b * (m + ↑↑((wienerIntegralLp B hB t) h) ω))))

The conditional discount factor of a Gaussian short rate, from the kernel and mean identities. For any integrated rate M_T + ∫₀ᵀ f dB with a deterministic kernel f ∈ L²((0, T]) and deterministic part M_T, given the information 𝓕_t,

𝔼[exp(−(M_T + ∫₀ᵀ f dB)) | 𝓕_t] = exp(−(M_t + ∫₀ᵗ f' dB))·exp(−c + v/2)·exp(−b(m + ∫₀ᵗ h dB))

almost surely, as soon as the kernel seen from t splits as f|_{(0,t]} = f' + b·h (hf), the remainder has variance v = ∫_t^T f² (hv), and the deterministic parts satisfy M_t − M_T = −c − b·m (hM). The constant-volatility models are the instances f = σ·g_T (condExp_exp_neg_integratedRate); the piecewise-volatility GSR model is another (Models/Rates/GSRBondPriceAt.lean).

theoremMathFin.condExp_exp_neg_integratedRatesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {B : NNReal → Ω → ℝ} [IsProbabilityMeasure μ] (hB : IsPreBrownianReal B μ) (hBm : ∀ (s : NNReal), Measurable (B s)) (σ : ℝ) {κ : ℝ} (hκ : 0 < κ) {t T : NNReal}, t ≤ T → ∀ {M_t M_T c m : ℝ}, M_t - M_T = -c - vasicekBondB κ ↑(T - t) * m → μ[fun ω => Real.exp (-(M_T + σ * ↑↑((wienerIntegralLp B hB T) (vasicekIntegratedKernelLp hκ T)) ω)) | ↑(Filtration.natural B ⋯) t] =ᵐ[μ] fun ω => Real.exp (-(M_t + σ * ↑↑((wienerIntegralLp B hB t) (vasicekIntegratedKernelLp hκ t)) ω)) * (Real.exp (-c + σ ^ 2 * vasicekBondV κ ↑(T - t) / 2) * Real.exp (-(vasicekBondB κ ↑(T - t) * (m + σ * ↑↑((wienerIntegralLp B hB t) (vasicekKernelLp κ ⋯ t)) ω))))

The conditional discount factor of a constant-volatility Gaussian short rate, from the mean identity alone. The instance of condExp_exp_neg_wienerIntegralLp at f = σ·g_T: for any integrated rate M_T + σ∫₀ᵀ g_T dB (the integrated Vasicek kernel g_T, any deterministic part M_T), given the information 𝓕_t,

𝔼[exp(−(M_T + σ∫₀ᵀ g_T dB)) | 𝓕_t] = exp(−(M_t + σ∫₀ᵗ g_t dB))·exp(−c + σ²V(T − t)/2)·exp(−B(T − t)(m + σ∫₀ᵗ e^{−κ(t−·)} dB))

almost surely, as soon as the deterministic parts satisfy M_t − M_T = −c − B(T − t)·m. The Vasicek model (c = θ(τ − B(τ)), m the mean of r_t) and the Hull–White model (c = ∫_t^T θ B(T − ·), m = α(t)) are the two instances: they differ only in this identity.

theoremMathFin.vasicekBondPrice_condExpsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {B : NNReal → Ω → ℝ} [IsProbabilityMeasure μ] (hB : IsPreBrownianReal B μ) (hBm : ∀ (s : NNReal), Measurable (B s)) (r₀ θ σ : ℝ) {κ : ℝ} (hκ : 0 < κ) {t T : NNReal}, t ≤ T → μ[fun ω => Real.exp (-vasicekIntegratedRate hB r₀ θ σ hκ T ω) | ↑(Filtration.natural B ⋯) t] =ᵐ[μ] fun ω => Real.exp (-vasicekIntegratedRate hB r₀ θ σ hκ t ω) * (vasicekBondA θ σ κ ↑(T - t) * Real.exp (-(vasicekBondB κ ↑(T - t) * (vasicekSDEMean r₀ θ κ ↑t + vasicekDiffusionTerm hB κ σ ⋯ t ω))))

The Vasicek bond price at time t. Given the information 𝓕_t of the driving Brownian motion, the discount factor exp(−∫₀ᵀ r) along the Vasicek integrated rate has conditional mean

𝔼[exp(−∫₀ᵀ r) | 𝓕_t] = exp(−∫₀ᵗ r)·A(T − t)·exp(−B(T − t)·r_t)

almost surely, where r_t = vasicekSDEMean + σ∫₀ᵗ e^{−κ(t−u)} dB_u is the short rate in its Wiener representation (vasicekShortRate_hasLaw_gaussian) and A, B are the coefficients of the time-0 price (vasicekBondPrice_affine), at the remaining maturity. Dividing by the discount factor exp(−∫₀ᵗ r) known at t, the price at t of one unit paid at T is A(T − t)·exp(−B(T − t)·r_t). The measure is read as the pricing measure.