Lemma 4.20 —
ProvedTSPSDPGap.lemma_4_20integrality-gapp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1semidefinite-programmingtraveling-salesman
Let be even. For every integer ,
It evaluates the bound of Lemma 4.19 summed against the weights in Proposition 4.14.
Differences from the source:
- generalization: k ∈ {1, …, n − 1} (the lemma's use in Proposition 4.14) → every integer k; reason: the printed lemma states no range for k; specializes to the paper's use
Preamble
import Mathlib
Formal statement
namespace TSPSDPGap
/-- **Lemma 4.20: a weighted parity count.**
Gutekunst & Williamson, *SDP Relaxations of the TSP and Their Integrality Gaps*,
arXiv:1907.09054v1, Lemma 4.20, p.24:
"For g even, Σ_{j=1}^{g−1} (g − j)𝟙{j−k odd} = ¼(g(g − 1) + g(−1)^k)."
**Formalization Note.** For every even natural `g` and every integer `k`; `Σ_{j=1}^{g−1}` is the
sum over `Finset.Ico 1 g`, arithmetic in `ℝ`, `(−1)^k` an integer power. -/
theorem lemma_4_20 (g : ℕ) (hg : Even g) (k : ℤ) :
∑ j ∈ Finset.Ico 1 g, ((g : ℝ) - j) * (if Odd ((j : ℤ) - k) then (1 : ℝ) else 0) =
((g : ℝ) * ((g : ℝ) - 1) + (g : ℝ) * (-1 : ℝ) ^ k) / 4 := by sorry
end TSPSDPGap
Source
Gutekunst & Williamson, SDP Relaxations of the TSP and Their Integrality Gaps, arXiv:1907.09054v1, Lemma 4.20, p.24
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.