Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions of PowDom: Domination by a power of a monomial The time bounds of the answer-reduced verifier (`thm:answer-reduction`) have the…

Definition
MIPRE_Foundations_Pipeline_PowDom

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

gap-compressionmip-remipre-formalizationverifiers

The definitions of the module MIPRE.Foundations.Pipeline.PowDom of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Domination by a power of a monomial. The time bounds of the answer-reduced verifier (thm:answer-reduction) have the shape (c (W + 1)^m X^e)^{K + 1}: W a number dominating the parameters at index n, X = |d| + 1 the size of the input and K = μ the input sampler's degree. It is the shape of the contract's outBound bound λ μ σ n = P(L + σ)^{μ + 1} at degree d (μ + 1): one call to a sampler of coefficient B ≤ W and degree K on a query of size below c (W + 1)^m X^e costs B (c (W + 1)^m X^e)^K, which is of this shape (ofCall), and so is any fixed polynomial of such a cost…

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

Formalization Note The bundle is the module MIPRE.Foundations.Pipeline.PowDom (MIPRE/Foundations/Pipeline/PowDom.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; the source module is split over 5 imported bundle(s).

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/Pipeline/PowDom.lean (definition bundle: declarations the uploaded statements rest on);
   produced mechanically by prove2me/tools/gen.py, never edited by hand. -/
import Mathlib.Algebra.Polynomial.Eval.Defs
import Mathlib.Algebra.Polynomial.Eval.Degree
import Mathlib.Data.List.Basic
import Mathlib.Data.Nat.Bits
import Mathlib.Data.Nat.Notation
import Mathlib.Data.Nat.Size
import Mathlib.Tactic
import Definitions.Def_MIPRE_Foundations_Cost_Basic_B
import Definitions.Def_MIPRE_Foundations_Cost_Encoding_B
import Definitions.Def_MIPRE_Foundations_Cost_PolyTime
import Definitions.Def_MIPRE_Foundations_Cost_Growth
import Definitions.Def_MIPRE_Foundations_Repeat_Dom

/-!
# Domination by a power of a monomial

The time bounds of the answer-reduced verifier (`thm:answer-reduction`) have the shape
`(c (W + 1)^m X^e)^{K + 1}`: `W` a number dominating the parameters at index `n`, `X = |d| + 1`
the size of the input and `K = μ` the input sampler's degree. It is the shape of the contract's
`outBound bound λ μ σ n = P(L + σ)^{μ + 1}` at degree `d (μ + 1)`: one call to a sampler of
coefficient `B ≤ W` and degree `K` on a query of size below `c (W + 1)^m X^e` costs
`B (c (W + 1)^m X^e)^K`, which is of this shape (`ofCall`), and so is any fixed polynomial of
such a cost (`poly`). `MIPRE.Repeat.Dom` is the unpowered shape `c (W + 1)^m X^{e (K + 1)}`,
which suffices when the coefficient of the simulated program does not depend on `K`; here the
powered coefficient carries the constants that a query larger than the input by a constant
factor raises to the power `K`, and the index-independent `K + 1 ≤ 2^{K + 1}` (`ofLeK`).

`PDom W X K c m e v` says `v` is below `(c (W + 1)^m X^e)^{K + 1}`; the combinators assemble the
constants, and `le_final` reads off the coefficient `(c (W + 1)^m)^{K + 1}` and degree
`e (K + 1)`.
-/

namespace MIPRE.Pipeline

open Cost

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

namespace PDom

variable {W X K : ℕ}

end PDom

end MIPRE.Pipeline
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Foundations/Pipeline/PowDom.lean; blueprint lem:ar-construction

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