Proof of Theorem 5: has length and OPTIMAL on the circle
ProvedTSPHeuristics.KOpt.theorem_5_proof_circle_lengthsLet . On the circle graph the final subtour of the proof of Theorem 5 has two edges of length one and edges of length two, and the optimal tour visits the nodes in numerical order:
Dividing the two gives the ratio of Theorem 5, (4.14).
Formalization Note is the list circleSubtour n n (0-based nodes). OPTIMAL is the true minimum over all tours (Finset.inf'), so the second equality asserts both that the numerical-order tour has length and that no tour is shorter.
import Mathlib import Definitions.Def_TSPHeuristics_Shared_TSPModel import Definitions.Def_TSPHeuristics_KOpt_CircleInstance
namespace TSPHeuristics.KOpt
theorem theorem_5_proof_circle_lengths (n : ℕ) (hn : 6 ≤ n) :
TSPHeuristics.Shared.cycleLength (cycDist n) (circleSubtour n n) = 2 * ((n : ℝ) - 1) ∧
TSPHeuristics.Shared.optimal (cycDist n) = n := by sorry
end TSPHeuristics.KOpt
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypothesis. .
Objects.
- is the circular distance on : if , and otherwise.
- is the full list: , then the odd nodes in increasing order, then the nonzero even nodes in decreasing order. For example, when .
Claim. Both of the following hold:
and come from a shared module whose code is not included here. Their exact meaning cannot be read off this code. For example, the code does not show whether is a minimum over all tours, or what it returns in degenerate situations.
Degenerate cases. Small is excluded by . The claim is an exact equality of real numbers.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.