Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A parallel repetition stage exists for seven-level normal form verifiers

Proved
MIPRE.Repetition.nonempty_seven

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

game-valuegap-compressionmip-remipre-formalizationnonlocal-gamesverifiers

MIPRE.Repetition ℓ (blueprint thm:parallel-repetition, direct, not anchored, form) records the data and guarantees of parallel repetition of ℓ\ellℓ-level verifiers: a constant c>0c > 0c>0 of the soundness exponent; polynomials bound (the output's running times and dimension) and ansBound (the answer length it accepts); a degree multiplier deg; the repeated sampler, a function of the input sampler and (λ,τ)(\lambda, \tau)(λ,τ) with polynomial-time computable program; the polynomial-time compute of the repeated decider from the input programs and (λ,τ,β)(\lambda, \tau, \beta)(λ,τ,β); and the output verifier Vrep\mathcal{V}^{\mathrm{rep}}Vrep. With k(n)=2τ(∣λ∣+∣n∣)k(n) = 2^{\tau(|\lambda| + |n|)}k(n)=2τ(∣λ∣+∣n∣) repetitions and parse length B(n)=2β(∣λ∣+∣n∣)B(n) = 2^{\beta(|\lambda| + |n|)}B(n)=2β(∣λ∣+∣n∣) (∣⋅∣|\cdot|∣⋅∣ the bit length): if V\mathcal{V}V is within a budget RRR at index nnn then the output is within bound(arg)\mathrm{bound}(\mathrm{arg})bound(arg) for running times and dimension at degree deg⁡⋅(R.k+1)\deg\cdot(R.k+1)deg⋅(R.k+1), where arg\mathrm{arg}arg sums k(n)k(n)k(n), B(n)B(n)B(n), the components of RRR, ∣V∣|\mathcal{V}|∣V∣, λ,τ,β,n\lambda, \tau, \beta, nλ,τ,β,n and 10R.k10^{R.k}10R.k, and accepts no answer longer than ansBound(k(n)+B(n))\mathrm{ansBound}(k(n) + B(n))ansBound(k(n)+B(n)) (complexity); a value-111 PCC strategy for Vn\mathcal{V}_nVn​ with answers at most B(n)B(n)B(n) gives one for the output at nnn (completeness); for 0<ε≤10 < \varepsilon \le 10<ε≤1, val∗(Vn)≤1−ε\mathrm{val}^*(\mathcal{V}_n) \le 1 - \varepsilonval∗(Vn​)≤1−ε at answers at most B(n)B(n)B(n) implies val∗(Vnrep)≤exp⁡(−c ε13k(n)/(B(n)+1))\mathrm{val}^*(\mathcal{V}^{\mathrm{rep}}_n) \le \exp\bigl(-c\,\varepsilon^{13} k(n)/(B(n)+1)\bigr)val∗(Vnrep​)≤exp(−cε13k(n)/(B(n)+1)) (soundness). The statement: the contract holds at ℓ=7\ell = 7ℓ=7:

Nonempty (MIPRE.Repetition 7).\mathrm{Nonempty}\,\bigl(\mathtt{MIPRE.Repetition}\ 7\bigr).Nonempty(MIPRE.Repetition 7).

It is the last of the three stage contracts GapCompression.ofPipeline consumes; every conditional glue theorem of this upload imports it.

Formalization Note In the repository the inhabitant is MIPRE.repetition 7, where repetition (ℓ : ℕ) : Repetition ℓ (MIPRE/Background/Repetition/Verifier.lean) packages Repeat.repSampler and Repeat.repDecider into the output repVerifier V λ τ β, with the vendored game-level direct repetition theorem thm:direct-repetition-q for soundness, whose exponent 131313 it inherits. The repetition count is the power of two just above (λn)τ(\lambda n)^\tau(λn)τ, written through Nat.size (a program writes it by walking the bits of λ\lambdaλ and nnn); the parse length carries the extra parameter β\betaβ. The platform holds the statement only: the development proves it, in code the platform cannot host yet.

Preamble
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Polynomial.Eval.Defs
import Mathlib.Analysis.CStarAlgebra.CStarMatrix
import Mathlib.Analysis.CStarAlgebra.Classes
import Mathlib.Analysis.Matrix.Order
import Mathlib.Data.ENat.Lattice
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.List.Basic
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 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_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_Pipeline_Budget
import Definitions.Def_MIPRE_Foundations_Pipeline_Repetition
Formal statement
theorem MIPRE.Repetition.nonempty_seven : Nonempty (MIPRE.Repetition 7) := by sorry
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Background/Repetition/Verifier.lean

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