Theorem Z: the zeroing game (docs/PROOF.md §4.4) #
Dietz–Sleator 1987, Theorem 5, scaled and with decreases. Variables x₁, …, x_n ≥ 0 start at 0.
Each round, the player sets a maximal x_i to 0; then the adversary adds nonnegative amounts
summing to at most R, and may decrease any variables (keeping them nonnegative). Then always
x_i ≤ R · (H_{n−1} + 1).
The proof shows by induction over rounds that the sum of any k variables is at most
k·R·(H_{n−1} − H_{k−1} + 1).
One round: zero a maximal variable x i, then add amounts a ≥ 0 with ∑ a ≤ R, and
decrease arbitrarily (keeping every variable nonnegative).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bound on a sum of k variables.
Equations
- OrderMaintenance.Zeroing.bound R k = ↑k * R * (OrderMaintenance.Zeroing.Hn (n - 1) - OrderMaintenance.Zeroing.Hn (k - 1) + 1)
Instances For
The invariant: nonnegative, and every sum of k ≥ 1 variables is within bound R k.