Claim 1 — a (1 − ε)-competitive solution of the constructed instance accepts close to B/z vectors w_i: Σ_i |r_i − B/z| ⩽ 7εB
ProvedDynamicOnlineLP.LowerBound.claim1Consider the constructed instance of the lower-bound construction with pairs, items, capacity for every item (so ), and for each pair : inputs , inputs , inputs and inputs , where and are arbitrary. Let and let be a -competitive solution: a feasible solution of the offline linear program ( for every item , ) whose objective satisfies . Let over the inputs of pair with demand vector . Then
In words, a near-optimal solution must accept almost exactly of the -inputs of every pair, whatever the realized numbers of profit-3 inputs are. This is the combinatorial half of the lower bound (Theorem 2): an online algorithm must commit to accepting or rejecting the profit-2 inputs of pair before it can tell whether exceeds , and Claim 1 says each wrong commitment costs profit.
Formalization Note counts accepted -inputs fractionally (), as in the linear program (1). The claim is stated for every (for there is no such solution unless ) and for any number of profit-2 inputs; the paper's instance has and its proof never uses the value of . is a natural number, as the page's " inputs" requires.
import Mathlib import Definitions.Def_DynamicOnlineLP_LowerBound_OnlineLP import Definitions.Def_DynamicOnlineLP_LowerBound_HardInstance
namespace DynamicOnlineLP.LowerBound
/-- Agrawal–Wang–Ye 2014, Claim 1 (p. 886). In the constructed instance (`m = 2^z` items, `B = z k`
units of each, `B/z = k`, any number `s` of profit-2 inputs per pair, any `q_i ≤ 2k`), let `x` be a
feasible solution of the offline problem (1) that is `1 - ε` competitive, i.e. its objective is at
least `(1 - ε) OPT`, and let `r_i` be the amount of `w_i`-inputs it accepts. Then
`∑_i |r_i - B/z| ≤ 7 ε B`. -/
theorem claim1 (z k s : ℕ) (hz : 1 ≤ z) (q : Fin z → ℕ) (hq : ∀ i, q i ≤ 2 * k) (ε : ℝ)
(x : HardCol z k s q → ℝ) (hx : IsFeasible (hardDemand z k s q) (hardCapacity z k) x)
(hcomp : (1 - ε) * OPT (hardProfit z k s q) (hardDemand z k s q) (hardCapacity z k) ≤
objective (hardProfit z k s q) x) :
∑ i : Fin z, |acceptedW x i - (k : ℝ)| ≤ 7 * ε * ((z : ℝ) * (k : ℝ)) := by sorry
end DynamicOnlineLP.LowerBound
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypotheses. The statement holds for all of the following:
- natural numbers with ;
- every with for all ;
- every real number , with no sign or size restriction;
- every real vector indexed by the columns of the instance below.
The instance. It has items , each with capacity . Its columns come in pairs , and each pair has:
- columns of profit with demand , where is bit of ;
- columns of profit , columns of profit , and columns of profit , all with demand .
Conditions on . Two conditions are assumed.
- is feasible: for every column , and for every item .
- satisfies
where is the real supremum of over all feasible . Since is feasible here, this supremum is an attained maximum.
Conclusion. Let be the sum of over the profit-3, profit-2 and profit-1 columns of pair . Then
Degenerate cases.
- : the second condition holds automatically, because and every feasible objective is (profits are positive and ). The claim then applies to every feasible .
- : the condition says attains , and the conclusion forces for every .
- with : the condition would require an objective larger than , so there is no such and the statement is vacuous.
- : every and the right-hand side is , so the conclusion requires every .
- : any value is allowed, including .
- : excluded.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.