Theorem 8.2 — Heisenberg uncertainty principle Δ_ψ(A)Δ_ψ(B) ≥ ½|𝔼_ψ([A,B])|
ProvedTeschlQM.Algebraic.heisenbergLet and be symmetric operators in a complex Hilbert space , and let be a state () with , i.e. , and . With ,
Equality holds if for some , or if is an eigenvector of or of .
For position and momentum this gives .
Formalization Note. and are Teschl's (2.5)–(2.6), which presuppose a state; the hypothesis is added explicitly (without it the inequality fails by scaling). The equality clause is an implication, as in the book, not an equivalence.
import Mathlib import Definitions.Def_TeschlQM_Shared_IsSymmetric import Definitions.Def_TeschlQM_Algebraic_expectation
namespace TeschlQM.Algebraic
open scoped InnerProductSpace
/-- Teschl, Theorem 8.2 (Heisenberg Uncertainty Principle), p. 174. For symmetric `A`, `B` and a
state `ψ ∈ 𝔇(AB) ∩ 𝔇(BA)` (`‖ψ‖ = 1`),
`Δ_ψ(A) Δ_ψ(B) ≥ ½ |𝔼_ψ([A, B])|` with `[A, B]ψ = ABψ − BAψ` (8.10), and equality holds if
`(B − 𝔼_ψ(B))ψ = iλ(A − 𝔼_ψ(A))ψ` for some real `λ ≠ 0` (8.11), or if `ψ` is an eigenstate of `A`
or of `B`. -/
theorem heisenberg {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H]
[CompleteSpace H] (A B : H →ₗ.[ℂ] H) (hA : TeschlQM.Shared.IsSymmetric A) (hB : TeschlQM.Shared.IsSymmetric B)
(ψ : H) (hψ : ‖ψ‖ = 1) (hψA : ψ ∈ A.domain) (hψB : ψ ∈ B.domain)
(hAB : B ⟨ψ, hψB⟩ ∈ A.domain) (hBA : A ⟨ψ, hψA⟩ ∈ B.domain) :
deviation A ⟨ψ, hψA⟩ * deviation B ⟨ψ, hψB⟩ ≥
1 / 2 * ‖⟪ψ, A ⟨B ⟨ψ, hψB⟩, hAB⟩ - B ⟨A ⟨ψ, hψA⟩, hBA⟩⟫_ℂ‖ ∧
((∃ lam : ℝ, lam ≠ 0 ∧
B ⟨ψ, hψB⟩ - expectation B ⟨ψ, hψB⟩ • ψ =
(Complex.I * lam) • (A ⟨ψ, hψA⟩ - expectation A ⟨ψ, hψA⟩ • ψ)) ∨
(∃ a : ℂ, A ⟨ψ, hψA⟩ = a • ψ) ∨ (∃ b : ℂ, B ⟨ψ, hψB⟩ = b • ψ) →
deviation A ⟨ψ, hψA⟩ * deviation B ⟨ψ, hψB⟩ =
1 / 2 * ‖⟪ψ, A ⟨B ⟨ψ, hψB⟩, hAB⟩ - B ⟨A ⟨ψ, hψA⟩, hBA⟩⟫_ℂ‖) := by sorry
end TeschlQM.Algebraic
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Imported objects. These come from imported files whose code is not reproduced here and are not unfolded:
- a predicate "symmetric" on partially defined operators;
- two quantities written ("expectation", complex-valued) and ("deviation", real-valued). Each takes an operator and a vector in its domain.
Setting. is a complex Hilbert space: a complete inner product space whose inner product is conjugate-linear in the first slot.
Hypotheses.
- and are partially defined -linear operators on , and both satisfy the imported "symmetric" predicate.
- has .
- and .
- and .
Statement. Two claims hold.
- The uncertainty inequality:
Here is the complex modulus. 2. If at least one of the following holds:
- (a) there is a real with ;
- (b) for some complex ;
- (c) for some complex ;
then equality holds:
Degenerate cases.
- The condition excludes and the trivial space . With that exception, the hypotheses on are satisfiable whenever the domains allow.
- In (b) and (c) the eigenvalues may be any complex numbers, not only real ones.
- In (a), must be real and nonzero.
- All other content depends on the unshown definitions of "symmetric", and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.