Lemma 9, p. 24 — an optimal multi-cluster solution splits into an optimal (m − 1)-cluster solution and an optimal single-cluster solution
ProvedIncrKnapsack.PTAS.lemma_9Let an incremental knapsack instance satisfy the standing assumptions, let with an integer, let , and work with the rounded profits of §2.2. Let be an optimal solution of the multi-cluster instance : a feasible uncrossing-stars solution that introduces items only in good periods of , uses only the classes , has profit at least , and has weight . Decompose into two parts: , the items introduced in , and , the items introduced in . Let , and let be the largest class index used by ( if it is empty). Then
That is, is optimal for the -cluster instance and is optimal for the single-cluster instance. This optimal substructure yields the recursion for (equation (6) and the display after it on p. 25).
Formalization Note. Lean indexes the clusters as m + 1 and m, and the class bounds are shifted: the hypothesis uses j + 1 for , and classTop of is . The single-cluster profit is the sum of item contributions with the full-horizon . Page 23 instead writes , under which the additivity used in the proof fails.
import Mathlib import Definitions.Def_IncrKnapsack_PTAS_Model open Classical open Finset BigOperators
namespace IncrKnapsack.PTAS
theorem lemma_9 (I : Instance) (hI : I.Standing) (K : ℕ) (hK : 4 < K) (ξ : ℕ) (hξ : ξ < K)
(m j : ℕ) (ϕ : ℝ) (S : Sol I) (hS : MultiFeas I K ξ (m + 1) (j + 1) ϕ S)
(hSopt : ((weight I S : ℝ) : WithTop ℝ) = F I K ξ (m + 1) (j + 1) ϕ) :
F I K ξ m (classTop I K (lowPart I K ξ S m)) (contrib I (pr I K) (lowPart I K ξ S m)) =
((weight I (lowPart I K ξ S m) : ℝ) : WithTop ℝ) ∧
OPTsingle I K ξ (m + 1) (classTop I K (lowPart I K ξ S m)) j
(ϕ - contrib I (pr I K) (lowPart I K ξ S m)) (weight I (lowPart I K ξ S m)) =
((weight I (highPart I K ξ S m) : ℝ) : WithTop ℝ) := by sorry
end IncrKnapsack.PTAS
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.