Lemma 11, p. 28 — for a good shift ξ the glued solution satisfies Ψ(S̄) ≥ (1 − 7ε)·Ψ(S*)
ProvedIncrKnapsack.PTAS.lemma_11Let an incremental knapsack instance satisfy the standing assumptions, let with an integer, and work with the rounded profits of §2.2. Let be an optimal solution, and let be a shift with ; such a shift exists by Lemma 7. Let be a profit grid, and let be a single-cluster subroutine with the guarantee of Theorem 3. Let be the solution glued along any traceback of the approximate program from . Then
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 , "since an objective value of can trivially be attained". This needs the most profitable item to fit into , which is the added standing assumption fits. The grid hypothesis replaces the printed grid (7). With (7) the lemma is false: with , one period and 20 unit items, even an exact subroutine yields at most 3 items, while .
import Mathlib import Definitions.Def_IncrKnapsack_PTAS_Model open Classical open Finset BigOperators
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
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.