Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 1: (πˉ−π)⋅vk(π)≥w(πˉ)−w(π)≥0(\bar\pi - \pi)\cdot v_{k(\pi)} \ge w(\bar\pi) - w(\pi) \ge 0(πˉ−π)⋅vk(π)​≥w(πˉ)−w(π)≥0

Proved
HeldKarp.Ascent.lemma_1

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

lagrangian-relaxationp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1subgradienttraveling-salesman

Let n≥3n \ge 3n≥3, let (cij)(c_{ij})(cij​) be symmetric real edge weights on KnK_nKn​, and let www be the 1-tree bound. Let π,πˉ∈Rn\pi, \bar\pi \in \mathbb R^nπ,πˉ∈Rn satisfy w(πˉ)≥w(π)w(\bar\pi) \ge w(\pi)w(πˉ)≥w(π), and let k(π)k(\pi)k(π) be any minimum-weight 1-tree at the point π\piπ, with degree-excess vector vk(π)v_{k(\pi)}vk(π)​. Then

(πˉ−π)⋅vk(π)  ≥  w(πˉ)−w(π)  ≥  0.(\bar\pi - \pi)\cdot v_{k(\pi)} \;\ge\; w(\bar\pi) - w(\pi) \;\ge\; 0.(πˉ−π)⋅vk(π)​≥w(πˉ)−w(π)≥0.

Geometrically, the hyperplane through π\piπ with normal vk(π)v_{k(\pi)}vk(π)​ bounds a closed half-space containing every point πˉ\bar\piπˉ at least as good as π\piπ, in particular every maximizer of www: vk(π)v_{k(\pi)}vk(π)​ is a supergradient of the concave function www at π\piπ. This justifies stepping from π\piπ along vk(π)v_{k(\pi)}vk(π)​.

Formalization Note The inner product is Euclidean, written as a coordinate sum. The minimum-weight 1-tree may be any of the tied minimizers.

Preamble
import Mathlib
import Definitions.Def_HeldKarp_Ascent_IsOneTree
import Definitions.Def_HeldKarp_Ascent_oneTreeBound
Formal statement
namespace HeldKarp.Ascent

/-- **Lemma 1** — Held & Karp, *The traveling-salesman problem and minimum spanning trees: Part II*,
Math. Programming 1 (1971), §2, p. 9 (PDF p. 4): "Let π̄ and π be such that w(π̄) ≥ w(π). Then
(π̄ − π) · v_{k(π)} ≥ w(π̄) − w(π) ≥ 0."

Here `G` plays the role of the 1-tree `k(π)`: any minimum-weight 1-tree at the point `π`.

Formalization Note: `·` is the Euclidean inner product, written as a sum over coordinates. The
choice of minimum-weight 1-tree is arbitrary among ties (every choice is covered). `3 ≤ n` is
implicit in the paper (1-trees exist only for `n ≥ 3`). -/
theorem lemma_1 {n : ℕ} [NeZero n] (hn : 3 ≤ n) (c : Sym2 (Fin n) → ℝ) (πbar π : Fin n → ℝ)
    (G : SimpleGraph (Fin n)) (hG : IsMinOneTree c π G)
    (hw : oneTreeBound c π ≤ oneTreeBound c πbar) :
    oneTreeBound c πbar - oneTreeBound c π ≤ ∑ i, (πbar i - π i) * degExcess G i ∧
      0 ≤ oneTreeBound c πbar - oneTreeBound c π := 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. 9 (PDF p. 4), Lemma 1
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