§2.2, p. 8 — rounding profits down to powers of 1 + ε loses at most an ε-fraction of Ψ
ProvedIncrKnapsack.PTAS.profit_roundingLet an incremental knapsack instance satisfy the standing assumptions, and let with an integer. Scale all profits by , where , and round each scaled profit down to the nearest integer power of . Call the result . Then for every solution :
Here and are the objectives under the original and the rounded profits. The first inequality says that restoring the original profits can only increase the profit of a solution. The second says that the rounding loses at most an -fraction of it. Together they transfer an approximation guarantee for the rounded instance back to the original one, at the cost of a factor .
Formalization Note. The page states the loss for the optimal solution ; the statement here holds for every solution. The rounded profits keep the scaling by , which is why appears on both sides.
import Mathlib import Definitions.Def_IncrKnapsack_PTAS_Model open Classical open Finset BigOperators
namespace IncrKnapsack.PTAS
theorem profit_rounding (I : Instance) (hI : I.Standing) (K : ℕ) (hK : 4 < K)
(S : Sol I) :
pmin I * Psi I (pr I K) S ≤ Psi I I.p S ∧
(1 - eps K) * Psi I I.p S ≤ pmin I * Psi I (pr I K) S := by sorry
end IncrKnapsack.PTAS
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.