Claim 3.2 (work form), p. 12 — on a block of steps with a continuously busy user, Algorithm 1 does work
ProvedCloudMWU.Bicriteria.claim_3_2_block_workLet , , , let be a run of Algorithm 1 on nonnegative loads, and let with . If and some user has a non-empty queue at every time , then the total work done by Algorithm 1 during the block is at least :
This is the per-block conclusion of Claim 3.2 (the inequality in its proof, Appendix B.2), stated for full blocks in which Claim 3.1 provides a busy user. The paper derives it from the count of low-utilization steps together with the observation that for active users. In the model (and in the formalization) an active user only has , so it may complete less than at time ; the statement nevertheless holds, because such a user empties its queue and is inactive at , so the shortfall is controlled by the allocation held by inactive users, which the quantitative form of Lemma 1 bounds over the block.
import Mathlib import Definitions.Def_CloudMWU_Bicriteria_Model
namespace CloudMWU.Bicriteria
open Finset
theorem claim_3_2_block_work (N : ℕ) (hN : 2 ≤ N) (ε η : ℝ) (hε : 0 < ε) (hε' : ε ≤ 1 / 10)
(hη : 0 < η) (hη' : η < 1 / 3) (β : Fin N → ℝ)
(L : ℕ → Fin N → ℝ) (hL : ∀ t i, 0 ≤ L t i)
(h : ℕ → Fin N → ℝ) (hrun : IsAlg1Run ε η β L h)
(r m : ℕ) (hm : sTilde N ε η ≤ (m : ℝ))
(i₀ : Fin N) (hbusy : ∀ τ ∈ Icc r (r + m), 0 < runQueue h L τ i₀) :
(1 - 4 * ε) * (m : ℝ)
≤ ∑ τ ∈ Ico r (r + m), ∑ i, work (fun s => h s i) (fun s => L s i) τ := by sorry
end CloudMWU.Bicriteria