Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions PhyslibAlpha/AlgebraicFramework/CStarAlgebra/Uncertainty.lean
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,24 @@ lemma robertson_eq_iff_gram_zero_and_covariance_zero (ω : 𝓢[A])
rw [hg, hc] at hgap
nlinarith

/-! ## A.5. Normalization and positivity for downstream variance bounds -/

/-- A raw commutator expectation of magnitude one yields the normalized variance
product bound for arbitrary states, with no extra positivity hypotheses. -/
lemma normalized_variance_product (ω : 𝓢[A]) (a b : Observable A)
(hnorm : ω⟨⁅a, b⁆⟩ ^ 2 = (1 : ℝ) / 4) :
1 ≤ 4 * variance ω a * variance ω b := by
have h := robertson ω a b
rw [hnorm] at h
nlinarith

/-- Normalization itself forces both variances to be positive. -/
lemma variances_pos_of_normalized_pairing (ω : 𝓢[A]) (a b : Observable A)
(hnorm : ω⟨⁅a, b⁆⟩ ^ 2 = (1 : ℝ) / 4) :
0 < variance ω a ∧ 0 < variance ω b := by
have h := normalized_variance_product ω a b hnorm
have ha := variance_nonneg ω a
have hb := variance_nonneg ω b
constructor <;> by_contra! hn <;> nlinarith

end UnitalPositiveLinearMap
Loading