Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma chi_val of the MIP* = RE formalization

Proved
MIPRE.LIDT.CL.chi_val

by thomasvidick · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

low-degree-testmip-remipre-formalizationpolynomial-time

A statement of the module MIPRE.Background.LIDT.CLGame of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). The seeded CL low individual degree test. Blueprint def:lidt-cl, the paper's typed low-degree game game^ld (ldt.tex, sec:ld-game and fig:ld-decider), with parameters (q, m, d, ldc), q = #F admissible and m ∣ q. This is the test the paper's padded and simultaneous Pauli uses, and it is not the canonical-line test MIPRE.LIDT.lidtGame whose soundness is formalized: the two differ in which lines they sample and in how they label answers, which is the whole content of lem:lidt-reduction-setup.

Formal statement. In Lean, with the scope shown:

open MIPRE
open MIPRE.LIDT
open MIPRE.LIDT.CL
open Finset MIPRE.LIDT
variable (F : Type*) [Field F] [Fintype F] [DecidableEq F] (m d ldc : ℕ)
variable {F m}

theorem MIPRE.LIDT.CL.chi_val [NeZero m] (hm : m ∣ Fintype.card F) (s : F) :
    (chi hm s : ℕ) = (Fintype.equivFin F s).val / (Fintype.card F / m)

Formalization Note MIPRE.LIDT.CL.chi_val is declared in MIPRE/Background/LIDT/CLGame.lean, lines 106–108. 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.

Preamble
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

open MIPRE
open MIPRE.LIDT
open MIPRE.LIDT.CL
open Finset MIPRE.LIDT
variable (F : Type*) [Field F] [Fintype F] [DecidableEq F] (m d ldc : ℕ)
variable {F m}
omit [DecidableEq F]
Formal statement
theorem MIPRE.LIDT.CL.chi_val [NeZero m] (hm : m ∣ Fintype.card F) (s : F) :
    (chi hm s : ℕ) = (Fintype.equivFin F s).val / (Fintype.card F / m) := by sorry
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Background/LIDT/CLGame.lean#L106-L108

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me