LinearPMap.standardDeviation_sq
theoremverifiedformalizationimported Lean
LinearPMap.standardDeviation_sq
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 @[simp] lemma LinearPMap.standardDeviation_sq (T : H →ₗ.[ℂ] H) (ψ : T.domain) : standardDeviation T ψ ^ 2 = variance T ψ
- Formalizes
- Physlib, `LinearPMap.standardDeviation_sq`
- 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.standardDeviation_sq← LinearPMap.standardDeviation_sq (Physlib/QuantumMechanics/Operators/StateObservables/Variance.lean:137): verbatim
- Verified
- 10 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- LinearPMap.varianceVariance
‖Tψ - ⟨T⟩_ψ ψ‖ ^ 2; onlyψ ∈ T.domainis required. - LinearPMap.variance_nonnegVariance is nonnegative.
- LinearPMap.standardDeviation_eq_sqrt_varianceThe standard deviation, unfolded to the square root of the variance.
- LinearPMap.standardDeviationStandard deviation
√(variance)forψ ∈ T.domain.
- LinearPMap.varianceVariance
- Used by 10
- LinearPMap.state_uncertainty_squared_of_raw_commutatorA raw commutator expectation implies the squared Robertson uncertainty bound.
- LinearPMap.state_uncertainty_squared_of_centered_commutatorA centered commutator identity implies the squared Robertson uncertainty bound.
- LinearPMap.standardDeviation_eq_zero_iff_centered_eq_zeroZero standard deviation is the same as a zero centered vector.
- LinearPMap.state_uncertainty_of_raw_commutatorA raw commutator expectation implies the standard uncertainty bound.
- LinearPMap.state_uncertainty_squared_with_covariance_of_centered_commutatorA centered commutator identity implies the Robertson–Schrödinger uncertainty bound.
- LinearPMap.state_uncertainty_of_centered_commutatorA centered commutator identity implies the standard uncertainty bound.
- LinearPMap.standardDeviation_eq_zero_iffZero standard deviation is the same as
Tψ = ⟨T⟩_ψ ψ. - LinearPMap.covariance_self_eq_varianceLinearPMap.covariance_self_eq_variance
- LinearPMap.state_uncertainty_squared_with_covariance_of_raw_commutatorA raw commutator expectation implies the squared uncertainty bound with covariance term.
- LinearPMap.standardDeviation_eq_zero_iff_isEigenvectorFor
‖ψ‖ = 1, zero standard deviation iff the eigenvector condition holds.
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 LinearPMap inopen InnerProductSpace invariable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] in@[simp]lemma LinearPMap.standardDeviation_sq (T : H →ₗ.[ℂ] H) (ψ : T.domain) : standardDeviation T ψ ^ 2 = variance T ψ := by rw [standardDeviation_eq_sqrt_variance, Real.sq_sqrt] exact variance_nonneg T ψ