Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The optimal tour of Gˉi\bar G_iGˉi​ has length 2i+1−12^{i+1}-12i+1−1

Proved
TSPHeuristics.NNLower.optimal_gbar

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

optimal-tourp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1traveling-salesman

For every i≥1i\ge1i≥1, the optimal tour of Gˉi\bar G_iGˉi​ has length equal to the number of nodes of Gˉi\bar G_iGˉi​:

OPTIMAL(Gˉi)=2i+1−1.\mathrm{OPTIMAL}(\bar G_i)=2^{i+1}-1.OPTIMAL(Gˉi​)=2i+1−1.

The paper exhibits the tour that visits the nodes from left to right and returns from the right node to the start node; each of its edges has weight one.

Formalization Note OPTIMAL is the minimum of the tour length over all permutations; the statement is an equality, so both the upper bound (the left-to-right tour) and the lower bound (no tour is shorter) are asserted.

Preamble
import Mathlib
import Definitions.Def_TSPHeuristics_NNLower_TSPModel
import Definitions.Def_TSPHeuristics_NNLower_LowerBoundFamily
Formal statement
namespace TSPHeuristics.NNLower

/-- p. 568: for `i ≥ 1`, `Ḡ_i` has an optimal tour whose length equals its number of nodes
`n = 2^(i+1) − 1` (the left-to-right tour, all of whose edges have weight one). -/
theorem optimal_gbar (i : ℕ) (hi : 1 ≤ i) :
    optimal (gbar i) = (2 : ℝ) ^ (i + 1) - 1 := by sorry

end TSPHeuristics.NNLower
Source
Rosenkrantz, Stearns, Lewis, An Analysis of Several Heuristics for the Traveling Salesman Problem, SIAM J. Comput. 6(3), 1977, https://doi.org/10.1137/0206041, p. 568, paragraph after properties a) and b)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • ni=2i+1−1n_i = 2^{i+1} - 1ni​=2i+1−1 is the number of nodes.
  • Gˉi(a,b)\bar G_i(a,b)Gˉi​(a,b) is the shortest-path distance in a specific recursively built edge list GiG_iGi​, for a,b<nia,b < n_ia,b<ni​.
  • OPT(Gˉi)\mathrm{OPT}(\bar G_i)OPT(Gˉi​) is the minimum, over all permutations τ\tauτ of {0,…,ni−1}\{0,\dots,n_i-1\}{0,…,ni​−1}, of the closed-tour length
∑k=0ni−1Gˉi(τ(k),τ(k+1 mod ni)).\sum_{k=0}^{n_i-1} \bar G_i\bigl(\tau(k), \tau(k+1 \bmod n_i)\bigr).k=0∑ni​−1​Gˉi​(τ(k),τ(k+1modni​)).

Claim. For every natural number i≥1i \ge 1i≥1,

OPT(Gˉi)=2i+1−1\mathrm{OPT}(\bar G_i) = 2^{i+1} - 1OPT(Gˉi​)=2i+1−1

as real numbers.

Degenerate cases. The case i=0i = 0i=0 is excluded. The claim gives only the value of the minimum. It does not identify which tour attains it, and it does not state separately that all tour edges have weight one.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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