LinearPMap.centered
defimported Lean
The centered vector Tψ - ⟨T⟩_ψ ψ.
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 noncomputable def LinearPMap.centered (T : H →ₗ.[ℂ] H) (ψ : T.domain) : H
- Defined in
- Physlib, `LinearPMap.centered`
- 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.LinearPMap.centered← LinearPMap.centered (Physlib/QuantumMechanics/Operators/StateObservables/ExpectedValue.lean:71): verbatim
- Verified
- 10 Oct 2026
- Axioms
- none listed
- Built on 1
- LinearPMap.expectedValueExpectation value
re ⟪ψ, Tψ⟫_ℂforψ ∈ T.domain. For symmetricT, this agrees with⟪ψ, Tψ⟫_ℂafter coercion fromℝ; see…
- LinearPMap.expectedValueExpectation value
- Used by 20
- LinearPMap.varianceVariance
‖Tψ - ⟨T⟩_ψ ψ‖ ^ 2; onlyψ ∈ T.domainis required. - LinearPMap.covariance_commSwapping the two observables does not change the covariance.
- LinearPMap.state_uncertainty_squared_of_centered_commutatorA centered commutator identity implies the squared Robertson uncertainty bound.
- LinearPMap.centered_eqThe centered vector, unfolded to its raw expression.
- LinearPMap.variance_nonnegVariance is nonnegative.
- LinearPMap.standardDeviation_eq_zero_iff_centered_eq_zeroZero standard deviation is the same as a zero centered vector.
- LinearPMap.covarianceCovariance, defined as the real part of the centered inner product.
- LinearPMap.covariance_eq_re_symm_centeredCovariance as the real part of the symmetrized centered inner product.
- LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutatorA centered commutator identity implies the Robertson–Schrödinger uncertainty bound.
- LinearPMap.inner_state_centered_eq_zeroFor a unit vector and symmetric
T, the centered vector is orthogonal to the state. - LinearPMap.variance_eq_zero_iffZero variance is the same as
Tψ = ⟨T⟩_ψ ψ. - LinearPMap.inner_centered_commutator_of_raw_commutatorA raw commutator expectation determines the centered commutator expectation.
- LinearPMap.centeredCommutatorExpectationThe scalar commutator of the centered vectors of
AandBin the stateψ. - LinearPMap.standardDeviation_eq_zero_iffZero standard deviation is the same as
Tψ = ⟨T⟩_ψ ψ. - LinearPMap.covariance_self_eq_varianceLinearPMap.covariance_self_eq_variance
- LinearPMap.variance_eq_zero_iff_centered_eq_zeroZero variance is the same as a zero centered vector.
- LinearPMap.variance_eq_centered_norm_sqThe variance is the squared norm of the centered vector.
- LinearPMap.inner_centered_state_eq_zeroThe conjugate orientation of
LinearPMap.inner_state_centered_eq_zero. - LinearPMap.centered_eq_zero_iffA centered vector vanishes exactly when
Tψ = ⟨T⟩_ψ ψ. - LinearPMap.covariance_eq_re_inner_centeredCovariance, unfolded to the real part of the centered inner product.
- LinearPMap.varianceVariance
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open LinearPMap in open InnerProductSpace in variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] in /-- The centered vector `Tψ - ⟨T⟩_ψ ψ`. -/ noncomputable def LinearPMap.centered (T : H →ₗ.[ℂ] H) (ψ : T.domain) : H := T ψ - (expectedValue T ψ : ℂ) • (ψ : H)