Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7, p. 21 — averaged over the shift ξ, dropping bad-interval introductions keeps a (1 − ε) fraction of Ψ

Proved
IncrKnapsack.PTAS.lemma_7

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

approximation-schemeincremental-knapsackp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1random-shift

Let an incremental knapsack instance satisfy the standing assumptions, and let ϵ=1/K\epsilon = 1/Kϵ=1/K with K>4K > 4K>4 an integer. The time periods are partitioned into the intervals I1,I2,…I_1, I_2, \dotsI1​,I2​,… of §3.2, where ImI_mIm​ collects the periods with λt+∈((ϵ/n)mλ1+,(ϵ/n)m−1λ1+]\lambda^{t+} \in ((\epsilon/n)^m\lambda^{1+}, (\epsilon/n)^{m-1}\lambda^{1+}]λt+∈((ϵ/n)mλ1+,(ϵ/n)m−1λ1+]. For a shift ξ∈{0,…,K−1}\xi \in \{0, \dots, K-1\}ξ∈{0,…,K−1}, call ImI_mIm​ bad when m mod K=ξm \bmod K = \ximmodK=ξ. Given a solution S\mathcal SS and any profit vector, let Sξ\mathcal S_\xiSξ​ be obtained from S\mathcal SS by deleting every item introduced in a period of a bad interval. Then, with ξ\xiξ uniform on {0,…,K−1}\{0, \dots, K-1\}{0,…,K−1},

Eξ[Ψ(Sξ)]=1K∑ξ=0K−1Ψ(Sξ)=(1−ϵ)⋅Ψ(S).\mathbb E_\xi\big[\Psi(\mathcal S_\xi)\big] = \frac1K\sum_{\xi=0}^{K-1}\Psi(\mathcal S_\xi) = (1-\epsilon)\cdot\Psi(\mathcal S).Eξ​[Ψ(Sξ​)]=K1​ξ=0∑K−1​Ψ(Sξ​)=(1−ϵ)⋅Ψ(S).

Consequently some shift ξ\xiξ satisfies Ψ(Sξ)≥(1−ϵ)Ψ(S)\Psi(\mathcal S_\xi) \ge (1-\epsilon)\Psi(\mathcal S)Ψ(Sξ​)≥(1−ϵ)Ψ(S). Section 3.3 fixes such a shift for an optimal S=S∗\mathcal S = \mathcal S^*S=S∗.

Formalization Note. The paper states the lemma for an optimal solution S∗\mathcal S^*S∗; its proof never uses optimality, and the statement here holds for every solution and every profit vector. The expectation is written as the average over the KKK shifts.

Preamble
import Mathlib
import Definitions.Def_IncrKnapsack_PTAS_Model

open Classical
open Finset BigOperators
Formal statement
namespace IncrKnapsack.PTAS

theorem lemma_7 (I : Instance) (hI : I.Standing) (K : ℕ) (hK : 4 < K)
    (p : Fin I.n → ℝ) (S : Sol I) :
    (1 / (K : ℝ)) * ∑ ξ ∈ range K, Psi I p (restrictGood I K ξ S) = (1 - eps K) * Psi I p S := by sorry
end IncrKnapsack.PTAS
Source
Aouad & Segev, An Approximate Dynamic Programming Approach to the Incremental Knapsack Problem, arXiv:2010.07633v1, pp. 20–21, §3.2, Lemma 7
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