The optimal tour of has length
ProvedTSPHeuristics.NNLower.optimal_gbarFor every , the optimal tour of has length equal to the number of nodes of :
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.
import Mathlib import Definitions.Def_TSPHeuristics_NNLower_TSPModel import Definitions.Def_TSPHeuristics_NNLower_LowerBoundFamily
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is the number of nodes.
- is the shortest-path distance in a specific recursively built edge list , for .
- is the minimum, over all permutations of , of the closed-tour length
Claim. For every natural number ,
as real numbers.
Degenerate cases. The case 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.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.