O2, the match: the doubled tabulation of the verifier a string denotes matches its doubled game
ProvedMIPRE.Halting.tab_matchFix a gap-preserving compression instance and a universal machine . A bit string denotes the verifier : the compressed sampler at the string's parameter and the string's decider datum , run by inside the question-length check. At level its questions are , the sampler's dimension, and its answers the strings of length at most ; it is -bounded (IsBounded n) when for all , and its sampler and decider run within cost on every input , and its description has size at most .
The doubled game (doubledGame) is the synchronous game on with answers : the pair has the sampler's probability of and is accepted when the decider accepts ; every other pair has probability and is rejected. The description (GameData) has indices and ; its game normalizes its weights and accepts the listed tuples except unequal answers to equal questions.
Assume is -bounded. Then there are bijections and such that, for all ,
The match of obligation O2 of the halting reduction: it delivers the relabelings, not only the value, and needs no synchronicity of the decider, a description's forced rejections sitting on the diagonal, which the doubled distribution avoids; tab_value derives the value.
Formalization Note. The statement is MIPRE.Halting.tab_match; the existential is over the two relabelings eX, eA with the types displayed above. (tab G U x n).game is HaltingGameValue.GameData.game, doubledGame n T is ((Vof G U x).game n T).doubled; the clauses compare their fields μ and D. The only hypothesis is IsBounded n.
import Mathlib.Algebra.BigOperators.Fin import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.Polynomial.Eval.Defs import Mathlib.Algebra.Polynomial.Eval.Degree import Mathlib.Analysis.CStarAlgebra.CStarMatrix import Mathlib.Analysis.CStarAlgebra.Classes import Mathlib.Analysis.Matrix.Order import Mathlib.Computability.Halting import Mathlib.Computability.Partrec import Mathlib.Computability.PartrecBasis import Mathlib.Computability.PartrecCode import Mathlib.Computability.Primrec.List import Mathlib.Computability.RE import Mathlib.Computability.TuringMachine.Config import Mathlib.Data.ENat.Lattice import Mathlib.Data.Fintype.BigOperators import Mathlib.Data.Fintype.Pi import Mathlib.Data.List.Basic import Mathlib.Data.List.NodupEquivFin 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 Mathlib.Logic.Denumerable import Mathlib.Logic.Function.Iterate import Mathlib.Tactic.Linarith import Mathlib.Tactic.Ring 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_HaltingGameValue import Definitions.Def_MIPRE_Foundations_GameDescription import Definitions.Def_MIPRE_Foundations_Cost_Closure import Definitions.Def_MIPRE_Foundations_Cost_Toolkit import Definitions.Def_MIPRE_Foundations_Cost_Toolkit_B import Definitions.Def_MIPRE_Foundations_Cost_Machine import Definitions.Def_MIPRE_Foundations_Cost_Machine_B import Definitions.Def_MIPRE_Foundations_Cost_Loops import Definitions.Def_MIPRE_Foundations_Cost_Loops_B import Definitions.Def_MIPRE_Foundations_Cost_Codable import Definitions.Def_MIPRE_Foundations_Cost_Codable_B import Definitions.Def_MIPRE_Foundations_Cost_MachineData import Definitions.Def_MIPRE_Foundations_Cost_MachineData_B import Definitions.Def_MIPRE_Foundations_Cost_Interpreter import Definitions.Def_MIPRE_Foundations_Cost_Interpreter_B import Definitions.Def_MIPRE_Foundations_Cost_Unary import Definitions.Def_MIPRE_Foundations_Cost_MachineBound import Definitions.Def_MIPRE_Foundations_Cost_MachineBound_B import Definitions.Def_MIPRE_Foundations_Cost_Universal import Definitions.Def_MIPRE_Foundations_Cost_Universal_B import Definitions.Def_MIPRE_Foundations_Cost_Kleene import Definitions.Def_MIPRE_Foundations_Cost_Kleene_B import Definitions.Def_MIPRE_Foundations_Cost_FromPartrec import Definitions.Def_MIPRE_Foundations_Cost_FromPartrec_B import Definitions.Def_MIPRE_Foundations_Cost_Partrec import Definitions.Def_MIPRE_Foundations_Cost_Partrec_B import Definitions.Def_MIPRE_Foundations_Cost_Semidecide 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 import Definitions.Def_MIPRE_Foundations_Halting_Descriptions import Definitions.Def_MIPRE_Foundations_Cost_Numeric import Definitions.Def_MIPRE_Foundations_Cost_Numeric_B import Definitions.Def_MIPRE_Foundations_Halting_Lists import Definitions.Def_MIPRE_Foundations_Cost_Growth import Definitions.Def_MIPRE_Foundations_Halting_Arith import Definitions.Def_MIPRE_Foundations_Halting_Wrapper import Definitions.Def_MIPRE_Foundations_Halting_Enumerate import Definitions.Def_MIPRE_Foundations_Cost_BoundedEval import Definitions.Def_MIPRE_Foundations_Halting_Tabulate import Definitions.Def_MIPRE_Foundations_Cost_BitQuery import Definitions.Def_MIPRE_Foundations_Cost_Succinct import Definitions.Def_MIPRE_Foundations_Cost_Clocked import Definitions.Def_MIPRE_Foundations_Cost_Threshold import Definitions.Def_MIPRE_Foundations_Compression import Definitions.Def_MIPRE_Foundations_Halting_Instantiation open MIPRE open MIPRE.Halting open MIPRE.Cost open HaltingGameValue (GameData) variable (G : GapCompression) (U : UniversalMachine)
theorem MIPRE.Halting.tab_match (x : BitStr) (n : ℕ) (hb : (Vof G U x).IsBounded n) :
∃ (eX : Fin ((tab G U x n).nX + 1) ≃ Bool × (Vof G U x).Questions n)
(eA : Fin ((tab G U x n).nA + 1) ≃ Verifier.Answers (ansBound G x n)),
(∀ i j, (tab G U x n).game.μ i j
= ((Vof G U x).doubledGame n (ansBound G x n)).μ (eX i) (eX j)) ∧
(∀ i j k l, (tab G U x n).game.D i j k l
= ((Vof G U x).doubledGame n (ansBound G x n)).D (eX i) (eX j) (eA k) (eA l)) := by sorry