LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutator
theoremverifiedformalizationimported Lean
A centered commutator identity implies the Robertson–Schrödinger uncertainty bound.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open LinearPMap in open InnerProductSpace in variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] in variable (A B : H →ₗ.[ℂ] H) in variable (ψ : A.domain) in variable (hψB : (ψ : H) ∈ B.domain) in variable {c : ℝ} in variable (h_centered : centeredCommutatorExpectation A B ψ hψB = Complex.I * c) in include h_centered in lemma LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutator : (covariance A B ψ hψB) ^ 2 + (c / 2) ^ 2 ≤ variance A ψ * variance B ⟨ψ, hψB⟩
- Formalizes
- Physlib, `LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutator`
- Lean proof
- By Matteo Cipollina, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2026 Axiomatic-AI. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutator← LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutator (Physlib/QuantumMechanics/Operators/Uncertainty.lean:191): verbatim
- Verified
- 10 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 8
- LinearPMap.varianceVariance
‖Tψ - ⟨T⟩_ψ ψ‖ ^ 2; onlyψ ∈ T.domainis required. - LinearPMap.covarianceCovariance, defined as the real part of the centered inner product.
- LinearPMap.standardDeviation_sqLinearPMap.standardDeviation_sq
- LinearPMap.centeredCommutatorExpectationThe scalar commutator of the centered vectors of
AandBin the stateψ. - LinearPMap.centeredThe centered vector
Tψ - ⟨T⟩_ψ ψ. - LinearPMap.covariance_self_eq_varianceLinearPMap.covariance_self_eq_variance
- LinearPMap.variance_eq_centered_norm_sqThe variance is the squared norm of the centered vector.
- LinearPMap.inner_norm_sq_eq_re_sq_add_commutator_half_sqLinearPMap.inner_norm_sq_eq_re_sq_add_commutator_half_sq
- LinearPMap.varianceVariance
- Used by 1
- LinearPMap.state_uncertainty_squared_with_covariance_of_raw_commutatorA raw commutator expectation implies the squared uncertainty bound with covariance term.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen LinearPMap inopen InnerProductSpace invariable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] invariable (A B : H →ₗ.[ℂ] H) invariable (ψ : A.domain) invariable (hψB : (ψ : H) ∈ B.domain) invariable {c : ℝ} invariable (h_centered : centeredCommutatorExpectation A B ψ hψB = Complex.I * c) ininclude h_centered in/-- A centered commutator identity implies the Robertson–Schrödinger uncertainty bound. -/lemma LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutator : (covariance A B ψ hψB) ^ 2 + (c / 2) ^ 2 ≤ variance A ψ * variance B ⟨ψ, hψB⟩ := by rw [variance_eq_centered_norm_sq, variance_eq_centered_norm_sq] rw [show ‖centered A ψ‖ ^ 2 * ‖centered B ⟨ψ, hψB⟩‖ ^ 2 = (‖centered A ψ‖ * ‖centered B ⟨ψ, hψB⟩‖) ^ 2 by ring] calc (covariance A B ψ hψB) ^ 2 + (c / 2) ^ 2 = ‖⟪centered A ψ, centered B ⟨ψ, hψB⟩⟫_ℂ‖ ^ 2 := by rw [inner_norm_sq_eq_re_sq_add_commutator_half_sq (by simpa [centeredCommutatorExpectation] using h_centered)] rfl _ ≤ (‖centered A ψ‖ * ‖centered B ⟨ψ, hψB⟩‖) ^ 2 := by have h_bound := norm_inner_le_norm (𝕜 := ℂ) (centered A ψ) (centered B ⟨ψ, hψB⟩) have h_inner_nonneg : 0 ≤ ‖⟪centered A ψ, centered B ⟨ψ, hψB⟩⟫_ℂ‖ := norm_nonneg _ have h_mul_nonneg : 0 ≤ ‖centered A ψ‖ * ‖centered B ⟨ψ, hψB⟩‖ := mul_nonneg (norm_nonneg _) (norm_nonneg _) nlinarith