Classical statistical mechanics describes a particle by a probability density on phase space; quantum mechanics replaces this by a wavefunction, and the uncertainty principle forbids any honest probability interpretation of simultaneous position and momentum. In 1932, Eugene Wigner introduced the transform that has become the standard way of placing quantum states on classical phase space anyway: a quasiprobability distribution , defined by an explicit integral formula, whose marginals reproduce the Born position and momentum distributions of the wavefunction (Wigner 1932). Unlike a probability density, generally takes negative values, and this negativity is the standard marker of genuinely quantum behavior — of interference — in quantum optics, quantum information, and the study of the quantum-to-classical transition.
The central question about the probabilistic character of is: which quantum states have an everywhere nonnegative Wigner function? Hudson's theorem (1974) gives the complete answer in one dimension: only Gaussian wave packets (Hudson 1974). This mission formalizes the definition, the basic properties, and the positivity characterization of the Wigner function, following the source text, the Wikipedia article Wigner quasiprobability distribution (oldid 1376057304).
Timeline of the key results:
A wavefunction is a function , and denotes the reduced Planck constant. The Wigner function of at the phase-space point is
a Lebesgue (Bochner) integral over . The Lean development factors this into three definitions mirroring the formula: the integrand (Wigner.wignerIntegrand), the integral (Wigner.wignerIntegral), and the Wigner function itself (Wigner.wigner), defined as the real part of the integral divided by ; that the discarded imaginary part vanishes is itself milestone 1. The Fock states of the harmonic oscillator enter through the physicists' Hermite polynomials and the ordinary Laguerre polynomials , defined by their standard three-term recurrences, and the normalized -th Hermite function
This is exactly the source's statement of Hudson's theorem; nothing is left unfixed. The mission is complete when the goal is proved.
The milestone list is the source's property list, ordered as the attack path: (1) reality of the defining integral; (2) the position marginal ; (3) the total integral ; (4) Groenewold's closed formula for the Fock states; (5) a concrete negativity witness, the first excited Fock state at the origin; (6) the pointwise bound ; (7) the converse of Hudson's theorem, that Gaussian pure states have nonnegative Wigner function.
The result itself. Hudson's theorem draws the exact boundary between the classical and the quantum in phase space: Gaussian states — coherent and squeezed states — are precisely the pure states that can be described by an honest phase-space probability density. This is used in quantum optics as a nonclassicality criterion, in tomography and state-reconstruction theory, and in the study of the quantum-to-classical transition: negativity of is shielded by the uncertainty principle (negative regions cannot extend beyond a few ) and disappears in the classical limit, as the source emphasizes.
What formalizing it adds. The Wigner transform and this circle of ideas are absent from current Mathlib, so the mission builds the foundations itself: the integral transform and its basic identities (reality, marginals, normalization, boundedness), the Hermite/Laguerre recurrences and Groenewold's Fock-state formula, and finally Hudson's theorem with its converse. All of these are reusable well beyond the mission — for quantum optics, for the Wigner–Ville time–frequency distribution used in signal analysis, and for the wider phase-space formulation of quantum mechanics (Moyal brackets, star products). These are known results: this is formalization of known mathematics, not new mathematics, and no machine-checked proof of Hudson's theorem exists in Mathlib today.
The naive approach to Hudson's theorem is doomed from the start, and solvers should know it: since the Husimi function (a Gaussian smoothing of ) is positive for every quantum state, no smoothing or positivity-of-convolution argument can extract any information from . The known route (Soto–Claverie) is: everywhere forces the Husimi function strictly positive everywhere; the Husimi function is the squared modulus of the Segal–Bargmann transform of , so is a zero-free entire function; hence for some entire , and square-integrability of against a Gaussian measure forces to have at most quadratic growth, hence to be a quadratic polynomial; inverting the Segal–Bargmann transform then exhibits as a Gaussian. The hard Lean steps are the growth-to-polynomial (Liouville-type) step, the inversion of the transform, and, for the milestone properties, the Fubini and Fourier-inversion machinery. Mathlib contains the raw harmonic analysis (Fourier inversion for Schwartz functions) but none of the assembled phase-space layer.
Infrastructure contributed and reusable beyond this mission: hermiteP, laguerreL, fockState, wignerIntegrand, wignerIntegral, wigner. Welcome additional contributions: the momentum marginal, the state-overlap formula (Property 6), Galilei covariance (Property 4), and harmonic-oscillator time evolution, as further theorems in the same namespace.
namespace Wigner
theorem hudson {ψ : ℝ → ℂ} {ℏ : ℝ} (hℏ : 0 < ℏ)
(hnorm : ∫ y, ‖ψ y‖ ^ 2 = 1)
(hW : ∀ x p, 0 ≤ wigner ψ ℏ x p) :
∃ a b c : ℂ, 0 < Complex.re a ∧
∀ᵐ y ∂volume, ψ y = Complex.exp (-(a * (y : ℂ) ^ 2) + b * (y : ℂ) + c) := by sorry
end Wigner
Hudson's theorem: the only pure states whose Wigner functions are nonnegative are Gaussian wave packets. Let be a normalized pure state, , and . If
then there exist complex numbers with such that
for almost every . This is the source text's characterization, proved by R. L. Hudson (1974) and extended to higher dimensions by Soto and Claverie (1983): a one-dimensional pure state has an everywhere nonnegative Wigner function if and only if it is a Gaussian wave packet. It delimits exactly which quantum states admit a classical phase-space probability description.
Formalization Note The conclusion holds almost everywhere: the Wigner function is insensitive to changes of on a Lebesgue-null set, so no pointwise conclusion is possible; this is the faithful reading of the source's "the wave function must have the form". No minimum-uncertainty property is claimed (the source explicitly notes that nonnegative-Wigner pure states need not be minimum-uncertainty states in Heisenberg's sense).
No open leaves. Every sub-goal is proved or awaiting decomposition.