LinearPMap.inner_im_of_commutator_eq
theoremverifiedformalizationimported Lean
LinearPMap.inner_im_of_commutator_eq
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open InnerProductSpace in variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] in lemma LinearPMap.inner_im_of_commutator_eq {u v : H} {c : ℝ} (h_comm : ⟪u, v⟫_ℂ - ⟪v, u⟫_ℂ = Complex.I * c) : (⟪u, v⟫_ℂ).im = c / 2
- Formalizes
- Physlib, `LinearPMap.inner_im_of_commutator_eq`
- 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.inner_im_of_commutator_eq← LinearPMap.inner_im_of_commutator_eq (Physlib/QuantumMechanics/Operators/Uncertainty.lean:69): verbatim
- Verified
- 10 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 2
- LinearPMap.commutator_half_sq_le_mul_norm_sqLinearPMap.commutator_half_sq_le_mul_norm_sq
- LinearPMap.inner_norm_sq_eq_re_sq_add_commutator_half_sqLinearPMap.inner_norm_sq_eq_re_sq_add_commutator_half_sq
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 InnerProductSpace invariable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] inlemma LinearPMap.inner_im_of_commutator_eq {u v : H} {c : ℝ} (h_comm : ⟪u, v⟫_ℂ - ⟪v, u⟫_ℂ = Complex.I * c) : (⟪u, v⟫_ℂ).im = c / 2 := by have h_conj_im : (⟪v, u⟫_ℂ).im = -(⟪u, v⟫_ℂ).im := by rw [(inner_conj_symm (𝕜 := ℂ) v u).symm, Complex.conj_im] have h_im := congrArg Complex.im h_comm rw [Complex.sub_im] at h_im simp at h_im rw [h_conj_im] at h_im linarith