Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — the duals of PD(λ₁) never overshoot neutrality: 2 Σ_{T ⊆ S} y_T ≤ |S|

Proved
BudgetedPCTSP.Rooted.lemma1

by mikedeng1 · Oct 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

primal-dualprize-collecting

Fix an instance (G,c,D,r)(G, c, D, r)(G,c,D,r) and λ1≥0\lambda_1 \ge 0λ1​≥0, and let yyy be the dual vector at the end of any complete run of the primal-dual subroutine PD(λ1\lambda_1λ1​), under any order of breaking ties. Then for every S⊆VS \subseteq VS⊆V,

2∑T:T⊆SyT≤∣S∣,2 \sum_{T : T \subseteq S} y_T \le |S| ,2T:T⊆S∑​yT​≤∣S∣,

the sum running over all subsets of SSS, including SSS itself.

Lemma 1 bounds the dual mass inside any vertex set by half its size. In the proof of Theorem 1 it is applied to the part of the minimal set OOO that the optimal tour does not visit.

Preamble
import Mathlib
import Definitions.Def_BudgetedPCTSP_Rooted_Instance
import Definitions.Def_BudgetedPCTSP_Rooted_PDStep
Formal statement
namespace BudgetedPCTSP.Rooted

/-- Lemma 1 of Paul, Freund, Ferber, Shmoys & Williamson (Math. Oper. Res. 2020), p. 7: let `y`
be the dual vector at the end of any run of PD(λ₁), `λ₁ ≥ 0`, under any order of breaking ties.
For any `S ⊆ V`, `2 ∑_{T ⊆ S} y_T ≤ |S|`. -/
theorem lemma1 {V : Type} [Fintype V] [DecidableEq V] (I : Instance V) (lam : ℝ)
    (hlam : 0 ≤ lam) (s : PDState V) (hs : IsCompleteRun I lam s) (S : Finset V) :
    2 * ∑ T ∈ S.powerset, s.y T ≤ (S.card : ℝ) := by sorry

end BudgetedPCTSP.Rooted
Source
Paul, Freund, Ferber, Shmoys & Williamson, Budgeted Prize-Collecting Traveling Salesman and Minimum Spanning Tree Problems, Math. Oper. Res. 2020 (DOI 10.1287/moor.2019.1002), author manuscript p. 7, Lemma 1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Let VVV be a finite type with decidable equality. Let III be an instance on VVV, which consists of:

  • a simple graph GGG on VVV;
  • a function ccc that gives a real number to every unordered pair, with c(e)≥0c(e) \ge 0c(e)≥0 for edges eee of GGG;
  • a budget D≥0D \ge 0D≥0 and a root r∈Vr \in Vr∈V.

DDD and rrr are not used. Let λ\lambdaλ be a real number with λ≥0\lambda \ge 0λ≥0.

States. A state consists of five data, with no relation imposed among them:

  • finite families C\mathcal CC and A\mathcal AA of subsets of VVV;
  • a function yyy giving a real number ySy_SyS​ to every S⊆VS \subseteq VS⊆V;
  • a finite set TTT of unordered pairs;
  • a finite family S\mathcal SS of subsets of VVV.

The initial state has C=A=S={{i}:i∈V}\mathcal C = \mathcal A = \mathcal S = \{\{i\}: i\in V\}C=A=S={{i}:i∈V}, y≡0y \equiv 0y≡0 and T=∅T = \emptysetT=∅.

Quantities of a state.

  • The load on a pair eee is
Ly(e)=∑S⊆V: e has exactly one endpoint in SyS.L_y(e) = \sum_{S \subseteq V:\ e \text{ has exactly one endpoint in } S} y_S .Ly​(e)=S⊆V: e has exactly one endpoint in S∑​yS​.
  • The neutral time of SSS is
12∣S∣−∑T⊆SyT.\tfrac12|S| - \sum_{T\subseteq S} y_T .21​∣S∣−T⊆S∑​yT​.
  • (S1,S2,u,v)(S_1,S_2,u,v)(S1​,S2​,u,v) is a candidate when:
    • uuu and vvv are adjacent in GGG;
    • S1,S2∈CS_1, S_2 \in \mathcal CS1​,S2​∈C;
    • u∈S1u \in S_1u∈S1​ and v∈S2v \in S_2v∈S2​;
    • S1≠S2S_1 \ne S_2S1​=S2​;
    • at least one of S1,S2S_1, S_2S1​,S2​ is in A\mathcal AA.
  • The edge time of a candidate is
λc({u,v})−Ly({u,v})k,\frac{\lambda c(\{u,v\}) - L_y(\{u,v\})}{k},kλc({u,v})−Ly​({u,v})​,

where k∈{1,2}k \in \{1,2\}k∈{1,2} is the number of S1,S2S_1, S_2S1​,S2​ in A\mathcal AA.

A step. Let Δ\DeltaΔ be a real number that is at most all neutral times of sets in A\mathcal AA and at most all candidates' edge times. No sign is required of Δ\DeltaΔ. The step is either:

  • neutral: some S∈AS \in \mathcal AS∈A has neutral time Δ\DeltaΔ. Then SSS leaves A\mathcal AA, and ySy_SyS​ is raised by Δ\DeltaΔ for every S∈AS \in \mathcal AS∈A.
  • edge: some candidate has edge time Δ\DeltaΔ. Then:
    • yyy is raised by Δ\DeltaΔ on A\mathcal AA;
    • S1S_1S1​ and S2S_2S2​ are replaced by S1∪S2S_1 \cup S_2S1​∪S2​ in C\mathcal CC and A\mathcal AA;
    • {u,v}\{u,v\}{u,v} joins TTT;
    • S1∪S2S_1 \cup S_2S1​∪S2​ joins S\mathcal SS.

Hypothesis. sss is a complete run: it is obtained from the initial state by finitely many steps, and its A\mathcal AA is empty.

Conclusion. Let yyy be the dual function of sss. For every subset S⊆VS \subseteq VS⊆V,

2∑T⊆SyT≤∣S∣.2 \sum_{T \subseteq S} y_T \le |S| .2T⊆S∑​yT​≤∣S∣.

The sum runs over all subsets TTT of SSS, including T=∅T = \emptysetT=∅ and T=ST = ST=S.

Degenerate cases.

  • An instance needs a root, so V≠∅V \neq \emptysetV=∅.
  • For S=∅S = \emptysetS=∅ the claim is 2y∅≤02y_\emptyset \le 02y∅​≤0.
  • For ∣V∣=1|V| = 1∣V∣=1, the only complete run (one neutral step with Δ=12\Delta = \tfrac12Δ=21​) has y{a}=12y_{\{a\}} = \tfrac12y{a}​=21​ and y∅=0y_\emptyset = 0y∅​=0. The claim for S={a}S = \{a\}S={a} then reads 1≤11 \le 11≤1.
  • If no complete run exists for some III and λ\lambdaλ, the statement is vacuous for them.
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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