Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Position-space marginal of the Wigner function

Proved
Wigner.wigner_marginal_position

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

analysismeasure-theoryquantum-mechanics

Integrating the Wigner function over momentum recovers the position probability density. Let ψ:R→C\psi : \mathbb{R} \to \mathbb{C}ψ:R→C be a Schwartz function, ℏ>0\hbar > 0ℏ>0, and x∈Rx \in \mathbb{R}x∈R. Then

∫−∞∞W(x,p) dp=∣ψ(x)∣2,\int_{-\infty}^{\infty} W(x, p)\,dp = |\psi(x)|^2,∫−∞∞​W(x,p)dp=∣ψ(x)∣2,

where WWW is the Wigner function of ψ\psiψ. For a pure state, ∣ψ(x)∣2|\psi(x)|^2∣ψ(x)∣2 is the probability density of finding the particle at position xxx, so the momentum-marginal of the Wigner function is exactly the Born position distribution. This is the first marginal identity of Property 2 in the source text, ∫dp W(x,p)=⟨x∣ρ^∣x⟩\int dp\, W(x,p) = \langle x|\hat\rho|x\rangle∫dpW(x,p)=⟨x∣ρ^​∣x⟩, which for a pure state reads ⟨x∣ρ^∣x⟩=∣ψ(x)∣2\langle x|\hat\rho|x\rangle = |\psi(x)|^2⟨x∣ρ^​∣x⟩=∣ψ(x)∣2.

Formalization Note Schwartz regularity is assumed so that the identity holds at every point xxx; it is the standing regularity convention of the source. The integral over ppp is a Lebesgue (Bochner) integral of a real-valued function.

Preamble
import Mathlib
import Definitions.Def_wigner

open MeasureTheory
Formal statement
namespace Wigner

theorem wigner_marginal_position (ψ : SchwartzMap ℝ ℂ) {ℏ x : ℝ} (hℏ : 0 < ℏ) :
    ∫ p, wigner (⇑ψ) ℏ x p = ‖⇑ψ x‖ ^ 2 := by sorry

end Wigner
Source
Wikipedia, "Wigner quasiprobability distribution" (oldid 1376057304), section "Mathematical properties", Property 2, first marginal formula. 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ψ range over all elements of the Schwartz space of smooth rapidly decreasing maps R→C\mathbb{R} \to \mathbb{C}R→C (the statement's only quantification over ψ\psiψ), and let ℏ,x\hbar, xℏ,x be real numbers with 0<ℏ0 < \hbar0<ℏ. The claim: the Lebesgue (Bochner) integral over p∈Rp \in \mathbb{R}p∈R of the real number wigner(ψ,ℏ,x,p)\mathrm{wigner}(\psi, \hbar, x, p)wigner(ψ,ℏ,x,p) — which by definition equals Re⁡(∫ψ(x+y)‾ψ(x−y)e2ipyi/ℏ dy)/(πℏ)\operatorname{Re}(\int \overline{\psi(x+y)}\psi(x-y)e^{2ipyi/\hbar}\,dy)/(\pi\hbar)Re(∫ψ(x+y)​ψ(x−y)e2ipyi/ℏdy)/(πℏ) — equals ∣ψ(x)∣2|\psi(x)|^2∣ψ(x)∣2, the square of the modulus of the complex number ψ(x)\psi(x)ψ(x).

Both sides are total: the outer integral is 000 if the integrand is not integrable (for Schwartz ψ\psiψ this does not occur, but the statement does not assume it). The identity is claimed for every xxx, not merely almost everywhere.

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