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

Vasicek mean-reversion (deterministic part)

MathFin.Models.Rates.VasicekMSC 91G30JEL E43 source

The Vasicek short-rate SDE is dr_t = κ(θ − r_t) dt + σ dW_t. With σ = 0 the deterministic ODE dr/dt = κ(θ − r) has explicit solution

r(t) = θ + (r₀ − θ) · e^{−κt},

exhibiting exponential mean reversion to θ at rate κ. We verify two properties at the level of real-valued calculus:

  • the closed form satisfies the ODE;
  • limiting value r(∞) = θ (asymptotic, via positivity of κ).

The full Vasicek model including the stochastic part — the SDE closed-form r_t ~ N(r_0 e^{−κt} + θ(1−e^{−κt}), σ²(1−e^{−2κt})/(2κ)) — is stated (in the BSCallHyp terminal-distribution style) in MathFin/Models/Rates/VasicekSDE.lean. There the variance σ²(1−e^{−2κt})/(2κ) is the L² norm that the simple-process Itô isometry would assign to the deterministic integrand e^{−κ(t−s)}; the SDE→distribution derivation itself is not yet formalized (it is gated on the continuous Itô integral). This file covers only the deterministic (mean-reversion ODE) part.

The half-life

The Vasicek/OU mean-reversion has a characteristic half-life t_{1/2} = log 2 / κ: the time at which the gap from the mean has closed to half its initial value. Independent of r₀ and θ; only the rate κ matters. (Folded from the former MeanReversionHalfLife.lean.)

Main definitions

  • vasicekDeterministic: the deterministic short-rate solution r(t) = θ + (r₀ − θ) e^{−κt}.
  • meanReversionHalfLife: the half-life of mean-reverting decay at rate κ, the time at which the gap from the long-run mean is half its initial value.

Main results

  • vasicekDeterministic_at_zero: r(0) = r₀.
  • vasicekDeterministic_solves_ODE: dr/dt = κ(θ − r(t)).
  • vasicekDeterministic_tendsto_mean: r(t) → θ as t → ∞ (for κ > 0).
  • vasicekDeterministic_at_halfLife: at t = log 2 / κ, the gap is half the initial gap.

References

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

Tags

Vasicek model, mean reversion, Ornstein–Uhlenbeck, half-life, short rate, long-run mean, MSC 91G30, JEL E43

Import neighbourhood

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

Corpus entries

mf-vasicek-deterministic-ode · interest_rates.json · full statement
Vasicek Deterministic ODE Solution

The closed form r(t) = θ + (r₀ - θ)·e^{-κt} solves the deterministic part of the Vasicek SDE dr/dt = κ(θ - r(t)). Exhibits exponential mean reversion to θ at rate κ.

mf-vasicek-half-life · interest_rates.json · full statement
Vasicek/OU Half-Life at log 2 / κ

At t = log(2)/κ the gap between r(t) and θ has closed to half its initial value.

Declarations 6

defMathFin.vasicekDeterministicsource
ℝ → ℝ → ℝ → ℝ → ℝ

Vasicek deterministic short-rate solution: r(t) = θ + (r₀ − θ) e^{−κt}.

theoremMathFin.vasicekDeterministic_at_zerosource
∀ (r₀ θ κ : ℝ), vasicekDeterministic r₀ θ κ 0 = r₀

Initial condition: r(0) = r₀.

theoremMathFin.vasicekDeterministic_solves_ODEsource
∀ (r₀ θ κ t : ℝ), HasDerivAt (vasicekDeterministic r₀ θ κ) (κ * (θ - vasicekDeterministic r₀ θ κ t)) t

Vasicek deterministic ODE solution: the closed form satisfies dr/dt = κ · (θ − r(t)).

theoremMathFin.vasicekDeterministic_tendsto_meansource
∀ (r₀ θ κ : ℝ), 0 < κ → Filter.Tendsto (vasicekDeterministic r₀ θ κ) Filter.atTop (nhds θ)

Long-run mean reversion: r(t) → θ as t → ∞, for κ > 0. The gap (r₀ − θ) e^{−κt} decays exponentially: κt → ∞, so e^{−κt} → 0.

defMathFin.meanReversionHalfLifesource
ℝ → ℝ

Half-life of mean-reverting decay at rate κ: the time at which the gap from the long-run mean is half its initial value. Depends only on κ.

theoremMathFin.vasicekDeterministic_at_halfLifesource
∀ (r₀ θ κ : ℝ), 0 < κ → vasicekDeterministic r₀ θ κ (meanReversionHalfLife κ) - θ = (r₀ - θ) / 2

At the half-life, the Vasicek deterministic trajectory has closed exactly half the gap from θ: r(t₁ₐ) − θ = (r₀ − θ) / 2.