The probability current, the continuity equation, and the two single-trajectory readings #
Category: 1-Mathlib (CSD-free; staged for upstream). BACKLOG #46.
Glossary: https://glossary.constraintsurfacedynamics.com/nelson-stochastic-mechanics/
Plain-language, CSD-role and formal statements of Nelson stochastic mechanics, with this module as
the Lean anchor. Kept symmetric by scripts/check-glossary.sh.
For a wavefunction ψ(t, x) solving i ∂_t ψ = −½ ∂²_x ψ + V ψ with V real (units ℏ = m = 1),
the Born density ρ = |ψ|² and the current J = Im(ψ̄ ∂_x ψ) satisfy
∂_t ρ + ∂_x J = 0,
and that one identity is what both single-trajectory formulations of quantum mechanics run on:
- Bohm. In polar form
ψ = R e^{iS}the current isJ = R² ∂_x S = ρ vwithv = ∂_x Sthe guidance velocity, so the continuity equation reads∂_t ρ + ∂_x(ρ v) = 0: the Born density is transported by the guidance field — equivariance. Along a trajectoryẋ = vthat isdρ/dt = −ρ ∂_x v(hasDerivAt_density_along_trajectory), the Lagrangian form. - Nelson. The same flux, split as
ρ v + ½ ∂_x ρ = ρ bwithb = v + ½ ∂_x log ρthe osmotic drift, turns the continuity equation into the Fokker–Planck equation of a diffusion with constant coefficient½:∂_t ρ = −∂_x(ρ b) + ½ ∂²_x ρ(nelson_fokkerPlanck). So|ψ|²is the law of Nelson's diffusion at every time, as an identity between derivatives.
Contents:
probDensity,probCurrent;- ★
hasDerivAt_probCurrent—∂_x J = Im(ψ̄ ∂²_x ψ): theIm(∂ψ̄ ∂ψ) = 0cancellation; - ★
hasDerivAt_probDensity_time—∂_t ρ = 2 Re(ψ̄ ∂_t ψ); - ★★
continuity_equation—∂_t ρ + ∂_x J = 0from the pointwise Schrödinger equation; hasDerivAt_polar, ★probCurrent_polar—J = R² ∂_x S;- ★★
continuity_polar—∂_t ρ + ∂_x(ρ v) = 0, equivariance; - ★★
hasDerivAt_density_along_trajectory—dρ/dt = −ρ ∂_x valong a Bohmian trajectory; - ★★
nelson_fokkerPlanck— the Fokker–Planck form with the osmotic drift.
Honest scope #
⚠️ One dimension. ∂_x is deriv; nothing here is stated on ℝᵈ, where the divergence would
have to be assembled coordinatewise.
⚠️ The Schrödinger equation is a hypothesis, pointwise. This module proves an identity about any
ψ that satisfies it at the point in question, together with the differentiability the identity
needs; it does not solve the equation and does not connect to the semigroup of
Analysis/Semigroup/SchrodingerSchwartz.lean (that would need the strong L² derivative to be read
pointwise, which is a regularity theorem, not this identity).
⚠️ No diffusion process. nelson_fokkerPlanck is the Fokker–Planck equation, an identity
between derivatives of ρ. That some diffusion process has ρ as its law at every time — Nelson's
theorem — needs stochastic differential equations, which Mathlib does not have at the pin
(MATHLIB-ABSENT(ProbabilityTheory.itoIntegral)): that half of BACKLOG #46 stays unclaimed, and
the row says so.
⚠️ No trajectory existence. hasDerivAt_density_along_trajectory takes a trajectory as given
(a curve whose velocity is the guidance field at the point). Existence and uniqueness of Bohmian
trajectories — the flow of v, which is singular at the nodes of ψ — is not addressed.
References: D. Bohm, Phys. Rev. 85 (1952) 166, §4 (the guidance equation and equivariance);
E. Nelson, Phys. Rev. 150 (1966) 1079 (the osmotic drift and the Fokker–Planck equation);
specs/bohm-nelson-scoping.md; specs/BACKLOG.md #46; specs/future-work.md.
The probability current Im(ψ̄ ∂_x ψ), in units ℏ = m = 1, read off the wavefunction and
its spatial derivative.
Equations
- Schrodinger.probCurrent ψ ψx t x = ((starRingEnd ℂ) (ψ t x) * ψx t x).im
Instances For
The two derivatives #
★ The spatial derivative of the current is Im(ψ̄ ∂²_x ψ): the term from differentiating the
conjugate is Im(∂ψ̄ ∂ψ) = 0, because z̄ z is real.
★ The time derivative of the density is 2 Re(ψ̄ ∂_t ψ).
The continuity equation #
★★ The continuity equation ∂_t ρ + ∂_x J = 0, from the Schrödinger equation at the point
with a real potential.
Bohm: the polar form, and equivariance #
The spatial derivative of a polar-form wavefunction:
∂_x (R e^{iS}) = (∂_x R + i R ∂_x S) e^{iS}.
The density in polar form is R².
★★ Equivariance: with the guidance velocity v = ∂_x S, the continuity equation reads
∂_t ρ + ∂_x (ρ v) = 0 — the Born density is transported by the guidance field, which is Bohm's
equivariance.
★★ Equivariance in Lagrangian form: along a trajectory whose velocity is the guidance field,
the density obeys dρ/dt = −ρ ∂_x v. Stated for any density and velocity field satisfying the
continuity equation at the point, which is what continuity_polar provides.
Nelson: the osmotic drift and the Fokker–Planck equation #
The spatial derivative of Nelson's flux: the guidance flux's derivative plus ½ ∂²_x ρ.
★★ The Born density solves the Fokker–Planck equation of Nelson's diffusion. With the
osmotic drift b = v + ½ ∂_x log ρ, so that the flux is nelsonFlux, the continuity equation
∂_t ρ + ∂_x(ρ v) = 0 becomes
∂_t ρ = −∂_x(ρ b) + ½ ∂²_x ρ,
the Fokker–Planck equation of a diffusion with constant coefficient ½: the osmotic term of the
drift is exactly what cancels the diffusion term. ρ' is the density's spatial derivative and ρ''
its second.