Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Total integral of the Wigner function

Proved
Wigner.wigner_norm

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

analysismeasure-theoryquantum-mechanics

The total integral of the Wigner function is the squared L2L^2L2 norm of the wavefunction. Let ψ:R→C\psi : \mathbb{R} \to \mathbb{C}ψ:R→C be a Schwartz function and ℏ>0\hbar > 0ℏ>0. Then

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

For a normalized pure state the right-hand side equals 1: this is the normalization identity of Property 2 in the source, ∫dx∫dp W(x,p)=Tr(ρ^)\int dx \int dp\, W(x,p) = \mathrm{Tr}(\hat\rho)∫dx∫dpW(x,p)=Tr(ρ^​), since the trace of a pure-state density matrix is the squared norm of the wavefunction.

Formalization Note Both sides are Lebesgue integrals of real-valued functions over R\mathbb{R}R; the left side is an iterated integral. Schwartz regularity is the standing convention under which all displayed integrals exist.

Preamble
import Mathlib
import Definitions.Def_wigner

open MeasureTheory
Formal statement
namespace Wigner

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

end Wigner
Source
Wikipedia, "Wigner quasiprobability distribution" (oldid 1376057304), section "Mathematical properties", Property 2, third 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 Schwartz maps R→C\mathbb{R} \to \mathbb{C}R→C and let ℏ\hbarℏ be a real number with 0<ℏ0 < \hbar0<ℏ. The claim: the iterated integral

∫x∈R(∫p∈Rwigner(ψ,ℏ,x,p) dp)dx\int_{x \in \mathbb{R}} \left( \int_{p \in \mathbb{R}} \mathrm{wigner}(\psi, \hbar, x, p)\, dp \right) dx∫x∈R​(∫p∈R​wigner(ψ,ℏ,x,p)dp)dx

equals ∫x∈R∣ψ(x)∣2 dx\int_{x \in \mathbb{R}} |\psi(x)|^2\, dx∫x∈R​∣ψ(x)∣2dx. Both are Lebesgue integrals of real-valued functions with the standard junk-value convention; the left side is an iterated (not double) integral.

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