Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Reality of the Wigner function

Proved
Wigner.wigner_real

by Lucas · Oct 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisquantum-mechanics

The Wigner function is real-valued. Let ψ:R→C\psi : \mathbb{R} \to \mathbb{C}ψ:R→C be a wavefunction, ℏ>0\hbar > 0ℏ>0 the reduced Planck constant, and (x,p)(x, p)(x,p) a point of phase space, and assume the defining integral exists, that is, the map y↦ψ(x+y)‾ ψ(x−y) e2ipy/ℏy \mapsto \overline{\psi(x+y)}\,\psi(x-y)\,e^{2ipy/\hbar}y↦ψ(x+y)​ψ(x−y)e2ipy/ℏ is Lebesgue-integrable over R\mathbb{R}R. Then

∫−∞∞ψ(x+y)‾ ψ(x−y) e2ipy/ℏ dy∈R,\int_{-\infty}^{\infty}\overline{\psi(x+y)}\,\psi(x-y)\,e^{2ipy/\hbar}\,dy \in \mathbb{R},∫−∞∞​ψ(x+y)​ψ(x−y)e2ipy/ℏdy∈R,

i.e. its imaginary part vanishes.

This is Property 1 of the Wigner function in the source text. It is what allows the Wigner function to be a real quantity, and it holds for every wavefunction for which the integral exists: the substitution y↦−yy \mapsto -yy↦−y exhibits the integral as its own complex conjugate.

Formalization Note The statement is expressed through the imaginary part of the defining integral Wigner.wignerIntegral; the Wigner function itself is defined as the real part of the same integral, so this milestone discharges exactly the discarded imaginary part.

Preamble
import Mathlib
import Definitions.Def_wigner

open MeasureTheory
Formal statement
namespace Wigner

theorem wigner_real {ψ : ℝ → ℂ} {ℏ x p : ℝ} (hℏ : 0 < ℏ)
    (hint : Integrable (fun y => wignerIntegrand ψ ℏ x p y) volume) :
    (wignerIntegral ψ ℏ x p).im = 0 := by sorry

end Wigner
Source
Wikipedia, "Wigner quasiprobability distribution" (oldid 1376057304), section "Mathematical properties", Property 1. https://en.wikipedia.org/wiki/Wigner_quasiprobability_distribution
Read-back

What the Lean code literally says, in plain math · glm-5-latest-short

Let ψ\psiψ be an arbitrary function R→C\mathbb{R} \to \mathbb{C}R→C and let ℏ,x,p\hbar, x, pℏ,x,p be arbitrary real numbers, under two hypotheses: (a) 0<ℏ0 < \hbar0<ℏ; (b) the map y↦ψ(x+y)‾⋅ψ(x−y)⋅e(2py/ℏ)⋅iy \mapsto \overline{\psi(x+y)} \cdot \psi(x-y) \cdot e^{(2py/\hbar) \cdot i}y↦ψ(x+y)​⋅ψ(x−y)⋅e(2py/ℏ)⋅i is Integrable with respect to Lebesgue measure on R\mathbb{R}R, i.e. the displayed Bochner integral exists. The conclusion: the imaginary part of

∫Rψ(x+y)‾ ψ(x−y) e(2py/ℏ)⋅i dy\int_{\mathbb{R}} \overline{\psi(x+y)}\, \psi(x-y)\, e^{(2py/\hbar) \cdot i}\, dy∫R​ψ(x+y)​ψ(x−y)e(2py/ℏ)⋅idy

equals 000.

The statement quantifies over all such ψ,ℏ,x,p\psi, \hbar, x, pψ,ℏ,x,p; nothing is asserted about the real part of the integral, nor about other phase-space points. Note that hypothesis (b) is what makes the statement about an existing integral: without it, the Bochner integral would be 000 by the junk-value convention and the conclusion would hold trivially for every ψ\psiψ.

Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 18, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me