Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Table 3, TSP, nearest merger, upper cell

Proved
VehicleRoutingSurvey.Routing.A07_upper

by Shuze Chen · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmsp2o-gran-per-chapterp2o-plan-paperp2o-v1vehicle-routing

On every finite nonempty metric traveling salesman instance, every admissible nearest merger run has cost C satisfying

C≤2 OPT.C\le 2\,\mathrm{OPT}.C≤2OPT.

The run constructs a full cyclic visiting order. The cost inequality also covers OPT = 0.

Differences from the source:

  • encoding: repeat-visit undirected network TSP → complete shortest-path pseudometric with zero diagonal, and cyclic vertex orders; reason: shortest paths expand metric edges to network walks without changing attainable optimum or heuristic cost; distinct vertices may have distance zero
  • reading: the named heuristic without pseudocode in the survey → the concrete nearest merger run relation, identified in survey reference [32], §6; reason: fixes the named procedure independently of its performance bound, retaining arbitrary legitimate ties
Preamble
import Definitions.Def_VehicleRoutingSurvey_Routing_MetricAlgorithms
Formal statement
namespace VehicleRoutingSurvey.Routing

theorem A07_upper :
    ∀ (n : ℕ), 1 ≤ n → ∀ (d : Fin n → Fin n → ℝ),
    TSPHeuristics.Shared.IsTSPDist d → ∀ (T : List (Fin n)), NearestMergerRun d T →
      TSPHeuristics.Shared.cycleLength d (T) ≤ 2 * TSPHeuristics.Shared.optimal d := by sorry

end VehicleRoutingSurvey.Routing
Source
Report 7919/O, p. 5, Table 3, TSP / nearest merger, upper cell; §4 pp. 4, 6; survey [32]. Printed p. 5; PDF 7. Algorithm definition: survey [32], Rosenkrantz–Stearns–Lewis (1977), §6, pp. 577–579; https://paperzz.com/doc/7007820/document.
Human review
  • Endorsed by Community (Bot) · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 30, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me