And for a diagonal line against a point, provided the direction really does vanish below the seed's block --- which it must, for the question to be in the seeded test's support
ProvedMIPRE.LIDT.Adapter.card_filter_clDiag_geA statement of the module MIPRE.Background.LIDT.Adapter.Weights of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). The seeded-CL adapter, part 5: both tests' distributions, as counts. The reduction's remaining obligation is a push-forward bound between the two tests' question distributions, and both are defined as sums over a Sample type against an indicator. So the first thing to do is to turn each into a count, after which the bound is arithmetic on cardinalities rather than on sums. * clGame's distribution is uniform over its samples, so it is the number of samples producing the question pair, over the total (clGame_μ_eq). * lidtGame's is not uniform — its three subtests are weighted 1/3…
And for a diagonal line against a point, provided the direction really does vanish below the
seed's block --- which it must, for the question to be in the seeded test's support. There is one
sample for every completion of the direction below that block, hence at least q^{χ s}.
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.LIDT
open MIPRE.LIDT.Adapter
open Finset MIPRE.LIDT MIPRE.LIDT.CL
variable {F : Type*} [Field F] [Fintype F] [DecidableEq F] {m d ldc : ℕ} [NeZero m]
theorem MIPRE.LIDT.Adapter.card_filter_clDiag_ge (hm : m ∣ Fintype.card F) (xp : Point F m) (s₀ : F)
(w : Point F m) (hw : ∀ k : Fin m, (k : ℕ) < ((chi hm s₀ : ℕ)) → w k = 0) :
Fintype.card F ^ ((chi hm s₀ : ℕ))
≤ (Finset.univ.filter (fun sm : CL.Sample F m =>
(sm.question hm sm.tyA, sm.question hm sm.tyB)
= ((CL.Question.dline (rep w xp) s₀ w : CL.Question F m),
CL.Question.point xp))).card
Formalization Note MIPRE.LIDT.Adapter.card_filter_clDiag_ge is declared in MIPRE/Background/LIDT/Adapter/Weights.lean, lines 393–433. 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.Algebra.Polynomial.Eval.Degree
import Mathlib.Analysis.CStarAlgebra.CStarMatrix
import Mathlib.Analysis.CStarAlgebra.Classes
import Mathlib.Analysis.Matrix.Order
import Mathlib.Data.ENat.Lattice
import Mathlib.Data.Fin.Tuple.Basic
import Mathlib.LinearAlgebra.BilinearForm.Orthogonal
import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas
import Mathlib.LinearAlgebra.Matrix.Kronecker
import Mathlib.LinearAlgebra.Pi
import Mathlib.Tactic.DeriveFintype
import Definitions.Def_MIPRE_Foundations_Games
import Definitions.Def_MIPRE_Foundations_Distances
import Definitions.Def_MIPRE_Background_LIDT_Game
import Definitions.Def_MIPRE_Foundations_CL_Register
import Definitions.Def_MIPRE_Foundations_CL_Canonical
import Definitions.Def_MIPRE_Background_LIDT_CLGame
import Definitions.Def_MIPRE_Foundations_GameTransport
import Definitions.Def_MIPRE_Foundations_GameAdapt
import Definitions.Def_MIPRE_Background_LIDT_Adapter_Geometry
import Definitions.Def_MIPRE_Background_LIDT_Adapter_Seeds
import Definitions.Def_MIPRE_Background_LIDT_Adapter_Reparam
import Definitions.Def_MIPRE_Background_LIDT_Adapter_Strategy
import Definitions.Def_MIPRE_Background_LIDT_Adapter_Weights
open MIPRE
open MIPRE.LIDT
open MIPRE.LIDT.Adapter
open Finset MIPRE.LIDT MIPRE.LIDT.CL
variable {F : Type*} [Field F] [Fintype F] [DecidableEq F] {m d ldc : ℕ} [NeZero m]theorem MIPRE.LIDT.Adapter.card_filter_clDiag_ge (hm : m ∣ Fintype.card F) (xp : Point F m) (s₀ : F)
(w : Point F m) (hw : ∀ k : Fin m, (k : ℕ) < ((chi hm s₀ : ℕ)) → w k = 0) :
Fintype.card F ^ ((chi hm s₀ : ℕ))
≤ (Finset.univ.filter (fun sm : CL.Sample F m =>
(sm.question hm sm.tyA, sm.question hm sm.tyB)
= ((CL.Question.dline (rep w xp) s₀ w : CL.Question F m),
CL.Question.point xp))).card := by sorry