Lemma nonneg of the MIP* = RE formalization
ProvedMIPRE.IsPVM.nonnegA statement of the module MIPRE.Foundations.PVM of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Observables of a projective measurement. A projective measurement P : Λ → Matrix n n ℂ and a weighting ε : Λ → ℂ give the operator pvmObs P ε = ∑_a ε a • P a. The one fact worth isolating is that this is a ring homomorphism in ε: pvmObs P ε * pvmObs P δ = pvmObs P (ε * δ), pvmObs P 1 = 1, because the projections are mutually orthogonal (IsPVM.orthogonal). Everything the rigidity arguments want about signed sums of a projective measurement follows: with ε valued in {±1}, pvmObs P ε is a self-adjoint reflection; two weightings of the same measurement commute, whatever…
Formal statement. In Lean, with the scope shown:
open MIPRE
open Finset Matrix
open scoped ComplexOrder MatrixOrder
variable {n Λ : Type*} [Fintype n] [DecidableEq n] [Fintype Λ] [DecidableEq Λ]
variable {P : Λ → Matrix n n ℂ}
theorem MIPRE.IsPVM.nonneg (h : IsPVM P) (a : Λ) : (0 : Matrix n n ℂ) ≤ P a
Formalization Note MIPRE.IsPVM.nonneg is declared in MIPRE/Foundations/PVM.lean, lines 59–61. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.
import Mathlib.Analysis.Matrix.Order
import Mathlib.Analysis.Matrix.PosDef
import Definitions.Def_MIPRE_Foundations_PVM
open MIPRE
open Finset Matrix
open scoped ComplexOrder MatrixOrder
variable {n Λ : Type*} [Fintype n] [DecidableEq n] [Fintype Λ] [DecidableEq Λ]
variable {P : Λ → Matrix n n ℂ}
omit [DecidableEq Λ]theorem MIPRE.IsPVM.nonneg (h : IsPVM P) (a : Λ) : (0 : Matrix n n ℂ) ≤ P a := by sorry