A decider that accepts one fixed answer on every question pair has a value-one PCC strategy
ProvedMIPRE.Verifier.hasPerfectPCC_of_accepts_diagonalLet be a normal form verifier with levels, an index and an answer-length bound. The question alphabet V.Questions n is with V.sampler.dim, and CL.toBits x is the bit string of coordinates of a question . Answers T is the type of bit strings of length at most . V.decider.Accepts n x y a b means that the decider halts on the encoding of with output encode true. The game V.game n T has questions V.Questions n distributed as the sampler prescribes, answers in Answers T, and accepts at exactly when Accepts n (toBits x) (toBits y) a.1 b.1. Its doubled game V.doubledGame n T is the synchronous game on V.Questions n in which Alice's questions carry the tag false, Bob's the tag true, and every other tagged pair has probability zero and is rejected. V.HasPerfectPCC n T says that some synchronous strategy of the doubled game is PCC — its projective measurements commute at every question pair of nonzero probability (S.IsPCC) — and has S.value = 1.
Let Answers T, and assume that for all V.Questions n,
V.decider.Accepts n (CL.toBits x) (CL.toBits y) a₀.1 a₀.1. Then
This is the paper's "trivial strategy: for all questions the players return a fixed answer", and it is where the yes-instance of the classes of the compressibility criterion comes from.
Formalization Note No synchronicity (IsSynchronousAt) is asked of the decider: HasPerfectPCC is defined on the doubled game (V.game n T).doubled, whose distribution gives equal tagged questions probability zero. The hypothesis quantifies over all question pairs of V.Questions n, including pairs of probability zero, and a₀.1 is the underlying bit string of the answer. n, T are implicit, a₀ explicit, V a section variable, and the proposition is MIPRE.Verifier.hasPerfectPCC_of_accepts_diagonal.
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Polynomial.Eval.Defs
import Mathlib.Analysis.CStarAlgebra.CStarMatrix
import Mathlib.Analysis.CStarAlgebra.Classes
import Mathlib.Analysis.Matrix.Order
import Mathlib.Data.ENat.Lattice
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.List.Basic
import Mathlib.Data.Nat.Bits
import Mathlib.Data.Nat.Notation
import Mathlib.Data.Nat.Size
import Mathlib.Data.Real.Basic
import Mathlib.Data.ZMod.Basic
import Mathlib.LinearAlgebra.Matrix.Kronecker
import Mathlib.LinearAlgebra.Pi
import Definitions.Def_MIPRE_Foundations_CL_Register
import Definitions.Def_MIPRE_Foundations_CL_Basic
import Definitions.Def_MIPRE_Foundations_CL_Closure
import Definitions.Def_MIPRE_Foundations_Cost_Basic
import Definitions.Def_MIPRE_Foundations_Cost_Basic_B
import Definitions.Def_MIPRE_Foundations_Cost_Encoding
import Definitions.Def_MIPRE_Foundations_Cost_Encoding_B
import Definitions.Def_MIPRE_Foundations_Cost_PolyTime
import Definitions.Def_MIPRE_Foundations_CL_Sampler
import Definitions.Def_MIPRE_Foundations_Games
import Definitions.Def_MIPRE_Foundations_GameTransport
import Definitions.Def_MIPRE_Foundations_Cost_Closure
import Definitions.Def_MIPRE_Foundations_GameDouble
import Definitions.Def_MIPRE_Foundations_Verifier
import Definitions.Def_MIPRE_Foundations_GapCompression
import Definitions.Def_MIPRE_Foundations_VerifierValue
import Definitions.Def_MIPRE_Foundations_Halting_Freeze
import Definitions.Def_MIPRE_Foundations_Halting_Classes
open MIPRE
open MIPRE.Verifier
open MIPRE.Cost
variable {ℓ : ℕ} (V : Verifier ℓ)theorem MIPRE.Verifier.hasPerfectPCC_of_accepts_diagonal {n T : ℕ} (a₀ : Answers T)
(hacc : ∀ x y : V.Questions n, V.decider.Accepts n (CL.toBits x) (CL.toBits y) a₀.1 a₀.1) :
V.HasPerfectPCC n T := by sorry