Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(12) — weak duality λytd≥ytAx−ytb≥CG(y)\lambda y^td\ge y^tAx-y^tb\ge C_{\mathcal G}(y)λytd≥ytAx−ytb≥CG​(y) and λ∗≥CG(y)/ytd\lambda^*\ge C_{\mathcal G}(y)/y^tdλ∗≥CG​(y)/ytd

Proved
PlotkinShmoysTardos.weak_duality_12

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

approximation-algorithmsfractional-packing-coveringlagrangean-relaxationlinear-programming

Let AAA be a real m×nm\times nm×n matrix, b,d∈Rmb,d\in\mathbb R^mb,d∈Rm and P⊆RnP\subseteq\mathbb R^nP⊆Rn. Let (x,λ)(x,\lambda)(x,λ) be a feasible solution of

min⁡(λ:Ax≤b+λd and x∈P),(11)\min(\lambda : Ax\le b+\lambda d \text{ and } x\in P), \tag{11}min(λ:Ax≤b+λd and x∈P),(11)

let y≥0y\ge0y≥0 be a dual solution, and let x′∈Px'\in Px′∈P attain CG(y)=min⁡(ytAz−ytb:z∈P)C_{\mathcal G}(y)=\min(y^tAz-y^tb : z\in P)CG​(y)=min(ytAz−ytb:z∈P). Then

λ ytd ≥ ytAx−ytb ≥ CG(y).(12)\lambda\,y^td\ \ge\ y^tAx-y^tb\ \ge\ C_{\mathcal G}(y). \tag{12}λytd ≥ ytAx−ytb ≥ CG​(y).(12)

Moreover, if ytd>0y^td>0ytd>0 then λ≥CG(y)/ytd\lambda\ge C_{\mathcal G}(y)/y^tdλ≥CG​(y)/ytd; since this holds for every feasible (x,λ)(x,\lambda)(x,λ), the optimal value λ∗\lambda^*λ∗ of (11) satisfies λ∗≥CG(y)/ytd\lambda^*\ge C_{\mathcal G}(y)/y^tdλ∗≥CG​(y)/ytd.

This weak-duality bound is the basis of the infeasibility certificate of Lemma 4.1.

Differences from the source:

  • encoding: C_G(y) = min(yᵗAx' − yᵗb : x' ∈ P) → the value yᵗ(Ax' − b) at a given x' ∈ P that minimizes yᵗ(Az − b) over z ∈ P; reason: avoids an infimum with junk value 0 on unbounded sets; it is the paper's value whenever the minimum is attained, which the paper presupposes
  • encoding: λ* ≥ C_G(y)/yᵗd, with λ* the optimal value of (11) → λ ≥ C_G(y)/yᵗd for every feasible (x, λ) of (11), when yᵗd > 0; reason: λ* is the infimum of the feasible λ, so the two are equivalent; yᵗd > 0 only excludes the division by zero the paper does not consider
Preamble
import Mathlib
Formal statement
namespace PlotkinShmoysTardos

/-- **The chain (12) and its consequence.** Plotkin–Shmoys–Tardos, TR 999 (1992), §4, (12),
p. 24: "`λ yᵗd ≥ yᵗA x − yᵗb ≥ C_G(y)`. (12) It follows that for any dual solution `y`,
`λ* ≥ C_G(y)/yᵗd`."
Let `x ∈ P` and `λ` with `A x ≤ b + λ d` (a feasible solution of (11)), let `y ≥ 0`, and let
`x' ∈ P` attain `C_G(y) = min(yᵗ(A z − b) : z ∈ P)`. Then
1. `yᵗ(A x − b) ≤ λ yᵗd`;
2. `C_G(y) = yᵗ(A x' − b) ≤ yᵗ(A x − b)`;
3. if `yᵗd > 0`, then `C_G(y)/yᵗd ≤ λ`; as `(x, λ)` ranges over all feasible solutions of (11),
   this is `λ* ≥ C_G(y)/yᵗd`. -/
theorem weak_duality_12 {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ) (b d : Fin m → ℝ)
    (P : Set (Fin n → ℝ)) (x : Fin n → ℝ) (hx : x ∈ P) (l : ℝ)
    (hfeas : ∀ i, A.mulVec x i ≤ b i + l * d i) (y : Fin m → ℝ) (hy : 0 ≤ y)
    (x' : Fin n → ℝ) (hx' : x' ∈ P)
    (hmin : ∀ z ∈ P, y ⬝ᵥ (A.mulVec x' - b) ≤ y ⬝ᵥ (A.mulVec z - b)) :
    y ⬝ᵥ (A.mulVec x - b) ≤ l * (y ⬝ᵥ d) ∧
      y ⬝ᵥ (A.mulVec x' - b) ≤ y ⬝ᵥ (A.mulVec x - b) ∧
      (0 < y ⬝ᵥ d → y ⬝ᵥ (A.mulVec x' - b) / (y ⬝ᵥ d) ≤ l) := by sorry

end PlotkinShmoysTardos
Source
Plotkin, Shmoys, Tardos, Fast Approximation Algorithms for Fractional Packing and Covering Problems, Cornell ORIE Technical Report No. 999 (Feb. 1992), §4, (12), p. 24

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