Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions of Dom: Domination by a monomial in the parameters and the input size The time bounds of the repeated verifier…

Definition
MIPRE_Foundations_Repeat_Dom

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

mip-remipre-formalizationparallel-repetitionverifiers

The definitions of the module MIPRE.Foundations.Repeat.Dom of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Domination by a monomial in the parameters and the input size. The time bounds of the repeated verifier (thm:parallel-repetition) have the shape c (W + 1)^m X^{e (K + 1)}: W a number dominating all the parameters at index n (the argument MIPRE.Repetition.arg), X = |d| + 1 the size of the input and K the input's degree. Dom W X K c m e v says v is below such a monomial. The costs of the programs are sums and products of quantities each of which is below W, below X, or a constant, and the combinators here — add, mul, pow, ofLeW, ofLeX, const — assemble the…

Definitions (1): MIPRE.Repeat.Dom (v ≤ c (W + 1)^m X^{e (K + 1)}.).

Formalization Note The bundle is the module MIPRE.Foundations.Repeat.Dom (MIPRE/Foundations/Repeat/Dom.lean) with every declaration not listed removed, imports rewritten to the bundles of the module's import closure; the declarations keep their names, statements and bodies.

Definition code
/-
Copyright (c) 2026 Thomas Vidick. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Vidick
-/
/- Generated for Prove2Me from vidick/MIPRE-formalization@70cbf1c, MIPRE/Foundations/Repeat/Dom.lean (definition bundle: declarations the uploaded statements rest on);
   produced mechanically by prove2me/tools/gen.py, never edited by hand. -/
import Mathlib.Tactic

/-!
# Domination by a monomial in the parameters and the input size

The time bounds of the repeated verifier (`thm:parallel-repetition`) have the shape
`c (W + 1)^m X^{e (K + 1)}`: `W` a number dominating all the parameters at index `n` (the
argument `MIPRE.Repetition.arg`), `X = |d| + 1` the size of the input and `K` the input's
degree. `Dom W X K c m e v` says `v` is below such a monomial. The costs of the programs are
sums and products of quantities each of which is below `W`, below `X`, or a constant, and the
combinators here — `add`, `mul`, `pow`, `ofLeW`, `ofLeX`, `const` — assemble the exponents,
so that the final `c, m, e` are produced by the chain rather than computed by hand. The
exponent of `X` is counted in units of `K + 1`, so that a bound `X^{e (K + 1)}` with `e`
independent of `K` is what comes out, as the degree clause of the theorem needs.
-/

namespace MIPRE.Repeat

/-- `v ≤ c (W + 1)^m X^{e (K + 1)}`. -/
def Dom (W X K c m e v : ℕ) : Prop := v ≤ c * (W + 1) ^ m * X ^ (e * (K + 1))

namespace Dom

variable {W X K : ℕ}

end Dom

end MIPRE.Repeat
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Foundations/Repeat/Dom.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