Proof of Theorem 3, p. 17 — the greedy fill is fractional for at most one customer, and positive iff the demand ahead is below Q
ProvedStochKnapSL.CapacityGap.greedy_fill_structurefractional-knapsackgreedyp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-knapsack
Fix a priority order on customers , a capacity and non-negative demands . The greedy fractional fill gives customer the amount
Then:
- for at most one customer ;
- for every customer with , holds if and only if .
The second condition does not involve . The proof of Theorem 3 uses this to make the event "customer receives something" independent of .
Formalization Note. The statement is pointwise in the demand vector. The paper's demands are positive, and the hypothesis in part 2 is that positivity: with the fill is whatever the demand ahead.
Preamble
import Mathlib import Definitions.Def_StochKnapSL_CapacityGap_Model open MeasureTheory ProbabilityTheory
Formal statement
namespace StochKnapSL.CapacityGap
/-- Proof of Theorem 3, p. 17: the greedy fractional-knapsack solution is fractional
(neither `0` nor the full demand) for at most one customer, and a customer with positive demand
receives a positive amount iff the demand ahead of her is below the capacity. -/
theorem greedy_fill_structure {N : ℕ} (σ : Equiv.Perm (Fin N)) (Q : ℝ) (x : Fin N → ℝ)
(hx : ∀ j, 0 ≤ x j) (hQ : 0 ≤ Q) :
{i : Fin N | fill σ Q x i ≠ 0 ∧ fill σ Q x i ≠ x i}.Subsingleton ∧
∀ i, 0 < x i → (0 < fill σ Q x i ↔ ∑ j ∈ ahead σ i, x j < Q) := by sorry
end StochKnapSL.CapacityGap
Source
Lyu, Chou, Teo, Zheng & Zhong, Stochastic Knapsack Revisited: The Service Level Perspective, SSRN working paper 3674463 (version of 2021-05-29), p. 17, proof of Theorem 3 ('Note that the greedy solution …')
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.