Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma nonneg of the MIP* = RE formalization

Proved
MIPRE.IsPVM.nonneg

by thomasvidick · Oct 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

mip-remipre-formalizationverifiers

A 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.

Preamble
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 Λ]
Formal statement
theorem MIPRE.IsPVM.nonneg (h : IsPVM P) (a : Λ) : (0 : Matrix n n ℂ) ≤ P a := by sorry
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Foundations/PVM.lean#L59-L61

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me