Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 10, p. 27 — the glued solution S̄ respects every capacity: w(S̄_t) ≤ W_t

Proved
IncrKnapsack.PTAS.lemma_10

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

approximation-schemefeasibilityincremental-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, let ξ∈{0,…,K−1}\xi \in \{0,\dots,K-1\}ξ∈{0,…,K−1}, and work with the rounded profits of §2.2. Let Φ\PhiΦ be any finite set of grid values, and let A\mathcal AA be a single-cluster subroutine with the guarantee of Theorem 3. Take any traceback (m,ℓ~m,φ~m)m=0M(m, \tilde\ell_m, \tilde\varphi_m)_{m=0}^M(m,ℓ~m​,φ~​m​)m=0M​ of the approximate program F~\tilde FF~ from the state (M,L,φ~M)(M, L, \tilde\varphi_M)(M,L,φ~​M​), where φ~M\tilde\varphi_Mφ~​M​ is the largest grid value with F~(M,L,φ~M)<∞\tilde F(M, L, \tilde\varphi_M) < \inftyF~(M,L,φ~​M​)<∞. Let Sˉ\bar{\mathcal S}Sˉ be the solution obtained by gluing the single-cluster solutions S~m\tilde{\mathcal S}^mS~m generated along it. Then

w(Sˉt)≤Wtfor every t∈[T].w(\bar S_t) \le W_t \qquad\text{for every } t \in [T].w(Sˉt​)≤Wt​for every t∈[T].

So the algorithm's output is always a feasible solution of the incremental knapsack instance.

Formalization Note. The traceback may pick any minimizer at each step (the paper leaves the choice open); the statement holds for every such choice. Below a terminal state with ℓ~m=−1\tilde\ell_m = -1ℓ~m​=−1 the states are (m−1,−1,0)(m-1, -1, 0)(m−1,−1,0). The paper's label ℓ~0=−1\tilde\ell_0 = -1ℓ~0​=−1 is not imposed: at m=1m = 1m=1 every ℓ0\ell_0ℓ0​ gives F~(0,ℓ0,0)=0\tilde F(0, \ell_0, 0) = 0F~(0,ℓ0​,0)=0, and the proof needs only that the chosen predecessor attains the minimum.

Preamble
import Mathlib
import Definitions.Def_IncrKnapsack_PTAS_Model

open Classical
open Finset BigOperators
Formal statement
namespace IncrKnapsack.PTAS

theorem lemma_10 (I : Instance) (hI : I.Standing) (K : ℕ) (hK : 4 < K) (ξ : ℕ) (hξ : ξ < K)
    (Φ : Finset ℝ) (A : Subroutine I) (jt : ℕ → ℕ) (ϕt : ℕ → ℝ)
    (hA : IsSubroutine I K ξ A) (htr : IsTraceback I K ξ Φ A jt ϕt) :
    Feasible I (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. 27–28, §3.6, Lemma 10
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