Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 10.3 — the virial theorem λ = −⟨ψ, H₀ψ⟩ = ½⟨ψ, Vψ⟩

Proved
TeschlQM.OneParticle.virial

by mikedeng1 · Sep 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

mathematical-physicsp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1schrodinger-operatorsspectral-theory

Let n≥1n \ge 1n≥1 and let U(s)ψ(x)=e−ns/2ψ(e−sx)U(s)\psi(x) = e^{-ns/2}\psi(e^{-s}x)U(s)ψ(x)=e−ns/2ψ(e−sx) be the dilation group on L2(Rn)L^2(\mathbb R^n)L2(Rn). Suppose V:Rn→RV : \mathbb R^n \to \mathbb RV:Rn→R is measurable with U(−s)VU(s)=e−sVU(-s) V U(s) = e^{-s} VU(−s)VU(s)=e−sV for all s∈Rs \in \mathbb Rs∈R, and let H=H0+VH = H_0 + VH=H0​+V on D(H0)∩D(V)\mathfrak D(H_0) \cap \mathfrak D(V)D(H0​)∩D(V). Then any normalized eigenfunction ψ\psiψ of HHH corresponding to an eigenvalue λ\lambdaλ satisfies

λ=−⟨ψ,H0ψ⟩=12⟨ψ,Vψ⟩.\lambda = -\langle \psi, H_0 \psi \rangle = \tfrac12 \langle \psi, V \psi \rangle .λ=−⟨ψ,H0​ψ⟩=21​⟨ψ,Vψ⟩.

In particular, every eigenvalue is real and negative.

The Coulomb potential −γ/∣x∣-\gamma/|x|−γ/∣x∣ is homogeneous of this kind, so the virial theorem shows that the hydrogen atom has no eigenvalues in [0,∞)[0,\infty)[0,∞).

Formalization Note. Since U(−s)VU(s)U(-s) V U(s)U(−s)VU(s) is multiplication by x↦V(esx)x \mapsto V(e^s x)x↦V(esx), the hypothesis is stated as: for every sss, V(esx)=e−sV(x)V(e^s x) = e^{-s} V(x)V(esx)=e−sV(x) for almost every xxx. The eigenfunction ψ\psiψ lies in D(H0)∩D(V)\mathfrak D(H_0) \cap \mathfrak D(V)D(H0​)∩D(V) with ∥ψ∥=1\|\psi\| = 1∥ψ∥=1 and H0ψ+Vψ=λψH_0\psi + V\psi = \lambda\psiH0​ψ+Vψ=λψ. "Negative" is Im⁡λ=0\operatorname{Im}\lambda = 0Imλ=0 and Re⁡λ<0\operatorname{Re}\lambda < 0Reλ<0.

Preamble
import Mathlib
import Definitions.Def_TeschlQM_OneParticle_multiplicationOperator
import Definitions.Def_TeschlQM_OneParticle_freeHamiltonian
Formal statement
namespace TeschlQM.OneParticle

open MeasureTheory
open scoped InnerProductSpace

/-- Teschl, Theorem 10.3 (virial theorem), p. 223. Suppose `H = H₀ + V` with
`U(-s) V U(s) = e^{-s} V`, where `U(s)ψ(x) = e^{-ns/2} ψ(e^{-s}x)` is the dilation group (10.8).
Then any normalized eigenfunction `ψ` corresponding to an eigenvalue `λ` satisfies
`λ = -⟨ψ, H₀ψ⟩ = ½⟨ψ, Vψ⟩` (10.13). In particular, all eigenvalues must be negative.

For the multiplication operator `V`, `U(-s) V U(s)` is multiplication by `x ↦ V(e^s x)`, so the
hypothesis is `V(e^s x) = e^{-s} V(x)` for a.e. `x`, for every `s ∈ ℝ`. `V` is measurable (2.21),
`H₀ + V` is the operator sum on `𝔇(H₀) ∩ 𝔇(V)`, and `n ≥ 1`. -/
theorem virial (n : ℕ) (hn : 1 ≤ n) (V : EuclideanSpace ℝ (Fin n) → ℝ) (hVm : Measurable V)
    (hV : ∀ s : ℝ, ∀ᵐ x ∂(volume : Measure (EuclideanSpace ℝ (Fin n))),
      V (Real.exp s • x) = Real.exp (-s) * V x)
    (lam : ℂ) (ψ : L2 n) (hψH₀ : ψ ∈ (freeHamiltonian n).domain)
    (hψV : ψ ∈ (multOp (fun x => (V x : ℂ))).domain) (hψ1 : ‖ψ‖ = 1)
    (heig : freeHamiltonian n ⟨ψ, hψH₀⟩ + multOp (fun x => (V x : ℂ)) ⟨ψ, hψV⟩ = lam • ψ) :
    lam = -⟪ψ, (freeHamiltonian n ⟨ψ, hψH₀⟩)⟫_ℂ ∧
      lam = (1 / 2 : ℂ) * ⟪ψ, (multOp (fun x => (V x : ℂ)) ⟨ψ, hψV⟩)⟫_ℂ ∧
      lam.im = 0 ∧ lam.re < 0 := by sorry

