Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 2, proof of Theorem 1 — "which implies the statement of the theorem": ⌊n^(log₂ d + 2)⌋ is a supersolution of the recursion

Proved
KalaiKleitman92.Diameter.bound_recursion

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

graph-diameterhirsch-conjecturep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1polyhedra

For natural numbers d,nd,nd,n write N(d,n)=⌊nlog⁡2d+2⌋N(d,n)=\lfloor n^{\log_2 d+2}\rfloorN(d,n)=⌊nlog2​d+2⌋. If d≥2d\ge2d≥2 and n≥d+1n\ge d+1n≥d+1, then

N(d−1, n−1)+2 N ⁣(d,⌊n/2⌋)+2  ≤  N(d,n).N(d-1,\,n-1)+2\,N\!\left(d,\lfloor n/2\rfloor\right)+2\;\le\;N(d,n).N(d−1,n−1)+2N(d,⌊n/2⌋)+2≤N(d,n).

This is the arithmetic content of "which implies the statement of the theorem" in Kalai and Kleitman's proof: the bound nlog⁡d+2n^{\log d+2}nlogd+2 of Theorem 1 satisfies the recursion Δ(d,n)≤Δ(d−1,n−1)+2Δ(d,[n/2])+2\Delta(d,n)\le\Delta(d-1,n-1)+2\Delta(d,[n/2])+2Δ(d,n)≤Δ(d−1,n−1)+2Δ(d,[n/2])+2, so an induction on d+nd+nd+n carries the bound from smaller cases to (d,n)(d,n)(d,n).

Formalization Note The paper does not print the base of the logarithm; base 222 is the one the halving step produces. The power is the real power nlog⁡2d+2n^{\log_2 d+2}nlog2​d+2 and NNN is its floor; since a distance is a natural number, dist⁡≤nlog⁡2d+2\operatorname{dist}\le n^{\log_2 d+2}dist≤nlog2​d+2 is the same as dist⁡≤N(d,n)\operatorname{dist}\le N(d,n)dist≤N(d,n). [n/2][n/2][n/2] is ⌊n/2⌋\lfloor n/2\rfloor⌊n/2⌋. Under d≥2d\ge2d≥2, n≥d+1n\ge d+1n≥d+1 the natural-number differences d−1d-1d−1 and n−1n-1n−1 are the true ones.

Preamble
import Mathlib
import Definitions.Def_Hirsch_model

open scoped RealInnerProductSpace
Formal statement
namespace KalaiKleitman92.Diameter

/-- Kalai–Kleitman (1992), p. 2, proof of Theorem 1: "which implies the statement of the
theorem". The bound `N(d, n) = ⌊n ^ (log₂ d + 2)⌋` satisfies the recursion
`N(d − 1, n − 1) + 2 N(d, ⌊n/2⌋) + 2 ≤ N(d, n)` whenever `2 ≤ d` and `d + 1 ≤ n`. -/
theorem bound_recursion (d n : ℕ) (hd : 2 ≤ d) (hn : d + 1 ≤ n) :
    ⌊((n - 1 : ℕ) : ℝ) ^ (Real.logb 2 ((d - 1 : ℕ) : ℝ) + 2)⌋₊
      + 2 * ⌊((n / 2 : ℕ) : ℝ) ^ (Real.logb 2 (d : ℝ) + 2)⌋₊ + 2
      ≤ ⌊(n : ℝ) ^ (Real.logb 2 (d : ℝ) + 2)⌋₊ := by sorry

end KalaiKleitman92.Diameter
Source
Kalai and Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra, Bull. Amer. Math. Soc. 26 (1992), 315–316 (text of arXiv:math/9204233v1), p. 2, proof of Theorem 1 ("… which implies the statement of the theorem")
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

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