Quantum mechanics · PhysLib theorem

The Position–Momentum Commutator on Schwartz Space

For every complex Schwartz function on the line, PhysLib proves that applying position and momentum in opposite orders differs by iℏ times the original function.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

PhysLib proves [X,P]ψ = iℏψ as an equality of one-dimensional complex Schwartz maps. It does not claim an equality of arbitrary unbounded operators on all of L² or address self-adjoint closures.

Context

Why it matters

The canonical position–momentum commutator is among quantum mechanics's most famous formulas, and the Schwartz-space statement makes its otherwise delicate operator domain explicit.

Inside the proof

Proof architecture

The proof expands both orders of the two concrete Schwartz operators, uses the derivative product rule on xψ, and cancels the common xψ′ terms.

Step 1

Apply momentum after position

Multiplication by x is followed by the −iℏ derivative, so the product rule produces both ψ and xψ′ terms.

P(Xψ) = −iℏ(ψ + xψ′)

Show the Lean ingredients
positionOperatorSchwartzmomentumOperatorSchwartz

Step 2

Apply position after momentum

The opposite order multiplies −iℏψ′ by x and contains only the xψ′ term.

X(Pψ) = −iℏ xψ′

Show the Lean ingredients
positionOperatorSchwartz_applymomentumOperatorSchwartz_apply

Step 3

Subtract and retain the quantum residue

The xψ′ contributions cancel, and the remaining sign gives exactly iℏψ.

XPψ − PXψ = iℏψ

Show the Lean ingredients
positionOperatorSchwartz_commutation_momentumOperatorSchwartzderiv_fun_mul

Authoritative formal type

Exact PhysLib statement

QuantumMechanics.OneDimension.positionOperatorSchwartz_commutation_momentumOperatorSchwartz (ψ : SchwartzMap ℝ ℂ) : positionOperatorSchwartz (momentumOperatorSchwartz ψ) - momentumOperatorSchwartz (positionOperatorSchwartz ψ) = (Complex.I * Constants.ℏ) • ψ

This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.

Recorded connections

How this result fits

A one-step view of the published results directly connected to this page.

5 direct connections

Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.

Open this result in the full theorem map5 direct connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationQuantumMechanics.OneDimension.positionOperatorSchwartz_commutation_momentumOperatorSchwartz
Source modulePhyslib.QuantumMechanics.OneDimension.Operators.Commutation
Source footprint5 nonempty lines in this declaration · 55 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomspropext, Classical.choice, Quot.sound
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab