Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma aOp_sub of the MIP* = RE formalization

Proved
MIPRE.aOp_sub

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

mip-remipre-formalizationverifiers

A statement of the module MIPRE.Foundations.OpBound of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Operator bounds on matrices, by hand. The rigidity arguments of the Pauli basis test's appendix are chains of estimates ‖M |ψ⟩‖ ≤ …, and the only thing they need about the operators in front is a bound ‖M v‖ ≤ K ‖v‖. Bnd M K is that bound, with the four closure properties the chains use --- sums, products, scalars, and the two sources: a self-adjoint contraction has Bnd M 1, and an isometry has ‖M v‖ = ‖v‖ on the nose. This is the ℓ² operator norm, spelled as a relation instead of a number. That is deliberate. Mathlib has the norm, through Matrix.toEuclideanCLM and the…

Formal statement. In Lean, with the scope shown:

open MIPRE
open Finset Matrix
open scoped ComplexOrder MatrixOrder
open Kronecker
variable {N : Type*} [Fintype N]
variable [DecidableEq N]
variable {HA HB : Type*} [Fintype HA] [DecidableEq HA] [Fintype HB] [DecidableEq HB]

theorem MIPRE.aOp_sub (X Y : Matrix HA HA ℂ) :
    aOp (X - Y) = (aOp X : Matrix (HA × HB) _ ℂ) - aOp Y

Formalization Note MIPRE.aOp_sub is declared in MIPRE/Foundations/OpBound.lean, lines 326–330. 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.InnerProductSpace.PiL2
import Mathlib.Analysis.Matrix.Order
import Mathlib.Analysis.Matrix.PosDef
import Definitions.Def_MIPRE_Foundations_OpBound
import Definitions.Def_MIPRE_Foundations_OpBound_B

open MIPRE
open Finset Matrix
open scoped ComplexOrder MatrixOrder
open Kronecker
set_option linter.unusedSectionVars false
variable {N : Type*} [Fintype N]
variable [DecidableEq N]
variable {HA HB : Type*} [Fintype HA] [DecidableEq HA] [Fintype HB] [DecidableEq HB]
Formal statement
theorem MIPRE.aOp_sub (X Y : Matrix HA HA ℂ) :
    aOp (X - Y) = (aOp X : Matrix (HA × HB) _ ℂ) - aOp Y := by sorry
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Foundations/OpBound.lean#L326-L330

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