Freezing a verifier at an index preserves perfect PCC strategies: the frozen verifier has one at any index iff the original has one at the frozen index
ProvedMIPRE.Verifier.freeze_hasPerfectPCCA normal-form verifier with levels (Verifier ℓ) is a sampler and a decider, two programs of the ambient model; at index its game with answers of length at most (V.game n T) has questions , with the sampler's dimension, distributed as the sampler prescribes, and accepts when the decider accepts . The doubled game V.doubledGame n T plays on : the pair has the weight of and is decided as is, every other pair has weight zero and is rejected; it is a synchronous game for every . has a perfect PCC strategy at index and answer bound (V.HasPerfectPCC n T) when some synchronous strategy of the doubled game, a single family of projective measurements played by both players and measured in the tracial state, is PCC (commuting on the support of the question distribution) and has value . The verifier frozen at index , V.freeze k, has sampler and decider programs that, on any input , run the original programs on : at every index it presents the dimension, the CL functions and the acceptance of at index . For all ,
Freezing is item 2 of blueprint rem:compression-abstract: the compressibility criterion recurses while gap-preserving compression relates the game at index to the output at index , and freezing the described verifier at before compressing reconciles the two, the frozen verifier's game at index being the original's at level . This theorem is the transfer of perfect PCC strategies across that step, the companion of freeze_valStar for the value.
Formalization Note The statement is MIPRE.Verifier.freeze_hasPerfectPCC, with ℓ implicit and V : Verifier ℓ, k n T explicit. HasPerfectPCC n T unfolds to ∃ S : SyncStrategy (V.doubledGame n T), S.IsPCC ∧ S.value = 1; V.freeze k has sampler := V.sampler.freeze k and decider := V.decider.freeze k, both with programs Prog.freezeProg k _, and (V.freeze k).sampler.dim n = V.sampler.dim k definitionally, so the two question types agree. The equivalence holds at every n, with no boundedness or synchronicity hypothesis.
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
open MIPRE
open MIPRE.Verifier
open MIPRE.Cost
variable {ℓ : ℕ} (V : Verifier ℓ)theorem MIPRE.Verifier.freeze_hasPerfectPCC (k n T : ℕ) :
(V.freeze k).HasPerfectPCC n T ↔ V.HasPerfectPCC k T := by sorry