Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Polynomial versus exponential growth: AσD≤2σA\sigma^D \le 2^{\sigma}AσD≤2σ once σ≥A(D+1)D+1\sigma \ge A(D+1)^{D+1}σ≥A(D+1)D+1

Proved
MIPRE.Cost.mul_pow_le_two_pow

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

complexity-theorymipre-formalizationpolynomial-timerecursive-compression

Let AAA, DDD and σ\sigmaσ be natural numbers, and suppose that

A (D+1)D+1≤σ.A \,(D+1)^{D+1} \le \sigma .A(D+1)D+1≤σ.

Then

A σD≤2σ.A\,\sigma^{D} \le 2^{\sigma} .AσD≤2σ.

This is an explicit form of the fact that an exponential eventually dominates any monomial: for the monomial AσDA\sigma^DAσD, the point from which 2σ2^\sigma2σ dominates is at most A(D+1)D+1A(D+1)^{D+1}A(D+1)D+1. It is the arithmetic core of the threshold lemma exists_threshold, which in turn fixes the threshold r(e)=2K+1+∣e∣r(e) = 2^{K + 1 + |e|}r(e)=2K+1+∣e∣ of the recursive compression argument (blueprint lem:recursive-compression): above that threshold every polynomial overhead in ∣e∣+log⁡n|e| + \log n∣e∣+logn is at most n+1n + 1n+1.

Formalization Note: All quantities are natural numbers and the inequality is stated with no side condition other than the displayed hypothesis; in particular D=0D = 0D=0 (where the hypothesis reads A≤σA \le \sigmaA≤σ and the conclusion A≤2σA \le 2^\sigmaA≤2σ) and A=0A = 0A=0 are included. The proof is elementary (truncated division by D+1D+1D+1 and the bound μ+1≤2μ\mu + 1 \le 2^\muμ+1≤2μ).

Preamble
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 Definitions.Def_MIPRE_Foundations_Cost_Basic
import Definitions.Def_MIPRE_Foundations_Cost_Encoding
import Definitions.Def_MIPRE_Foundations_Cost_PolyTime

open MIPRE
open MIPRE.Cost
open Polynomial
Formal statement
theorem MIPRE.Cost.mul_pow_le_two_pow (A D σ : ℕ) (h : A * (D + 1) ^ (D + 1) ≤ σ) :
    A * σ ^ D ≤ 2 ^ σ := by sorry
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Foundations/Cost/Growth.lean#L44-L66; internal lemma of the formalization of blueprint lem:recursive-compression, https://vidick.github.io/MIPRE-formalization/blueprint/

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