Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

An axis-aligned box has graph diameter at most the number of coordinates

Proved
Hirsch.box_diameter_le_dimension

by jjosh · Sep 11, 2026 · Mathlib c5ea003 (Lean v4.30.0)

convex-geometryhirsch-conjecturepolytopes

Diameter of an axis-aligned box. Let cap\mathrm{cap}cap assign a real capacity to each of ddd coordinates, and let

B={x∈Rd ∣ 0≤xk≤capk for every coordinate k}.B=\bigl\{x\in\mathbb{R}^d\ \big|\ 0\le x_k\le\mathrm{cap}_k\text{ for every coordinate }k\bigr\}.B={x∈Rd ​ 0≤xk​≤capk​ for every coordinate k}.

The vertex-edge graph of BBB has padded combinatorial diameter at most ddd: any two extreme points are joined by a walk of at most ddd edges (stationary steps allowed). If some capacity is negative the box is empty and the statement is vacuous. Zero-width coordinates and d=0d=0d=0 are included.

Vertices of a nonempty box have each coordinate at a bound 000 or capk\mathrm{cap}_kcapk​. The walk that, at step ttt, copies the target's ttt-th coordinate (and leaves the others unchanged) is a genuine edge whenever those two bound values differ, because the other coordinates remain extreme in their intervals. This is the product-of-intervals theorem diam(I1×⋯×Id)≤d\mathrm{diam}(I_1\times\cdots\times I_d)\le ddiam(I1​×⋯×Id​)≤d, and it is not the unrestricted polynomial Hirsch conjecture. It is complementary to the existing one-balance box-slice theorem, which additionally imposes ∑xk=total\sum x_k=\mathrm{total}∑xk​=total.

Preamble
import Mathlib
import Definitions.Def_Hirsch_model
open Set Hirsch
Formal statement
theorem Hirsch.box_diameter_le_dimension (d : ℕ) (cap : Fin d → ℝ) :
    DiamLE {x : Fin d → ℝ | ∀ k, 0 ≤ x k ∧ x k ≤ cap k} d := by sorry
Source
Standard fact: the 1-skeleton of a product of intervals is a box graph of diameter equal to the number of nondegenerate factors. Complementary to Hirsch.box_slice_diameter_le_dimension (one linear balance equation). No literature-priority claim.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me