Relabelling Bob's outcomes is data processing: a weighted sum over the relabelled outcomes is the same weighted sum over the original ones, with the weight pulled back
ProvedMIPRE.sum_bornProb_mapBA statement of the module MIPRE.Foundations.CrossConsistency of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Cross-party consistency, and what winning a subtest buys. The Pauli appendix's ≃_δ compares A ⊗ Id with Id ⊗ B: one player's operator against the other player's. MIPRE.stateDist of def:state-distance compares two families on the same side, which is what the orthonormalization step needs; this file is the cross-party form, and the one lemma that produces it.
Relabelling Bob's outcomes is data processing: a weighted sum over the relabelled outcomes is the same weighted sum over the original ones, with the weight pulled back.
Formal statement. In Lean, with the scope shown:
open MIPRE
open Finset Matrix Kronecker
open scoped ComplexOrder MatrixOrder
variable {X Y A B C dA dB : Type*} [Fintype X] [Fintype Y] [Fintype A] [Fintype B]
variable {G : Game X Y A B} {ψ : dA × dB → ℂ} {MA : X → POVM A dA} {MB : Y → POVM B dB}
theorem MIPRE.sum_bornProb_mapB {B' : Type*} [Fintype B'] [DecidableEq B'] (EA : Matrix dA dA ℂ)
(NB : POVM B dB) (φB : B → B') (w : B' → ℝ) :
∑ b', w b' * bornProb ψ EA (((NB.map φB).mats b').val)
= ∑ b, w (φB b) * bornProb ψ EA ((NB.mats b).val)
Formalization Note MIPRE.sum_bornProb_mapB is declared in MIPRE/Foundations/CrossConsistency.lean, lines 274–296. 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_StateDistance
import Definitions.Def_MIPRE_Foundations_POVMValue
import Definitions.Def_MIPRE_Foundations_CrossConsistency
open MIPRE
open Finset Matrix Kronecker
open scoped ComplexOrder MatrixOrder
variable {X Y A B C dA dB : Type*} [Fintype X] [Fintype Y] [Fintype A] [Fintype B]
[Fintype C] [DecidableEq C] [Fintype dA] [DecidableEq dA] [Fintype dB] [DecidableEq dB]
variable {G : Game X Y A B} {ψ : dA × dB → ℂ} {MA : X → POVM A dA} {MB : Y → POVM B dB}
omit [Fintype X] [Fintype Y] [DecidableEq C] [DecidableEq dA]theorem MIPRE.sum_bornProb_mapB {B' : Type*} [Fintype B'] [DecidableEq B'] (EA : Matrix dA dA ℂ)
(NB : POVM B dB) (φB : B → B') (w : B' → ℝ) :
∑ b', w b' * bornProb ψ EA (((NB.map φB).mats b').val)
= ∑ b, w (φB b) * bornProb ψ EA ((NB.mats b).val) := by sorry