Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The bottleneck case, pp. 670–671 — ψ′ is a tour minimizing the largest changeover cost

Proved
GilmoreGomoryTSP.Bottleneck.psiPrime_minimizes_bottleneck

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

bottleneckp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1sequencingtraveling-salesman

Let N=n+1N=n+1N=n+1 jobs have starting states AiA_iAi​ and final states BiB_iBi​, numbered so that B1≤⋯≤BNB_1\le\dots\le B_NB1​≤⋯≤BN​. Let f≥0f\ge0f≥0 be locally integrable and g=0g = 0g=0, so that the changeover cost (1) is

cij={∫BiAjf(x) dxAj≥Bi,0Bi>Aj.c_{ij} = \begin{cases}\int_{B_i}^{A_j} f(x)\,dx & A_j\ge B_i,\\ 0 & B_i>A_j.\end{cases}cij​={∫Bi​Aj​​f(x)dx0​Aj​≥Bi​,Bi​>Aj​.​

Let φ\varphiφ be a permutation ranking the AAA's, let TTT be a minimum spanning tree of GφG_\varphiGφ​ made of arcs Rq,q+1R_{q,q+1}Rq,q+1​, where Rq,q+1R_{q,q+1}Rq,q+1​ costs cqφ(q+1)c_{q\varphi(q+1)}cqφ(q+1)​, and let

ψ′=φ αj1j1+1⋯αjmjm+1,j1<⋯<jm the arcs of T.\psi' = \varphi\,\alpha_{j_1 j_1+1}\cdots\alpha_{j_m j_m+1},\qquad j_1<\dots<j_m \text{ the arcs of } T.ψ′=φαj1​j1​+1​⋯αjm​jm​+1​,j1​<⋯<jm​ the arcs of T.

Then ψ′\psi'ψ′ is a tour, and for every tour ψ\psiψ,

m(ψ′)=max⁡iciψ′(i)  ≤  m(ψ)=max⁡iciψ(i).m(\psi') = \max_i c_{i\psi'(i)} \;\le\; m(\psi) = \max_i c_{i\psi(i)}.m(ψ′)=imax​ciψ′(i)​≤m(ψ)=imax​ciψ(i)​.

This solves the bottleneck traveling salesman problem for this cost matrix: a minimum (sum) spanning tree computation followed by interchanges applied in increasing order yields a tour whose largest changeover cost is as small as possible.

Formalization Note The cost keeps the general two-density form (1) with the hypotheses f≥0f\ge0f≥0, g≡0g\equiv0g≡0 and fff locally integrable. The tree is a minimum-sum spanning tree under the costs cqφ(q+1)c_{q\varphi(q+1)}cqφ(q+1)​, as on the page, quantified over all adjacent-arc spanning trees; any such tree may be used. The interchanges are applied in increasing index order, the first one directly to φ\varphiφ. "Minimizes m(ψ′)m(\psi')m(ψ′)" is read as: ψ′\psi'ψ′ is a tour and m(ψ′)≤m(ψ)m(\psi')\le m(\psi)m(ψ′)≤m(ψ) for every tour ψ\psiψ. The paper's remark that the results hold equally for f=0f = 0f=0, g≥0g\ge0g≥0 is not formalized.

Preamble
import Mathlib
import Definitions.Def_GilmoreGomoryTSP_Bottleneck_Model
Formal statement
namespace GilmoreGomoryTSP.Bottleneck

theorem psiPrime_minimizes_bottleneck {n : ℕ} (f g : ℝ → ℝ) (A B : Fin (n + 1) → ℝ) (hB : Monotone B)
    (hf0 : ∀ x, 0 ≤ f x) (hg0 : ∀ x, g x = 0) (hf : MeasureTheory.LocallyIntegrable f)
    (φ : Equiv.Perm (Fin (n + 1))) (hφ : Monotone (A ∘ φ))
    (T : Finset (Fin n)) (hT : IsMinSpanningTree f g A B φ T) :
    GilmoreGomoryTSP.MinCost.IsTour (psiPrime φ T) ∧
      ∀ ψ : Equiv.Perm (Fin (n + 1)), GilmoreGomoryTSP.MinCost.IsTour ψ → m f g A B (psiPrime φ T) ≤ m f g A B ψ := by sorry

end GilmoreGomoryTSP.Bottleneck
Source
Gilmore and Gomory, Sequencing a one state-variable machine, Oper. Res. 12 (1964), pp. 670–671, Section "The bottleneck case"
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