ℝ → ℝ → ℝ → ℝ → ℝ
Vasicek SDE mean: r_0 · e^{−κt} + θ · (1 − e^{−κt}). Identical to the deterministic-part closed form vasicekDeterministic.
The pre-existing Models/Rates/Vasicek.lean derives only the deterministic part of the Vasicek mean-reverting short-rate model (the σ = 0 ODE). This file extends to the full SDE
dr_t = κ (θ − r_t) dt + σ dB_t,
whose closed-form solution is
r_t = r_0 · e^{−κt} + θ · (1 − e^{−κt}) + σ · ∫_0^t e^{−κ(t−s)} dB_s.
The Itô integral ∫_0^t e^{−κ(t−s)} dB_s is of a deterministic integrand, so its law is Gaussian (an Itô integral of a deterministic integrand is an L² limit of independent Gaussian increments; see the continuous construction in Probability/Brownian/Ito/ItoIntegralL2.lean). The integrand's L² norm gives the variance:
Var = σ² · ∫_0^t e^{−2κ(t−s)} ds = σ² · (1 − e^{−2κt}) / (2κ).
Hence under the SDE,
r_t ~ N( r_0 · e^{−κt} + θ · (1 − e^{−κt}), σ² · (1 − e^{−2κt}) / (2κ) ).
This file gives the explicit terminal-distribution form, parameterised by a standard normal Z, in the same style as BSCallHyp.
Phase 36 (simple-process Itô integral) + Phase 32 (BQV identities) + the deterministic Riemann integral ∫ e^{−2κ(t−s)} ds = (1 − e^{−2κt})/(2κ) give the variance computation. The Gaussian-distribution conclusion follows from the structural fact that Itô integrals of deterministic integrands are Gaussian (a consequence of the simple-process construction being a sum of independent Gaussian increments).
A terminal-distribution-form hypothesis-and-closed-form pairing, in the BSCallHyp style. The full SDE-to-distribution derivation is the content of Phase 41 conceptually; the file states the closed form explicitly so that downstream consumers can use it without re-deriving.
vasicekSDEMean: the Vasicek mean r_0 · e^{−κt} + θ · (1 − e^{−κt}).vasicekSDEVariance: the Vasicek variance σ² · (1 − e^{−2κt}) / (2κ).vasicekSDETerminal: the terminal short rate mean + √var · Z as a function of Z ~ N(0, 1).vasicekSDE_variance_pos: positivity of variance for κ > 0, σ ≠ 0.vasicekSDE_mean_at_zero: r_t = r_0 at t = 0.Vasicek model, short rate SDE, Ornstein–Uhlenbeck, terminal distribution, Gaussian short rate, mean reversion, MSC 91G30, MSC 60H10, JEL E43
Above: what it imports. Below: what imports it.
ℝ → ℝ → ℝ → ℝ → ℝ
Vasicek SDE mean: r_0 · e^{−κt} + θ · (1 − e^{−κt}). Identical to the deterministic-part closed form vasicekDeterministic.
∀ (r_0 θ κ t : ℝ), vasicekSDEMean r_0 θ κ t = vasicekDeterministic r_0 θ κ t
The SDE mean is the deterministic closed form vasicekDeterministic.
ℝ → ℝ → ℝ → ℝ
Vasicek SDE variance: σ² · (1 − e^{−2κt}) / (2κ). The L² norm of the deterministic integrand e^{−κ(t−·)} on [0, t] against dB, via the simple-Itô isometry.
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ → ℝ
Vasicek SDE terminal distribution: with Z ~ N(0, 1), r_t(Z) = mean + √var · Z has the Gaussian law N(mean, var).
∀ (r_0 θ κ : ℝ), vasicekSDEMean r_0 θ κ 0 = r_0
Mean at t = 0 equals the initial value r_0.
∀ (σ κ : ℝ), κ ≠ 0 → vasicekSDEVariance σ κ 0 = 0
Variance at t = 0 is zero (no diffusion yet).
∀ (σ κ t : ℝ), 0 < κ → 0 < t → σ ≠ 0 → 0 < vasicekSDEVariance σ κ t
Variance positivity for positive κ, t and non-zero σ: as 2κt > 0, e^{−2κt} < 1, so the variance numerator 1 − e^{−2κt} > 0. The denominator 2κ > 0 and σ² > 0 (from σ ≠ 0) make the whole variance strictly positive.
∀ (σ : ℝ) {κ : ℝ}, 0 < κ → ∀ {t : ℝ}, 0 ≤ t → 0 ≤ vasicekSDEVariance σ κ tVariance nonnegativity for κ > 0, t ≥ 0, any σ (no sign hypothesis on σ needed, unlike vasicekSDE_variance_pos's strict form).
∀ (σ : ℝ) {κ : ℝ}, 0 < κ → Filter.Tendsto (fun t => vasicekSDEVariance σ κ t) Filter.atTop (nhds (σ ^ 2 / (2 * κ)))The long-run variance. For κ > 0 the closed-form Vasicek variance σ²(1 − e^{−2κt})/(2κ) tends to σ²/(2κ) as t → ∞ — the variance of the textbook stationary law; no stationary law is constructed here.