AFTD Auto-Formalizing Theoretical Domains

LinearPMap.inner_state_centered_eq_zero

theoremverifiedformalizationimported Lean

For a unit vector and symmetric T, the centered vector is orthogonal to the state.

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
lemma LinearPMap.inner_state_centered_eq_zero (T : H →ₗ.[ℂ] H) (hT : T.IsSymmetric)
    (ψ : T.domain) (hψ_norm : ‖(ψ : H)‖ = 1) :
    ⟪(ψ : H), centered T ψ⟫_ℂ = 0
Formalizes
Physlib, `LinearPMap.inner_state_centered_eq_zero`
Lean proof
By Matteo Cipollina, Krystian Nowakowski, 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 5

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] in/-- For a unit vector and symmetric `T`, the centered vector is orthogonal to the state. -/lemma LinearPMap.inner_state_centered_eq_zero (T : H →ₗ.[ℂ] H) (hT : T.IsSymmetric)    (ψ : T.domain) (hψ_norm : ‖(ψ : H)‖ = 1) :    ⟪(ψ : H), centered T ψ⟫_ℂ = 0 := by  rw [centered_eq, inner_sub_right, inner_smul_right, expectedValue_eq_inner T hT ψ]  simp [hψ_norm, inner_self_eq_norm_sq_to_K]
See it in the graphDiscuss this resultChallenge it