Replacing Alice's operator by a nearby one on her own factor, inside a cross-party deviation: one triangle inequality, at the usual cost of a factor two
ProvedMIPRE.sum_xSqNorm_le_of_two_stepA statement of the module MIPRE.Foundations.Commutation of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). The commutation analysis. Blueprint lem:commutation-analysis (the paper's, in games.tex), and the two facts it runs on. It is the step that turns consistency with a joint measurement on the other side into approximate commutation on one side, and it is the only place in the Pauli appendix where projectivity of a measurement is genuinely used.
Replacing Alice's operator by a nearby one on her own factor, inside a cross-party deviation: one triangle inequality, at the usual cost of a factor two.
Formal statement. In Lean, with the scope shown:
open MIPRE
open Finset Matrix
open scoped ComplexOrder MatrixOrder
variable {dA dB : Type*} [Fintype dA] [DecidableEq dA] [Fintype dB] [DecidableEq dB]
theorem MIPRE.sum_xSqNorm_le_of_two_step {κ : Type*} [Fintype κ] {ψ : dA × dB → ℂ}
(Q Q' : κ → Matrix dA dA ℂ) (R : κ → Matrix dB dB ℂ) {a b : ℝ}
(h1 : ∑ o, stateSqNorm ψ (Q o - Q' o) ≤ a) (h2 : ∑ o, xSqNorm ψ (Q' o) (R o) ≤ b) :
∑ o, xSqNorm ψ (Q o) (R o) ≤ 2 * a + 2 * b
Formalization Note MIPRE.sum_xSqNorm_le_of_two_step is declared in MIPRE/Foundations/Commutation.lean, lines 264–286. 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.CStarAlgebra.CStarMatrix
import Mathlib.Analysis.CStarAlgebra.Classes
import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.Analysis.Matrix.Order
import Mathlib.Analysis.Matrix.PosDef
import Mathlib.Analysis.SpecialFunctions.Complex.Circle
import Mathlib.Data.ENat.Lattice
import Mathlib.Data.ZMod.Basic
import Mathlib.LinearAlgebra.Matrix.Kronecker
import Mathlib.Tactic.IntervalCases
import Definitions.Def_MIPRE_Foundations_Games
import Definitions.Def_MIPRE_Foundations_Distances
import Definitions.Def_MIPRE_Foundations_Closeness
import Definitions.Def_MIPRE_Foundations_OpBound
import Definitions.Def_MIPRE_Foundations_OpBound_B
import Definitions.Def_MIPRE_Foundations_StateDistance
import Definitions.Def_MIPRE_Foundations_StateDistance_B
import Definitions.Def_MIPRE_Foundations_POVMValue
import Definitions.Def_MIPRE_Foundations_Sign
import Definitions.Def_MIPRE_Foundations_CrossConsistency
import Definitions.Def_MIPRE_Foundations_CrossConsistency_B
import Definitions.Def_MIPRE_Foundations_PVM
import Definitions.Def_MIPRE_Foundations_PVM_B
import Definitions.Def_MIPRE_Foundations_Commutation
open MIPRE
open Finset Matrix
open scoped ComplexOrder MatrixOrder
set_option linter.unusedSectionVars false
variable {dA dB : Type*} [Fintype dA] [DecidableEq dA] [Fintype dB] [DecidableEq dB]theorem MIPRE.sum_xSqNorm_le_of_two_step {κ : Type*} [Fintype κ] {ψ : dA × dB → ℂ}
(Q Q' : κ → Matrix dA dA ℂ) (R : κ → Matrix dB dB ℂ) {a b : ℝ}
(h1 : ∑ o, stateSqNorm ψ (Q o - Q' o) ≤ a) (h2 : ∑ o, xSqNorm ψ (Q' o) (R o) ≤ b) :
∑ o, xSqNorm ψ (Q o) (R o) ≤ 2 * a + 2 * b := by sorry