Lemma 4.9 — two weighted sums for even
ProvedTSPSDPGap.lemma_4_9integrality-gapp2o-gran-per-chapterp2o-plan-paperp2o-v1semidefinite-programmingtraveling-salesman
Let be even. Then
Both identities enter the computation of (Lemma 4.10) and the eigenvalue bounds of Proposition 4.14.
Differences from the source: none.
Preamble
import Mathlib
Formal statement
namespace TSPSDPGap
/-- **Lemma 4.9: two weighted alternating sums.**
Gutekunst & Williamson, *SDP Relaxations of the TSP and Their Integrality Gaps*,
arXiv:1907.09054v1, Lemma 4.9, p.17:
"Let g be even. Then Σ_{j=1}^{g−1} (g − j)𝟙{j odd} = g²/4 and Σ_{j=1}^{g−1} (g − j)(−1)^j = −g/2."
**Formalization Note.** `Σ_{j=1}^{g−1}` is the sum over `Finset.Ico 1 g`; `g − j` is computed
in `ℝ`; `𝟙{j odd}` is `if Odd j then 1 else 0`. -/
theorem lemma_4_9 (g : ℕ) (hg : Even g) :
∑ j ∈ Finset.Ico 1 g, ((g : ℝ) - j) * (if Odd j then (1 : ℝ) else 0) = (g : ℝ) ^ 2 / 4 ∧
∑ j ∈ Finset.Ico 1 g, ((g : ℝ) - j) * (-1 : ℝ) ^ j = -(g : ℝ) / 2 := by sorry
end TSPSDPGap
Source
Gutekunst & Williamson, SDP Relaxations of the TSP and Their Integrality Gaps, arXiv:1907.09054v1, Lemma 4.9, p.17
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.