Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 — every polyhedron in ℝ^d cut out by n ≥ d inequalities, bounded or not, has graph diameter at most (n − d)^{log₂ d}

Proved
ToddKK14.Diameter.theorem_1

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

diameterhirsch-conjecturekalai-kleitmanp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polyhedra

A polyhedron P⊆RdP\subseteq\mathbb R^dP⊆Rd is an intersection of finitely many half-spaces. A vertex of PPP is a point vvv such that P∩H={v}P\cap H=\{v\}P∩H={v} for some half-space HHH; two vertices v≠wv\ne wv=w are adjacent if P∩H=[v,w]P\cap H=[v,w]P∩H=[v,w] for some half-space HHH. The distance ρP(v,w)\rho_P(v,w)ρP​(v,w) is the least length of a path of adjacent vertices from vvv to www, the diameter δ(P)\delta(P)δ(P) is the largest such distance, and Δ(d,n)\Delta(d,n)Δ(d,n) is the largest diameter of a ddd-dimensional polyhedron with nnn facets, bounded or not.

Theorem 1 (Todd). For 1≤d≤n1\le d\le n1≤d≤n,

Δ(d,n)  ≤  (n−d)log⁡d,with Δ(1,1)=0,\Delta(d,n)\;\le\;(n-d)^{\log d}, \qquad\text{with } \Delta(1,1)=0,Δ(d,n)≤(n−d)logd,with Δ(1,1)=0,

where log⁡\loglog is the logarithm to base 2.

Concretely: let 1≤d≤n1\le d\le n1≤d≤n and let P={x∈Rd:⟨ai,x⟩≤bi, i=1,…,n}P=\{x\in\mathbb R^d:\langle a_i,x\rangle\le b_i,\ i=1,\dots,n\}P={x∈Rd:⟨ai​,x⟩≤bi​, i=1,…,n} be any polyhedron cut out by nnn linear inequalities, bounded or not. Then the vertex–edge graph of PPP is connected and any two vertices of PPP are joined by a path of at most ⌊(n−d)log⁡2d⌋\lfloor (n-d)^{\log_2 d}\rfloor⌊(n−d)log2​d⌋ edges; and if d=n=1d=n=1d=n=1, PPP has at most one vertex.

The bound improves the Kalai–Kleitman bound nlog⁡d+2n^{\log d+2}nlogd+2 (1992), agrees with the Hirsch quantity n−dn-dn−d for d≤2d\le 2d≤2, and is invariant under linear-programming duality, since (n−d)log⁡d=dlog⁡(n−d)(n-d)^{\log d}=d^{\log(n-d)}(n−d)logd=dlog(n−d).

Formalization Note The statement uses the inequality reading of Δ(d,n)≤B\Delta(d,n)\le BΔ(d,n)≤B: for all a:{1..n}→Rda:\{1..n\}\to\mathbb R^da:{1..n}→Rd and bbb, the polyhedron Hpoly a b satisfies DiamLE … B (any two extreme points are joined by a walk of exactly BBB steps, each step staying put or crossing an edge, so connectivity is included). This is equivalent to the paper's statement: a (d,n)(d,n)(d,n)-polyhedron is the Hpoly of its nnn facet inequalities, and conversely an Hpoly with nnn rows of dimension d′<dd'<dd′<d has n′n'n′ facets with n′−d′≤n−dn'-d'\le n-dn′−d′≤n−d, so the bound for (d′,n′)(d',n')(d′,n′) is at most the bound for (d,n)(d,n)(d,n). No boundedness, nonemptiness, full-dimensionality or nonzero-row hypothesis is imposed. The logarithm is Real.logb 2, the power is the real power, and since distances are natural numbers the bound is its floor. The second conjunct is the paper's "with Δ(1,1)=0\Delta(1,1)=0Δ(1,1)=0": it is needed because 00=10^0=100=1 in Real.rpow, so the first conjunct gives only the bound 111 at d=n=1d=n=1d=n=1. The bounded case with d≥3d\ge 3d≥3 is the published Hirsch.todd_bound; this theorem is its extension to all polyhedra.

Preamble
import Mathlib
import Definitions.Def_Hirsch_model

open scoped RealInnerProductSpace
Formal statement
namespace ToddKK14.Diameter

open Hirsch

/-- Todd (2014), p. 2, Theorem 1: "For 1 ≤ d ≤ n, ∆(d, n) ≤ (n − d)^{log(d)}, with ∆(1, 1) = 0",
logarithms to base 2. Every polyhedron `Hpoly a b` in `ℝ^d` cut out by `n` linear inequalities,
bounded or not, has a connected vertex–edge graph of diameter at most `⌊(n − d)^{log₂ d}⌋`; and when
`d = n = 1` the diameter is `0`. -/
theorem theorem_1 (d n : ℕ) (hd : 1 ≤ d) (hdn : d ≤ n)
    (a : Fin n → EuclideanSpace ℝ (Fin d)) (b : Fin n → ℝ) :
    DiamLE (Hpoly a b) ⌊((n : ℝ) - d) ^ Real.logb 2 d⌋₊ ∧
      (d = 1 → n = 1 → DiamLE (Hpoly a b) 0) := by sorry

end ToddKK14.Diameter
Source
Todd, An improved Kalai-Kleitman bound for the diameter of a polyhedron, arXiv:1402.3579v2, p. 2, §2, Theorem 1
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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