AFTD Auto-Formalizing Theoretical Domains

LinearPMap.state_uncertainty_of_centered_commutator

theoremverifiedformalizationimported Lean

A centered commutator identity implies the standard 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_of_centered_commutator :
    |c| / 2 ≤ standardDeviation A ψ * standardDeviation B ⟨ψ, hψB⟩
Formalizes
Physlib, `LinearPMap.state_uncertainty_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.
Verified
10 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 8
Used by 1

Lean source view module on GitHub

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 standard uncertainty bound. -/lemma LinearPMap.state_uncertainty_of_centered_commutator :    |c| / 2 ≤ standardDeviation A ψ * standardDeviation B ⟨ψ, hψB⟩ := by  have h_sq := state_uncertainty_squared_of_centered_commutator A B ψ hψB h_centered  refine sqrt_mul_le_of_sq_le (variance_nonneg A ψ) (by positivity) ?_  simpa [standardDeviation] using h_sq
See it in the graphDiscuss this resultChallenge it