Lemma 4.8 —
ProvedTSPSDPGap.lemma_4_8integrality-gapp2o-gran-per-chapterp2o-plan-paperp2o-v1semidefinite-programmingtraveling-salesman
Let be even, , and let be an integer with . Then
This consequence of Lagrange's trigonometric identity is used in Lemmas 4.10, 4.19 and Claim 4.17.
Differences from the source:
- encoding: an integer k with 0 < k < n → k : ℕ with 0 < k < n; reason: a positive integer is a natural number; same values
Preamble
import Mathlib
Formal statement
namespace TSPSDPGap
/-- **Lemma 4.8: a sum of cosines.**
Gutekunst & Williamson, *SDP Relaxations of the TSP and Their Integrality Gaps*,
arXiv:1907.09054v1, Lemma 4.8, p.17:
"Let n be even and 0 < k < n be an integer. Then Σ_{j=1}^d cos(πjk/d) = (−1 + (−1)^k)/2."
Here `d = n/2` (p.5).
**Formalization Note.** `k : ℕ` with `0 < k < n`; `d = n / 2` is a natural number cast to `ℝ`
(exact since `n` is even). -/
theorem lemma_4_8 (n k : ℕ) (hn : Even n) (hk0 : 0 < k) (hkn : k < n) :
∑ j ∈ Finset.Icc 1 (n / 2), Real.cos (Real.pi * j * k / (n / 2 : ℕ)) =
(-1 + (-1 : ℝ) ^ k) / 2 := by sorry
end TSPSDPGap
Source
Gutekunst & Williamson, SDP Relaxations of the TSP and Their Integrality Gaps, arXiv:1907.09054v1, Lemma 4.8, p.17
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.