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

Vasicek terminal distribution of the Ornstein–Uhlenbeck solution (Itô→pricing bridge)

MathFin.Models.Rates.VasicekSDEGaussianMSC 60H10MSC 91G30MSC 60G15 source

Models/Rates/VasicekSDE.lean posited the terminal law of the Vasicek short rate r_t ~ N(mean, var) as closed-form defs, in the BSCallHyp style.

This file derives that law for the short rate in its Wiener representation. The Vasicek SDE dr_t = κ(θ − r_t)dt + σ dB_t has, as a textbook fact cited and not proved here, the solution

r_t = r₀ e^{−κt} + θ(1 − e^{−κt}) + σ ∫₀ᵗ e^{−κ(t−s)} dB_s,

whose stochastic term is the Wiener integral of the deterministic integrand e^{−κ(t−s)}. By wienerIntegralLp_hasLaw_gaussian (Probability/Brownian/Wiener/WienerIntegralGaussian.lean) that integral is Gaussian, centred, with variance its L²-norm ∫₀ᵗ e^{−2κ(t−s)} ds = (1 − e^{−2κt})/(2κ) — exactly vasicekSDEVariance σ κ t / σ². The affine map x ↦ mean + σ x then sends the law to gaussianReal (vasicekSDEMean) (vasicekSDEVariance).

This is the first consumer of the deterministic-integrand Itô tower in the FixedIncome layer — the analytic Wiener/Itô machinery becomes load-bearing in a pricing module, closing the two-tower gap for the Vasicek short rate.

Main definitions

  • vasicekKernel, vasicekKernelLp: the diffusion kernel s ↦ e^{−κ(T−s)}, and the same kernel as an element of L²((0, T]).
  • vasicekKernelSqAntideriv: the antiderivative u ↦ e^{−2κ(T−u)}/(2κ) of the squared kernel.
  • vasicekDiffusionTerm: the Vasicek diffusion term σ ∫₀ᵀ e^{−κ(T−s)} dB_s.

Main results

  • vasicekKernel_integral_sq: ∫₀ᵀ (e^{−κ(T−s)})² ds = (1 − e^{−2κT})/(2κ).
  • vasicekShortRate_hasLaw_gaussian: the genuine terminal short rate mean + σ ∫₀ᵀ e^{−κ(T−s)} dB_s has law N(vasicekSDEMean, vasicekSDEVariance).

References

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

Tags

Vasicek model, Ornstein–Uhlenbeck, Wiener integral, Gaussian law, short rate, Itô integral of deterministic integrand, MSC 60H10, MSC 91G30, MSC 60G15

Import neighbourhood

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

Corpus entries

mf-vasicek-sde-terminal-gaussian · interest_rates.json · full statement
Vasicek Terminal Distribution is Gaussian (Wiener Representation)

The Vasicek short-rate SDE dr = κ(θ − r)dt + σ dB has the textbook solution r_T = r₀e^{−κT} + θ(1 − e^{−κT}) + σ ∫₀ᵀ e^{−κ(T−s)} dB_s (cited, not proved here). For κ > 0 and r_T in this Wiener representation, this theorem DERIVES (no longer posits) the terminal law r_T ~ N(vasicekSDEMean, vasicekSDEVariance) = N(r₀e^{−κT}+θ(1−e^{−κT}), σ²(1−e^{−2κT})/(2κ)). The stochastic term is the Wiener integral of the DETERMINISTIC integrand e^{−κ(T−s)}, hence Gaussian (sc-wiener-integral-gaussian) with variance its squared L²-norm ∫₀ᵀ e^{−2κ(T−s)} ds = (1−e^{−2κT})/(2κ) (an FTC computation); the affine map x ↦ mean + σx then sends N(0, ∫kernel²) to N(mean, σ²·∫kernel²) = N(vasicekSDEMean, vasicekSDEVariance) via gaussianReal_const_mul / gaussianReal_const_add. This is the FIRST consumer of the deterministic-integrand Itô tower in the FixedIncome layer — the analytic Wiener/Itô machinery made load-bearing in a pricing module, closing the two-tower gap for the Vasicek short rate (VasicekSDE.lean previously stated this law without derivation).

