The input game's distribution, against a test function: an average over the seed
ProvedMIPRE.SeededGame.sum_dist_mulA statement of the module MIPRE.Foundations.OracularSound of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Soundness of oracularization. Item 2 of blueprint thm:oracularization (lem:oracular-soundness), at the level of games: a synchronous strategy of value at least 1 - ε for MIPRE.SeededGame.oracular yields one of value at least 1 - 24√ε for the doubled input game. The loss carries the single square root that repair 1 of rem:oracularization-repairs insists on -- an earlier revision of the blueprint wrote poly(ε), which the campaign found "not merely imprecise but false as stated". It is spent in exactly one place, MIPRE.sum_ntr_mul_ge; everything before it is linear in ε.
The input game's distribution, against a test function: an average over the seed.
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.SeededGame
open Finset Matrix
variable {A : Type*} [Inhabited A]
variable {V : Type*} [Fintype V] [DecidableEq V] [Nonempty V] [Fintype A] [DecidableEq A]
variable (S : SeededGame V A)
theorem MIPRE.SeededGame.sum_dist_mul (F : V → V → ℝ) :
∑ x, ∑ y, S.dist x y * F x y
= (Fintype.card V : ℝ)⁻¹ * ∑ z, F (S.LA z) (S.LB z)
Formalization Note MIPRE.SeededGame.sum_dist_mul is declared in MIPRE/Foundations/OracularSound.lean, lines 86–105. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.
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_Distances
import Definitions.Def_MIPRE_Foundations_OracularGame
import Definitions.Def_MIPRE_Foundations_Closeness
import Definitions.Def_MIPRE_Foundations_PerfectStrategy
import Definitions.Def_MIPRE_Foundations_GameTransport
import Definitions.Def_MIPRE_Foundations_GameDouble
import Definitions.Def_MIPRE_Foundations_OracularSound
open MIPRE
open MIPRE.SeededGame
open Finset Matrix
variable {A : Type*} [Inhabited A]
variable {V : Type*} [Fintype V] [DecidableEq V] [Nonempty V] [Fintype A] [DecidableEq A]
variable (S : SeededGame V A)
omit [Nonempty V] [Fintype A] [DecidableEq A] [Inhabited A]theorem MIPRE.SeededGame.sum_dist_mul (F : V → V → ℝ) :
∑ x, ∑ y, S.dist x y * F x y
= (Fintype.card V : ℝ)⁻¹ * ∑ z, F (S.LA z) (S.LB z) := by sorry