Theorem 14.3 — general online fractional covering (goal)
ProvedOnlinePrimalDual.GeneralPacking.theorem14_3competitive-ratiolinear-programmingonline-algorithmsprimal-dual
For any B > 0, the phase-based scheme for the general online fractional covering problem (each constraint normalized to ≥ 1/B) is 8log(2n)/B-competitive against any feasible comparison covering solution.
Preamble
import Mathlib import Definitions.Def_OnlinePrimalDual_GeneralPacking_GeneralInstance
Formal statement
namespace OnlinePrimalDual.GeneralPacking
/-- **Theorem 14.3** (p. 253-255, PDF p. 164-166) — the goal of this mission: the phase-based
scheme for the general online fractional covering problem achieves competitive ratio
`8 log(2n)/B` for any `B > 0`, with each constraint satisfying `∑ᵢ a(i,j)xᵢ ≥ 1/B` (the
book's own normalization for this scheme, distinct from Theorem 14.1's `≥ 1`). `8 log(2n)/B` is
this mission's own instantiation of the theorem's stated `O(log n/B)`, taken directly from the
proof's own final displayed chain (p. 253-254: "the total cost ... is at most
`2α(r) ≤ 4α(r-1) ≤ (8 log 2n/B) Y(r-1) ≤ (8 log 2n/B) OPT`"), not derived independently. `x` is the
scheme's final primal (covering) solution and `y'` the comparison quantity `∑ⱼ y(j)` the proof's
own weak-duality step bounds against — folded here into a single hypothesis `hX_le_ratio`
standing for the book's own Claims (1) and (3) combined (`Y(r) ≥ Bα(r)/(2log 2n)`, the per-phase
dual lower bound, and the total-primal-cost recursion `2α(r) ≤ 4α(r-1)`, neither reproduced here —
see `STATUS.md`); `h_feasible` is Claim (4), the algorithm's own stated per-constraint guarantee.
The conclusion is competitiveness against any feasible offline covering solution satisfying the
same `1/B`-normalized constraints, mirroring `04-framework`'s and `13-bounded-allocation`'s goal
theorems. -/
theorem theorem14_3 {I J : Type*} [Fintype I] [Fintype J]
(inst : GeneralInstance I J) (B : ℝ) (hB : 0 < B)
(x : I → ℝ) (hx_nonneg : ∀ i, 0 ≤ x i) (y : J → ℝ) (hy_nonneg : ∀ j, 0 ≤ y j)
(hX_le_ratio : ∑ i, inst.c i * x i ≤
(8 * Real.log (2 * (Fintype.card I : ℝ)) / B) * ∑ j, y j)
(h_feasible : ∀ j, 1 / B ≤ ∑ i, inst.a i j * x i)
(hweak_duality : ∀ x'' : I → ℝ, (∀ i, 0 ≤ x'' i) → (∀ j, 1 / B ≤ ∑ i, inst.a i j * x'' i) →
∑ j, y j ≤ ∑ i, inst.c i * x'' i) :
∀ x'' : I → ℝ, (∀ i, 0 ≤ x'' i) → (∀ j, 1 / B ≤ ∑ i, inst.a i j * x'' i) →
∑ i, inst.c i * x i ≤ (8 * Real.log (2 * (Fintype.card I : ℝ)) / B) * ∑ i, inst.c i * x'' i
:= by sorry
end OnlinePrimalDual.GeneralPacking
Source
Buchbinder & Naor, The Design of Competitive Online Algorithms via a Primal-Dual Approach, FnT TCS 2009, p. 253-255, Theorem 14.3
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.