Lemma aOp_sum of the MIP* = RE formalization
ProvedMIPRE.aOp_sumA 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_sum {ι : Type*} (s : Finset ι) (f : ι → Matrix HA HA ℂ) :
aOp (∑ i ∈ s, f i) = ∑ i ∈ s, (aOp (f i) : Matrix (HA × HB) _ ℂ)
Formalization Note MIPRE.aOp_sum is declared in MIPRE/Foundations/OpBound.lean, lines 346–351. 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.InnerProductSpace.PiL2
import Mathlib.Analysis.Matrix.Order
import Mathlib.Analysis.Matrix.PosDef
import Definitions.Def_MIPRE_Foundations_OpBound
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]theorem MIPRE.aOp_sum {ι : Type*} (s : Finset ι) (f : ι → Matrix HA HA ℂ) :
aOp (∑ i ∈ s, f i) = ∑ i ∈ s, (aOp (f i) : Matrix (HA × HB) _ ℂ) := by sorry