The conditionally linear distribution of a direct sum is the product of the blocks' distributions
ProvedMIPRE.CL.clDist_famSumLet be a finite semiring with decidable equality, a finite index set with decidable equality, , and a finite index set with decidable equality together with a bijection , so that ; write for the -th block of . For two functions , the conditionally linear distribution is the law of the pair for uniformly random in : . It is the format of the question distribution of a game whose questions are sampled by CL functions. Let and be -level CL presentations on , and , their direct sums (famSum), the -level presentations on whose stages act blockwise.
For all ,
The game whose question distribution is the CL distribution of the direct sums is therefore the direct repetition of the game of the blocks: this is the link between the repeated sampler of the parallel repetition theorem and the direct repetition of games, to which the game-level repetition theorem applies.
Formalization Note clDist L R a b := ((Finset.univ.filter fun x => L x = a ∧ R x = b).card : ℝ) / Fintype.card (κ → F), a real number. The statement applies it to the evaluated presentations (CLFun.famSum e ℓ L).eval and (CLFun.famSum e ℓ R).eval, and its right-hand side is ∏ i, clDist (L i).eval (R i).eval (block e i a) (block e i b) over i : Fin k. Arguments: [Fintype F] [DecidableEq F], e : Fin k × ι ≃ κ explicit, {ℓ : ℕ} implicit, L R : Fin k → CLFun F ι ℓ, a b : κ → F; F is a Semiring, ι and κ carry [DecidableEq] [Fintype], and k : ℕ is implicit, from the module's variable declaration. No further hypothesis is assumed (in particular F is not assumed nonempty). Blueprint lem:cl-famsum.
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.Real.Basic
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_CL_Repeat
open MIPRE
open MIPRE.CL
set_option linter.unusedSectionVars false
universe u v w
variable {F : Type u} [Semiring F] {ι : Type v} [DecidableEq ι] [Fintype ι] {κ : Type w}
[DecidableEq κ] [Fintype κ] {k : ℕ}theorem MIPRE.CL.clDist_famSum [Fintype F] [DecidableEq F] (e : Fin k × ι ≃ κ) {ℓ : ℕ}
(L R : Fin k → CLFun F ι ℓ) (a b : κ → F) :
clDist (CLFun.famSum e ℓ L).eval (CLFun.famSum e ℓ R).eval a b =
∏ i, clDist (L i).eval (R i).eval (block e i a) (block e i b) := by sorry