Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Playing a strategy of the restricted game on the whole game through retractions of the embeddings keeps the value

Proved
MIPRE.TensorProductStrategy.value_relabel_invFun

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 with X′X'X′ and Y′Y'Y′ nonempty. Let GGG be a game on (X,Y,A,B)(X, Y, A, B)(X,Y,A,B) (a distribution μ\muμ on X×YX \times YX×Y and a Boolean decision predicate DDD) and G′G'G′ a game on (X′,Y′,A,B)(X', Y', A, B)(X′,Y′,A,B), and let eX:X′↪Xe_X : X' \hookrightarrow XeX​:X′↪X, eY:Y′↪Ye_Y : Y' \hookrightarrow YeY​:Y′↪Y be embeddings with (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. Let S′S'S′ be a tensor-product strategy for G′G'G′: 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^{x'}_a\}{Aax′​}, {Bby′}\{B^{y'}_b\}{Bby′​}, with value ∑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′​)ψ⟩. Write rX=r_X = rX​= Function.invFun eX and rY=r_Y = rY​= Function.invFun eY for retractions of the embeddings (left inverses, chosen with the axiom of choice). The relabeled strategy S'.relabel G (invFun eX) (invFun eY) (Equiv.refl A) (Equiv.refl B) is the strategy for GGG with the same state and the measurements AarXxA^{r_X x}_aAarX​x​, BbrYyB^{r_Y y}_bBbrY​y​. Then

(S′.relabel G rX rY idA idB).value  =  S′.value.\big(S'.\mathrm{relabel}\ G\ r_X\ r_Y\ \mathrm{id}_A\ \mathrm{id}_B\big).\mathrm{value} \;=\; S'.\mathrm{value} .(S′.relabel G rX​ rY​ idA​ idB​).value=S′.value.

This is the other half of quantumValue_restrictQuestions: with value_relabel_of_support it shows that a game whose question distribution is supported on the image of two embeddings has the quantum value of its restriction to X′×Y′X' \times Y'X′×Y′.

Formalization Note Function.invFun needs Nonempty X' and Nonempty Y', which is why these instance arguments appear; it is noncomputable and takes an arbitrary value off the image. The answer equivalences are Equiv.refl. Hypothesis (ii) is ∀ x y, G.μ x y ≠ 0 → (∃ x', eX x' = x) ∧ (∃ y', eY y' = y). The value uses the Kronecker product ⊗ₖ and takes the real part of the inner product. X', Y', G' are implicit; S', G, eX, eY are 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_invFun {X' Y' : Type*} [Fintype X'] [Fintype Y'] [Nonempty X']
    [Nonempty 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 (Function.invFun eX) (Function.invFun 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#L70-L107

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