Eq. (3.12) — COST(T_i, a_i) ≤ OPTIMAL
ProvedTSPHeuristics.Insertion.insCost_le_optimalLet be a traveling salesman graph with nodes, and let and be the subtours and nodes of an insertion method run. For every ,
With this is condition b) of Lemma 1.
Formalization Note Subtours are lists of nodes; the closed length of a list is . The paper's 1-based subtour index is kept: , and is the final tour. Every choice of the inserted nodes and every minimizing insertion position is allowed. is assumed as a normalization (not in the paper; it never enters a length).
import Mathlib import Definitions.Def_TSPHeuristics_Shared_TSPModel import Definitions.Def_TSPHeuristics_Insertion_InsertionMethod
namespace TSPHeuristics.Insertion
/-- (3.12), p. 572: in an insertion method run, every insertion cost is at most OPTIMAL:
`COST(T_i, a_i) ≤ OPTIMAL` for `1 ≤ i < n`. -/
theorem insCost_le_optimal {n : ℕ} (d : Fin n → Fin n → ℝ) (hd : TSPHeuristics.Shared.IsTSPDist d)
(T : ℕ → List (Fin n)) (a : ℕ → Fin n) (hrun : IsInsertionRun d T a) :
∀ i : ℕ, 1 ≤ i → i < n → insCost d (T i) (a i) ≤ TSPHeuristics.Shared.optimal d := by sorry
end TSPHeuristics.Insertion
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be any natural number, with nodes . Let be a real-valued function on pairs of nodes satisfying the imported predicate , whose definition is not shown. Write for the imported quantity , also not shown. Let be lists of nodes and nodes forming an insertion run:
- ;
- for each : , and is with inserted at a position minimising of the result among all positions.
is an imported tour-length function whose definition is not shown. Let , where inserts before 0-based index .
The theorem asserts that for every natural number with ,
Degenerate cases:
- : no satisfies , so the statement is vacuous. For , no run exists anyway.
- : the claim concerns inserting into the one-element list . It depends on the unshown conventions of and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.