Declarations 9

defMathFin.vasicekKernelsource
ℝ → ℝ → ℝ → ℝ

The Vasicek diffusion kernel s ↦ e^{−κ(T−s)}.

theoremMathFin.vasicekKernel_memLpsource
∀ (κ : ℝ), 0 ≤ κ → ∀ (T : NNReal), MemLp (vasicekKernel κ ↑T) 2 (volume.restrict (Set.Ioc 0 ↑T))

The kernel is in L²((0, T]) (continuous, bounded by 1 on the support for κ ≥ 0).

defMathFin.vasicekKernelLpsource
(κ : ℝ) → 0 ≤ κ → (T : NNReal) → ↥(Lp ℝ 2 (volume.restrict (Set.Ioc 0 ↑T)))

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

defMathFin.vasicekKernelSqAntiderivsource
ℝ → ℝ → ℝ → ℝ

The antiderivative u ↦ e^{−2κ(T−u)}/(2κ) of the squared diffusion kernel (e^{−κ(T−u)})².

theoremMathFin.hasDerivAt_vasicekKernelSqAntiderivsource
∀ (κ T u : ℝ), κ ≠ 0 → HasDerivAt (vasicekKernelSqAntideriv κ T) (vasicekKernel κ T u ^ 2) u

For κ ≠ 0, vasicekKernelSqAntideriv differentiates to the squared kernel (e^{−κ(T−u)})² = e^{−2κ(T−u)}.

theoremMathFin.integral_vasicekKernel_sq_eq_subsource
∀ (κ T A B : ℝ), κ ≠ 0 → ∫ (u : ℝ) in A..B, vasicekKernel κ T u ^ 2 = vasicekKernelSqAntideriv κ T B - vasicekKernelSqAntideriv κ T A

The FTC form over any interval, for κ ≠ 0: ∫_A^B (e^{−κ(T−u)})² du = e^{−2κ(T−B)}/(2κ) − e^{−2κ(T−A)}/(2κ).

theoremMathFin.vasicekKernel_integral_sqsource
∀ (κ : ℝ), κ ≠ 0 → ∀ (T : NNReal), ∫ (s : ℝ) in Set.Ioc 0 ↑T, vasicekKernel κ (↑T) s ^ 2 = (1 - Real.exp (-(2 * κ * ↑T))) / (2 * κ)

The Riemann integral fixing the variance: ∫₀ᵀ (e^{−κ(T−s)})² ds = (1 − e^{−2κT})/(2κ), by the FTC with antiderivative vasicekKernelSqAntideriv.

defMathFin.vasicekDiffusionTermsource
{Ω : Type u_1} → {mΩ : MeasurableSpace Ω} → {μ : Measure Ω} → {B : NNReal → Ω → ℝ} → IsPreBrownianReal B μ → (κ : ℝ) → ℝ → 0 ≤ κ → NNReal → Ω → ℝ

The genuine Vasicek diffusion term σ ∫₀ᵀ e^{−κ(T−s)} dB_s.

theoremMathFin.vasicekShortRate_hasLaw_gaussiansource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (r₀ θ σ : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal), HasLaw (fun ω => vasicekSDEMean r₀ θ κ ↑T + σ * ↑↑((wienerIntegralLp B hB T) (vasicekKernelLp κ ⋯ T)) ω) (gaussianReal (vasicekSDEMean r₀ θ κ ↑T) (vasicekSDEVariance σ κ ↑T).toNNReal) μ

Vasicek terminal law, derived. The short rate in its Wiener representation r_T = vasicekSDEMean + σ ∫₀ᵀ e^{−κ(T−s)} dB_s (the textbook solution of the Vasicek SDE; that it solves the SDE is cited, not proved) has the Gaussian law N(vasicekSDEMean, vasicekSDEVariance) — the closed form VasicekSDE.lean posited is now a theorem.