Proof of Theorem 6 — every tour on the circle is odd or even
ProvedTSPHeuristics.KOpt.theorem_6_proof_tour_odd_or_evenLet . Call a tour of the circle graph even if is even for every unit edge , and odd if it is odd for every . Then every tour is either even or odd.
The reason is (7.5): at each node the two unit edges and have counts summing to twice the number of visits of to , and is connected.
The dichotomy is the key step of Theorem 6: a tour shorter than must switch the parity of every unit edge.
Formalization Note Nodes are 0-based and unit edge joins and . COUNT uses the canonical arc of UnitEdgeCount. The hypothesis keeps a cycle of distinct edges.
import Mathlib import Definitions.Def_TSPHeuristics_KOpt_UnitEdgeCount
namespace TSPHeuristics.KOpt
theorem theorem_6_proof_tour_odd_or_even (n : ℕ) (hn : 3 ≤ n) (τ : Equiv.Perm (Fin n)) :
(∀ e : Fin n, Even (unitCount τ e)) ∨ (∀ e : Fin n, Odd (unitCount τ e)) := by sorry
end TSPHeuristics.KOpt
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypothesis. .
Claim. For every permutation of , one of the following holds:
- every unit edge has even, or
- every unit edge has odd.
Objects. is the number of steps for which unit edge (joining and ) lies on the arc assigned to the step . With the smaller and the larger endpoint:
- if , the arc covers the edges ;
- otherwise it covers the edges or .
Degenerate cases. is excluded by the hypothesis. Zero counts as even.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.