Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2, p. 3, proof of Theorem 1 — the ten remaining cases d = 4…7 satisfy the recursion of Lemma 1

Proved
ToddKK14.Diameter.small_cases

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

arithmeticdiameterhirsch-conjecturep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Write T(d,n)=⌊(n−d)log⁡2d⌋T(d,n)=\lfloor (n-d)^{\log_2 d}\rfloorT(d,n)=⌊(n−d)log2​d⌋ for the Todd bound. For each of the ten pairs

d=4, 8≤n≤11;d=5, 10≤n≤12;d=6, 12≤n≤13;d=7, n=14,d=4,\ 8\le n\le 11;\qquad d=5,\ 10\le n\le 12;\qquad d=6,\ 12\le n\le 13;\qquad d=7,\ n=14,d=4, 8≤n≤11;d=5, 10≤n≤12;d=6, 12≤n≤13;d=7, n=14,

the bound satisfies the recursion of Lemma 1:

T(d−1, n−1)+2 T(d,⌊n/2⌋)+2  ≤  T(d,n).T(d-1,\,n-1) + 2\,T(d,\lfloor n/2\rfloor) + 2 \;\le\; T(d,n).T(d−1,n−1)+2T(d,⌊n/2⌋)+2≤T(d,n).

These are the cases of the induction proving Theorem 1 that are covered neither by n<2dn<2dn<2d nor by the general step (d≥4d\ge 4d≥4, n−d≥8n-d\ge 8n−d≥8). The paper says they "can be checked easily using the lemma, the equation Δ(d,d)=0\Delta(d,d)=0Δ(d,d)=0, and the equations Δ(5,6)=Δ(4,5)=Δ(3,4)=Δ(2,3)=1\Delta(5,6)=\Delta(4,5)=\Delta(3,4)=\Delta(2,3)=1Δ(5,6)=Δ(4,5)=Δ(3,4)=Δ(2,3)=1". In all ten cases ⌊n/2⌋∈{d,d+1}\lfloor n/2\rfloor\in\{d,d+1\}⌊n/2⌋∈{d,d+1}, and T(d,d)=0T(d,d)=0T(d,d)=0, T(d,d+1)=1T(d,d+1)=1T(d,d+1)=1 are exactly those equations; with the induction hypothesis Δ(d−1,n−1)≤T(d−1,n−1)\Delta(d-1,n-1)\le T(d-1,n-1)Δ(d−1,n−1)≤T(d−1,n−1) and Lemma 1, the displayed inequality gives Δ(d,n)≤T(d,n)\Delta(d,n)\le T(d,n)Δ(d,n)≤T(d,n).

Formalization Note TTT is toddBound, with Real.logb 2 and the real power; n−1n-1n−1, d−1d-1d−1 and ⌊n/2⌋\lfloor n/2\rfloor⌊n/2⌋ (n / 2) are natural-number operations, exact here since n≥8n\ge 8n≥8 and d≥4d\ge 4d≥4. The list of cases is exactly the paper's.

Preamble
import Mathlib
import Definitions.Def_ToddKK14_Diameter_Bound
Formal statement
namespace ToddKK14.Diameter

/-- Todd (2014), p. 3, proof of Theorem 1: "The remaining cases are d = 4, 8 ≤ n ≤ 11; d = 5,
10 ≤ n ≤ 12; d = 6, 12 ≤ n ≤ 13; and d = 7, n = 14. All these cases can be checked easily using the
lemma, the equation ∆(d, d) = 0, and the equations ∆(5, 6) = ∆(4, 5) = ∆(3, 4) = ∆(2, 3) = 1."
In each of these ten cases the bound `⌊(n − d)^{log₂ d}⌋` satisfies the recursion of Lemma 1:
`toddBound (d-1) (n-1) + 2 * toddBound d ⌊n/2⌋ + 2 ≤ toddBound d n`. -/
theorem small_cases (d n : ℕ)
    (h : (d = 4 ∧ 8 ≤ n ∧ n ≤ 11) ∨ (d = 5 ∧ 10 ≤ n ∧ n ≤ 12) ∨ (d = 6 ∧ 12 ≤ n ∧ n ≤ 13) ∨
      (d = 7 ∧ n = 14)) :
    toddBound (d - 1) (n - 1) + 2 * toddBound d (n / 2) + 2 ≤ toddBound d n := by sorry

end ToddKK14.Diameter
Source
Todd, An improved Kalai-Kleitman bound for the diameter of a polyhedron, arXiv:1402.3579v2, p. 3, §2, proof of Theorem 1, sentences "The remaining cases are …" and "All these cases can be checked easily …"
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