Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 11, p. 28 — for a good shift ξ the glued solution satisfies Ψ(S̄) ≥ (1 − 7ε)·Ψ(S*)

Proved
IncrKnapsack.PTAS.lemma_11

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

approximation-schemeincremental-knapsackp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let an incremental knapsack instance satisfy the standing assumptions, let ϵ=1/K\epsilon = 1/Kϵ=1/K with K>4K > 4K>4 an integer, and work with the rounded profits of §2.2. Let S∗\mathcal S^*S∗ be an optimal solution, and let ξ∈{0,…,K−1}\xi \in \{0,\dots,K-1\}ξ∈{0,…,K−1} be a shift with Ψ(Sξ)≥(1−ϵ)Ψ(S∗)\Psi(\mathcal S_\xi) \ge (1-\epsilon)\Psi(\mathcal S^*)Ψ(Sξ​)≥(1−ϵ)Ψ(S∗); such a shift exists by Lemma 7. Let Φ\PhiΦ be a profit grid, and let A\mathcal AA be a single-cluster subroutine with the guarantee of Theorem 3. Let Sˉ\bar{\mathcal S}Sˉ be the solution glued along any traceback of the approximate program F~\tilde FF~ from (M,L,φ~M)(M, L, \tilde\varphi_M)(M,L,φ~​M​). Then

Ψ(Sˉ)≥(1−7ϵ)⋅Ψ(S∗).\Psi(\bar{\mathcal S}) \ge (1-7\epsilon)\cdot\Psi(\mathcal S^*).Ψ(Sˉ)≥(1−7ϵ)⋅Ψ(S∗).

Together with Lemma 10 (feasibility), this is the approximation guarantee of the algorithm on the rounded instance, the core of Theorem 1.

Formalization Note. The last step of the paper's proof uses λTpmax⁡≤Ψ(S∗)\lambda_T p_{\max} \le \Psi(\mathcal S^*)λT​pmax​≤Ψ(S∗), "since an objective value of λTpmax⁡\lambda_T p_{\max}λT​pmax​ can trivially be attained". This needs the most profitable item to fit into WTW_TWT​, which is the added standing assumption fits. The grid hypothesis replaces the printed grid (7). With (7) the lemma is false: with ϵ=1/10\epsilon = 1/10ϵ=1/10, one period and 20 unit items, even an exact subroutine yields at most 3 items, while (1−7ϵ)Ψ(S∗)=6(1-7\epsilon)\Psi(\mathcal S^*) = 6(1−7ϵ)Ψ(S∗)=6.

Preamble
import Mathlib
import Definitions.Def_IncrKnapsack_PTAS_Model

open Classical
open Finset BigOperators
Formal statement
namespace IncrKnapsack.PTAS

theorem lemma_11 (I : Instance) (hI : I.Standing) (K : ℕ) (hK : 4 < K) (ξ : ℕ) (hξ : ξ < K)
    (Sstar : Sol I) (hopt : IsOptimal I (pr I K) Sstar)
    (hshift : (1 - eps K) * Psi I (pr I K) Sstar ≤ Psi I (pr I K) (restrictGood I K ξ Sstar))
    (Φ : Finset ℝ) (A : Subroutine I) (jt : ℕ → ℕ) (ϕt : ℕ → ℝ)
    (hΦ : IsProfitGrid I K ξ Φ) (hA : IsSubroutine I K ξ A) (htr : IsTraceback I K ξ Φ A jt ϕt) :
    (1 - 7 * eps K) * Psi I (pr I K) Sstar ≤ Psi I (pr I K) (algOut I K ξ Φ A jt ϕt) := by sorry
end IncrKnapsack.PTAS
Source
Aouad & Segev, An Approximate Dynamic Programming Approach to the Incremental Knapsack Problem, arXiv:2010.07633v1, pp. 28–29, §3.6, Lemma 11
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

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