Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Playing a tensor-product strategy on the restriction of a game to the support of its questions keeps the value

Proved
MIPRE.TensorProductStrategy.value_relabel_of_support

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

entangled-strategiesgame-valuemip-remipre-formalizationnonlocal-games

Let X,Y,A,B,X′,Y′X, Y, A, B, X', Y'X,Y,A,B,X′,Y′ be finite types. A game GGG on (X,Y,A,B)(X, Y, A, B)(X,Y,A,B) consists of a probability distribution μ\muμ on X×YX \times YX×Y and a decision predicate D:X→Y→A→B→BoolD : X \to Y \to A \to B \to \mathrm{Bool}D:X→Y→A→B→Bool. Let G′G'G′ be a game on (X′,Y′,A,B)(X', Y', A, B)(X′,Y′,A,B) with the same answer alphabets, and eX:X′↪Xe_X : X' \hookrightarrow XeX​:X′↪X, eY:Y′↪Ye_Y : Y' \hookrightarrow YeY​:Y′↪Y embeddings such that (i) G′.μ x′ y′=G.μ (eXx′) (eYy′)G'.\mu\ x'\ y' = G.\mu\ (e_X x')\ (e_Y y')G′.μ x′ y′=G.μ (eX​x′) (eY​y′) for all x′,y′x', y'x′,y′; (ii) whenever G.μ x y≠0G.\mu\ x\ y \neq 0G.μ x y=0, xxx is in the image of eXe_XeX​ and yyy in the image of eYe_YeY​; (iii) G′.D x′ y′ a b=G.D (eXx′) (eYy′) a bG'.D\ x'\ y'\ a\ b = G.D\ (e_X x')\ (e_Y y')\ a\ bG′.D x′ y′ a b=G.D (eX​x′) (eY​y′) a b for all x′,y′,a,bx', y', a, bx′,y′,a,b. A tensor-product strategy SSS for GGG consists of dimensions dA,dBd_A, d_BdA​,dB​, a unit vector ψ∈CdA⊗CdB\psi \in \mathbb{C}^{d_A} \otimes \mathbb{C}^{d_B}ψ∈CdA​⊗CdB​ and projective measurements {Aax}a\{A^x_a\}_a{Aax​}a​ on CdA\mathbb{C}^{d_A}CdA​ and {Bby}b\{B^y_b\}_b{Bby​}b​ on CdB\mathbb{C}^{d_B}CdB​; its value is ∑x,y,a,bμ(x,y) [D(x,y,a,b)] Re ⟨ψ,(Aax⊗Bby)ψ⟩\sum_{x, y, a, b} \mu(x, y)\,[D(x, y, a, b)]\, \mathrm{Re}\,\langle \psi, (A^x_a \otimes B^y_b)\psi\rangle∑x,y,a,b​μ(x,y)[D(x,y,a,b)]Re⟨ψ,(Aax​⊗Bby​)ψ⟩. The relabeled strategy S.relabel G' eX eY (Equiv.refl A) (Equiv.refl B) is the strategy for G′G'G′ with the same state and the measurements AaeXx′A^{e_X x'}_aAaeX​x′​ and BbeYy′B^{e_Y y'}_bBbeY​y′​. Then

(S.relabel G′ eX eY idA idB).value  =  S.value.\big(S.\mathrm{relabel}\ G'\ e_X\ e_Y\ \mathrm{id}_A\ \mathrm{id}_B\big).\mathrm{value} \;=\; S.\mathrm{value} .(S.relabel G′ eX​ eY​ idA​ idB​).value=S.value.

This is one half of quantumValue_restrictQuestions: a game whose question distribution is supported on the image of two embeddings has the quantum value of its restriction. Its consumer is the class verifier of the polynomial-time halting reduction, whose game has every string of length at most BBB as a question while its sampler only produces strings of one fixed length.

Formalization Note relabel accepts arbitrary maps on the questions and equivalences on the answers; here the answer equivalences are Equiv.refl A and Equiv.refl B. Hypothesis (ii) is ∀ x y, G.μ x y ≠ 0 → (∃ x', eX x' = x) ∧ (∃ y', eY y' = y). The value is the real part of a complex inner product computed with the Kronecker product ⊗ₖ of matrices. No Nonempty instances are assumed, in contrast with value_relabel_invFun. X', Y', G are implicit; S, G', eX, eY explicit.

Preamble
import Mathlib.Analysis.CStarAlgebra.CStarMatrix
import Mathlib.Analysis.CStarAlgebra.Classes
import Mathlib.Analysis.Matrix.Order
import Mathlib.Data.ENat.Lattice
import Mathlib.LinearAlgebra.Matrix.Kronecker
import Definitions.Def_MIPRE_Foundations_Games
import Definitions.Def_MIPRE_Foundations_GameTransport

open MIPRE
open MIPRE.TensorProductStrategy
open Matrix Kronecker
open scoped ComplexOrder
variable {X Y A B : Type*} [Fintype X] [Fintype Y] [Fintype A] [Fintype B]
Formal statement
theorem MIPRE.TensorProductStrategy.value_relabel_of_support {X' Y' : Type*} [Fintype X'] [Fintype Y'] {G : Game X Y A B}
    (S : TensorProductStrategy G) (G' : Game X' Y' A B) (eX : X' ↪ X) (eY : Y' ↪ Y)
    (hμ : ∀ x' y', G'.μ x' y' = G.μ (eX x') (eY y'))
    (hμ0 : ∀ x y, G.μ x y ≠ 0 → (∃ x', eX x' = x) ∧ (∃ y', eY y' = y))
    (hD : ∀ x' y' a b, G'.D x' y' a b = G.D (eX x') (eY y') a b) :
    (S.relabel G' eX eY (Equiv.refl A) (Equiv.refl B)).value = S.value := by sorry
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Foundations/GameRestrict.lean#L34-L68

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