Lemma 3.3 — an augmentation step never increases the potential, so the algorithm never fails
ProvedOnlineSetCover.Weighted.lemma_3_3online-algorithmsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1potential-functionset-cover
Let and consider the potential
of the weighted online set-cover algorithm (Section 3), where , , and is the set of elements covered by .
- For any weights , any cover and any set with and , the per-set substep of a weight augmentation for (multiply by ; if , add when this does not increase ; FAIL if has increased) does not fail, and the resulting weights and cover satisfy
- In particular, if every set costs at most , then on every arrival sequence the algorithm never reaches FAIL.
The hypothesis is the paper's footnote 1 (p. 367): the algorithm has discarded every set costing more than . The proof needs it in step (5): the inequality holds only for , with .
This lemma is what keeps below for the whole run, the invariant behind both parts of Theorem 3.4.
Formalization Note Part 1 is stated for arbitrary weights with rather than only for weights the algorithm reaches; the algorithm's weights are always positive. Part 2 assumes only for every set, which is how the proof uses .
Preamble
import Mathlib import Definitions.Def_OnlinePrimalDual_OnlineSetCover_SetCoverInstance import Definitions.Def_OnlinePrimalDual_OnlineSetCover_potential import Definitions.Def_OnlineSetCover_Weighted_Run open OnlinePrimalDual.OnlineSetCover
Formal statement
namespace OnlineSetCover.Weighted
/-- **Lemma 3.3** (Alon, Awerbuch, Azar, Buchbinder, Naor 2009, p. 366). (1) For any weights `w`
with `w S ≥ 0`, any cover `C`, and any set `S` with `c_S ≤ α` (footnote 1, p. 367), the per-set
substep (a)–(c) for `S` does not fail, and the potential after it is at most the potential
before. (2) In particular, if every set costs at most `α`, the algorithm never reaches `FAIL`. -/
theorem lemma_3_3 {X T : Type*} [Fintype X] [Fintype T] [DecidableEq T]
(inst : SetCoverInstance X T) (α : ℝ) (hα : 0 < α) :
(∀ (w : T → ℝ) (C : Finset T) (S : T), 0 ≤ w S → inst.c S ≤ α →
∃ (w' : T → ℝ) (C' : Finset T), processSet inst α w C S = some (w', C') ∧
potential inst w' C' α ≤ potential inst w C α) ∧
((∀ S, inst.c S ≤ α) → ∀ σ : List X, ¬ Reachable inst α σ (.fail : Config X T)) := by sorry
end OnlineSetCover.Weighted
Source
Alon, Awerbuch, Azar, Buchbinder, Naor, The Online Set Cover Problem, SIAM J. Comput. 39(2) (2009), p. 366, Lemma 3.3 (proof pp. 366–367, eqs. (1)–(6), footnote 1)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.