Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 3, Case 1: with 0<ε<λm≤20<\varepsilon<\lambda_m\le 20<ε<λm​≤2 the relaxation iterates enter PwˉP_{\bar w}Pwˉ​ or converge to its boundary

Proved
HeldKarp.Ascent.lemma_3_case_1

by mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

convergencep2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1relaxation-methodtraveling-salesman

Let n≥3n \ge 3n≥3, let (cij)(c_{ij})(cij​) be symmetric real edge weights on KnK_nKn​, let www be the 1-tree bound, and let ∥⋅∥\|\cdot\|∥⋅∥ be the Euclidean norm. Fix a target value wˉ<max⁡πw(π)\bar w < \max_\pi w(\pi)wˉ<maxπ​w(π), and let Pwˉ={π:wˉ≤ck+π⋅vk for all 1-trees k}P_{\bar w} = \{\pi : \bar w \le c_k + \pi\cdot v_k \text{ for all 1-trees } k\}Pwˉ​={π:wˉ≤ck​+π⋅vk​ for all 1-trees k}. Let (πm)m≥0(\pi^m)_{m\ge 0}(πm)m≥0​ be generated from an arbitrary π0\pi^0π0 by

πm+1=πm+λm wˉ−w(πm)∥vk(πm)∥2 vk(πm),(6)\pi^{m+1} = \pi^m + \lambda_m\,\frac{\bar w - w(\pi^m)}{\|v_{k(\pi^m)}\|^2}\,v_{k(\pi^m)}, \tag{6}πm+1=πm+λm​∥vk(πm)​∥2wˉ−w(πm)​vk(πm)​,(6)

where k(πm)k(\pi^m)k(πm) is a minimum-weight 1-tree at πm\pi^mπm. If there is ε\varepsilonε with

0<ε<λm≤2for all m,0 < \varepsilon < \lambda_m \le 2 \quad \text{for all } m,0<ε<λm​≤2for all m,

then either some πl\pi^lπl lies in PwˉP_{\bar w}Pwˉ​, or (πm)(\pi^m)(πm) converges to a point on the boundary of PwˉP_{\bar w}Pwˉ​.

This is the convergence statement for the relaxation method with the "maximum residual" rule applied to the system (5); Theorem 1 is derived from it by a suitable choice of wˉ\bar wwˉ.

Formalization Note "wˉ<max⁡πw(π)\bar w < \max_\pi w(\pi)wˉ<maxπ​w(π)" is written as the existence of some π\piπ with wˉ<w(π)\bar w < w(\pi)wˉ<w(π) (equivalent, since the maximum is attained). A zero denominator in (6) gives a zero step in Lean; that happens only at a maximizer of www, which already lies in PwˉP_{\bar w}Pwˉ​. The minimum-weight 1-tree may be chosen arbitrarily among ties at every step. The boundary is the topological frontier in Rn\mathbb R^nRn. n≥3n \ge 3n≥3 is implicit in the paper.

Preamble
import Mathlib
import Definitions.Def_HeldKarp_Ascent_IsOneTree
import Definitions.Def_HeldKarp_Ascent_oneTreeBound

open Filter Topology
Formal statement
namespace HeldKarp.Ascent

/-- **Lemma 3, Case 1** — Held & Karp, *The traveling-salesman problem and minimum spanning trees:
Part II*, Math. Programming 1 (1971), §2, p. 11 (PDF p. 6); proof p. 12 (PDF p. 7):
"We assume that w̄ < max_π w(π). Let {π^m} be a sequence of points obtained by the process
π^{m+1} = π^m + λ_m ((w̄ − w(π^m)) / ‖v_{k(π^m)}‖²) v_{k(π^m)}   (6). […] Case 1: If, for some
ε, 0 < ε < λ_m ≤ 2 for all m, then {π^m} either includes a point π^l ∈ P_w̄ or converges to a point
on the boundary of P_w̄."

The sequence `π m` together with the 1-trees `T m` (the paper's `k(π^m)`) satisfies (6), each
`T m` being a minimum-weight 1-tree at `π m`.

Formalization Note: "w̄ < max_π w(π)" is written `∃ π, w̄ < w(π)` (equivalent, since `w` attains
its maximum). `‖·‖` is the Euclidean norm, written as a sum of squares. When
`‖v_{k(π^m)}‖² = 0` Lean's division gives step `0`; this happens only at a maximizer of `w`,
which already lies in `P_w̄`, so the left disjunct holds. After some `π^l` enters `P_w̄` the
formula (6) still determines the later points; no stopping rule is needed. Ties among
minimum-weight 1-trees may be broken arbitrarily at every step. The boundary is the topological
frontier in `Fin n → ℝ` (product topology = Euclidean topology). `3 ≤ n` is implicit in the
paper. -/
theorem lemma_3_case_1 {n : ℕ} [NeZero n] (hn : 3 ≤ n) (c : Sym2 (Fin n) → ℝ) (wbar : ℝ)
    (hwbar : ∃ π' : Fin n → ℝ, wbar < oneTreeBound c π')
    (π : ℕ → Fin n → ℝ) (T : ℕ → SimpleGraph (Fin n)) (hT : ∀ m, IsMinOneTree c (π m) (T m))
    (lam : ℕ → ℝ)
    (hstep : ∀ m, π (m + 1) = π m + (lam m * ((wbar - oneTreeBound c (π m)) /
      ∑ i, (degExcess (T m) i) ^ 2)) • degExcess (T m))
    (ε : ℝ) (hε : 0 < ε) (hlam : ∀ m, ε < lam m ∧ lam m ≤ 2) :
    (∃ l, π l ∈ feasibleSet c wbar) ∨
      ∃ p : Fin n → ℝ, Tendsto π atTop (𝓝 p) ∧ p ∈ frontier (feasibleSet c wbar) := by sorry

end HeldKarp.Ascent
Source
Held & Karp, The traveling-salesman problem and minimum spanning trees: Part II, Math. Programming 1 (1971), DOI 10.1007/BF01584070, §2, p. 11 (PDF p. 6), Lemma 3, Eq. (6), Case 1; proof p. 12 (PDF p. 7)
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me