LinearPMap.inner_eq_expectedValue
theoremverifiedformalizationimported Lean
Reverse orientation of LinearPMap.expectedValue_eq_inner.
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_eq_expectedValue (T : H →ₗ.[ℂ] H) (hT : T.IsSymmetric) (ψ : T.domain) : (expectedValue T ψ : ℂ) = ⟪(ψ : H), T ψ⟫_ℂ
- Formalizes
- Physlib, `LinearPMap.inner_eq_expectedValue`
- 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.inner_eq_expectedValue← LinearPMap.inner_eq_expectedValue (Physlib/QuantumMechanics/Operators/StateObservables/ExpectedValue.lean:66): verbatim
- Verified
- 10 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- LinearPMap.expectedValueExpectation value
re ⟪ψ, Tψ⟫_ℂforψ ∈ T.domain. For symmetricT, this agrees with⟪ψ, Tψ⟫_ℂafter coercion fromℝ; see… - LinearPMap.IsSymmetricA LinearPMap
Tis symmetric iff⟪T x, y⟫_ℂ = ⟪x, T y⟫_ℂfor allx y : T.domain. - LinearPMap.expectedValue_eq_innerIf
Tis symmetric,⟪ψ, Tψ⟫_ℂis the expectation value, coerced toℂ.
- LinearPMap.expectedValueExpectation value
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 /-- Reverse orientation of `LinearPMap.expectedValue_eq_inner`. -/ lemma LinearPMap.inner_eq_expectedValue (T : H →ₗ.[ℂ] H) (hT : T.IsSymmetric) (ψ : T.domain) : (expectedValue T ψ : ℂ) = ⟪(ψ : H), T ψ⟫_ℂ := (expectedValue_eq_inner T hT ψ).symm