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.
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
positionOperatorSchwartzmomentumOperatorSchwartzStep 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_applyStep 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_mulAuthoritative 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
- Related resultAngular Momentum Generates the so(d) Commutation Algebrais related toThe Position–Momentum Commutator on Schwartz Space
- Related resultCanonical Position–Momentum Commutation in d Dimensionsis related toThe Position–Momentum Commutator on Schwartz Space
- Related resultPlane Waves as Generalized Momentum Eigenvectorsis related toThe Position–Momentum Commutator on Schwartz Space
- Related resultPosition States as Generalized Position Eigenvectorsis related toThe Position–Momentum Commutator on Schwartz Space
- Related resultThe Position–Momentum Commutator on Schwartz Spaceis related toZero Quantum Variance Exactly Characterizes Eigenstates
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 connectionsProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
QuantumMechanics.OneDimension.positionOperatorSchwartz_commutation_momentumOperatorSchwartzPhyslib.QuantumMechanics.OneDimension.Operators.Commutation6bd0b4b99d3dsorryAx reportedThe 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.