end TeschlQM.OneParticle
Source
Teschl, Mathematical Methods in Quantum Mechanics, AMS GSM 99, 2009, p. 223, Theorem 10.3
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • n∈Nn\in\mathbb{N}n∈N with n≥1n\ge1n≥1.
  • L2(Rn)L^2(\mathbb{R}^n)L2(Rn) is the space of square-integrable complex functions on Euclidean Rn\mathbb{R}^nRn with Lebesgue measure, modulo equality almost everywhere. Its inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ is conjugate-linear in the first argument.
  • ψ^\hat\psiψ^​ is Mathlib's unitary L2L^2L2 Fourier transform, the extension of ∫e−2πi⟨x,ξ⟩ψ(x) dx\int e^{-2\pi i\langle x,\xi\rangle}\psi(x)\,dx∫e−2πi⟨x,ξ⟩ψ(x)dx.
  • H0H_0H0​ has domain {ψ:(2π∥ξ∥)2ψ^∈L2}\{\psi:(2\pi\|\xi\|)^2\hat\psi\in L^2\}{ψ:(2π∥ξ∥)2ψ^​∈L2} and acts by H0ψ=F−1[(2π∥ξ∥)2ψ^]H_0\psi=\mathcal{F}^{-1}[(2\pi\|\xi\|)^2\hat\psi]H0​ψ=F−1[(2π∥ξ∥)2ψ^​].
  • For a function VVV, "multiplication by VVV" has maximal domain {f∈L2:Vf∈L2}\{f\in L^2: Vf\in L^2\}{f∈L2:Vf∈L2} and sends f↦Vff\mapsto Vff↦Vf.

Hypotheses.

  • V:Rn→RV:\mathbb{R}^n\to\mathbb{R}V:Rn→R is Borel measurable.
  • For every s∈Rs\in\mathbb{R}s∈R, for almost every x∈Rnx\in\mathbb{R}^nx∈Rn,
V(esx)=e−sV(x).V(e^{s}x)=e^{-s}V(x).V(esx)=e−sV(x).

The exceptional null set may depend on sss.

  • λ∈C\lambda\in\mathbb{C}λ∈C and ψ∈L2(Rn)\psi\in L^2(\mathbb{R}^n)ψ∈L2(Rn).
  • ψ\psiψ lies in the domain of H0H_0H0​ and in the domain of multiplication by VVV, i.e. Vψ∈L2V\psi\in L^2Vψ∈L2.
  • ∥ψ∥L2=1\|\psi\|_{L^2}=1∥ψ∥L2​=1.
  • The eigenvalue equation holds:
H0ψ+Vψ=λψ.H_0\psi+V\psi=\lambda\psi.H0​ψ+Vψ=λψ.

Conclusion. All four of the following hold:

λ=−⟨ψ,H0ψ⟩,λ=12⟨ψ,Vψ⟩,Im⁡λ=0,Re⁡λ<0.\lambda=-\langle\psi,H_0\psi\rangle,\qquad \lambda=\tfrac12\langle\psi,V\psi\rangle,\qquad \operatorname{Im}\lambda=0,\qquad \operatorname{Re}\lambda<0 .λ=−⟨ψ,H0​ψ⟩,λ=21​⟨ψ,Vψ⟩,Imλ=0,Reλ<0.

Degenerate cases:

  • n=0n=0n=0. Excluded by the hypothesis n≥1n\ge1n≥1.
  • V≡0V\equiv0V≡0. Satisfies the scaling hypothesis. The statement then asserts that any normalized ψ\psiψ in the domain of H0H_0H0​ with H0ψ=λψH_0\psi=\lambda\psiH0​ψ=λψ has λ=−⟨ψ,H0ψ⟩=0\lambda=-\langle\psi,H_0\psi\rangle=0λ=−⟨ψ,H0​ψ⟩=0 and λ<0\lambda<0λ<0 simultaneously.
  • No eigenpair. If no (λ,ψ)(\lambda,\psi)(λ,ψ) satisfies the hypotheses for a given VVV, the statement is vacuous for that VVV.
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 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