Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.3, p. 21 — removing items with Ψ_i(Ŝ) ≤ (ε/n)·Ψ(Ŝ) keeps a feasible good-period solution with Ψ(S̃) ≥ (1 − ε)·Ψ(Ŝ)

Proved
IncrKnapsack.PTAS.filtering

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

approximation-schemefilteringincremental-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 let ξ∈{0,…,K−1}\xi \in \{0, \dots, K-1\}ξ∈{0,…,K−1}. Work with the rounded profits of §2.2. Let S^\hat{\mathcal S}S^ be a feasible solution that introduces items only in periods of good intervals. Let S~\tilde{\mathcal S}S~ be obtained from S^\hat{\mathcal S}S^ by eliminating every item i∈S^Ti \in \hat S_Ti∈S^T​ with

Ψi(S^)≤ϵn⋅Ψ(S^).\Psi_i(\hat{\mathcal S}) \le \frac{\epsilon}{n}\cdot\Psi(\hat{\mathcal S}).Ψi​(S^)≤nϵ​⋅Ψ(S^).

Then S~\tilde{\mathcal S}S~ is feasible, introduces items only in good periods, and

Ψ(S~)≥(1−ϵ)⋅Ψ(S^).\Psi(\tilde{\mathcal S}) \ge (1-\epsilon)\cdot\Psi(\hat{\mathcal S}).Ψ(S~)≥(1−ϵ)⋅Ψ(S^).

This filtering step is what makes the graph G(S~)G(\tilde{\mathcal S})G(S~) a collection of uncrossing stars (Lemma 8) while losing only an ϵ\epsilonϵ-fraction of the profit.

Formalization Note. The paper applies the filter to a maximum-profit good-period solution S^\hat{\mathcal S}S^; the statement here holds for every feasible good-period solution, since the claim does not use maximality.

Preamble
import Mathlib
import Definitions.Def_IncrKnapsack_PTAS_Model

open Classical
open Finset BigOperators
Formal statement
namespace IncrKnapsack.PTAS

theorem filtering (I : Instance) (hI : I.Standing) (K : ℕ) (hK : 4 < K) (ξ : ℕ) (hξ : ξ < K)
    (Shat : Sol I) (hfeas : Feasible I Shat)
    (hgood : ∀ i t, Shat i = some t → IsGood I K ξ t) :
    Feasible I (filt I K (pr I K) Shat) ∧
      (∀ i t, filt I K (pr I K) Shat i = some t → IsGood I K ξ t) ∧
      (1 - eps K) * Psi I (pr I K) Shat ≤ Psi I (pr I K) (filt I K (pr I K) Shat) := by sorry
end IncrKnapsack.PTAS
Source
Aouad & Segev, An Approximate Dynamic Programming Approach to the Incremental Knapsack Problem, arXiv:2010.07633v1, p. 21, §3.3, 'Post-filtering graph properties'
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