Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

pp. 26–27 — the momentum operator PjP_jPj​ is symmetric on D(Pj)D(P_j)D(Pj​)

Proved
LopesQM.momentumOp_symmetric

by LG · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

quantum-mechanicsself-adjoint-operators

Let ℏ∈R\hbar\in\mathbb Rℏ∈R, j∈{1,…,n}j\in\{1,\dots,n\}j∈{1,…,n}, and let ψ,φ:Rn→C\psi,\varphi:\mathbb R^n\to\mathbb Cψ,φ:Rn→C be of class C1C^1C1 with compact support. Then

⟨Pjψ,φ⟩=⟨ψ,Pjφ⟩,i.e.∫Rn(−iℏ ∂ψ∂xj)φ‾ dx=∫Rnψ (−iℏ ∂φ∂xj)‾ dx.\langle P_j\psi,\varphi\rangle=\langle\psi,P_j\varphi\rangle,\qquad\text{i.e.}\qquad\int_{\mathbb R^n}\Big(-i\hbar\,\frac{\partial\psi}{\partial x_j}\Big)\overline{\varphi}\,dx=\int_{\mathbb R^n}\psi\,\overline{\Big(-i\hbar\,\frac{\partial\varphi}{\partial x_j}\Big)}\,dx.⟨Pj​ψ,φ⟩=⟨ψ,Pj​φ⟩,i.e.∫Rn​(−iℏ∂xj​∂ψ​)φ​dx=∫Rn​ψ(−iℏ∂xj​∂φ​)​dx.

This is the integration-by-parts identity behind the self-adjointness of the momentum observable; it is used to move PjP_jPj​ across the inner product in the proof of the uncertainty principle.

Formalization Note The book proves the case n=1n=1n=1 explicitly and asserts the general case; the statement here is for arbitrary nnn and arbitrary index jjj. The book's standing convention ℏ>0\hbar>0ℏ>0 is not needed and not imposed.

Preamble
import Mathlib
import Definitions.Def_LopesQM_Defs
open MeasureTheory
Formal statement
namespace LopesQM
theorem momentumOp_symmetric {n : ℕ} (hbar : ℝ) (j : Fin n) (ψ φ : WaveFn n)
    (hψ : InMomentumDomain ψ) (hφ : InMomentumDomain φ) :
    l2Inner (momentumOp hbar j ψ) φ = l2Inner ψ (momentumOp hbar j φ) := by sorry
end LopesQM
Source
A. O. Lopes, "Uma Breve Introdução à Matemática da Mecânica Quântica", 31º Colóquio Brasileiro de Matemática, IMPA, 2017 (http://mat.ufrgs.br/~alopes/hom/livroquantum.pdf is the extended version); Definição 1.20 and the discussion following it, pp. 24–27: 'para todo φ, ψ ∈ D(P_1) vale < P_1 ψ, φ > = < ψ, P_1 φ >. Logo, P_1 é simétrico. Da mesma forma se mostra que P_j ...'
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

NON-BLIND READ-BACK — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement it describes, with full knowledge of the source text and of the intended meaning, at the explicit request of the account owner. It is therefore not a blind audit and must not be mistaken for independent testimony; reviewers should read the Lean code themselves and, ideally, obtain an independent blind read-back before relying on it.

Fix a natural number nnn, a real number ℏ\hbarℏ (any real value, no sign condition), an index j∈{0,…,n−1}j\in\{0,\dots,n-1\}j∈{0,…,n−1}, and two functions ψ,φ:Rn→C\psi,\varphi:\mathbb R^n\to\mathbb Cψ,φ:Rn→C that are both continuously differentiable (real C1C^1C1) and have compact support. Writing ∂j\partial_j∂j​ for the Fréchet derivative in the direction of the jjj-th basis vector, the statement asserts

∫Rn(−iℏ ∂jψ(x)) φ(x)‾ dx  =  ∫Rnψ(x) (−iℏ ∂jφ(x))‾ dx,\int_{\mathbb R^n}\big(-i\hbar\,\partial_j\psi(x)\big)\,\overline{\varphi(x)}\,dx\;=\;\int_{\mathbb R^n}\psi(x)\,\overline{\big(-i\hbar\,\partial_j\varphi(x)\big)}\,dx,∫Rn​(−iℏ∂j​ψ(x))φ(x)​dx=∫Rn​ψ(x)(−iℏ∂j​φ(x))​dx,

i.e. ⟨Pjψ,φ⟩=⟨ψ,Pjφ⟩\langle P_j\psi,\varphi\rangle=\langle\psi,P_j\varphi\rangle⟨Pj​ψ,φ⟩=⟨ψ,Pj​φ⟩ with the first-slot-linear inner product. Both integrands are continuous with compact support, hence integrable, so neither side is a default value. For ℏ=0\hbar=0ℏ=0 both sides are 000. The case n=0n=0n=0 is vacuous.

Human review
  • Endorsed by Shuze Chen · Sep 26, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 26, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me