Theorem 2.2 — the cruel taskmaster forces
ProvedMetricalTaskSystem.Deterministic.cruel_taskmaster_lower_boundLet be a metrical task system with states, let be any on-line algorithm, an initial state and . Let be the infinite task sequence produced by the cruel taskmaster in response to (each task costs in the state currently occupies and elsewhere). Then
Together with Lemma 2.1, letting gives for every on-line algorithm, i.e. the lower bound in Theorem 1.1.
Formalization Note The hypothesis (Nontrivial S) is needed for to be defined; at the paper's minimum ranges over the empty set.
import Mathlib import Definitions.Def_MetricalTaskSystem_Deterministic_Model import Definitions.Def_MetricalTaskSystem_Deterministic_CruelTaskmaster
namespace MetricalTaskSystem.Deterministic
/-- **Theorem 2.2** (Borodin–Linial–Saks 1992, p. 749). Let `A` be any on-line algorithm for a
metrical task system `(S, d)` with `n ≥ 2` states, and let `T(ε)` be the infinite task sequence
produced by the cruel taskmaster `M(ε)` in response to `A`. Then
`w_{T(ε)}(A) ≥ (2n − 1) / (1 + ε / min_{i ≠ j} d(i, j))`. -/
theorem cruel_taskmaster_lower_bound {S : Type} [Fintype S] [DecidableEq S] [Nontrivial S]
(d : S → S → ℝ) (hd : IsMetrical d) (A : OnlineAlgorithm S) (s₀ : S)
(ε : ℝ) (hε : 0 < ε) :
((((2 * (Fintype.card S : ℝ) - 1) / (1 + ε / minOffDiag d)) : ℝ) : EReal) ≤
ratioLimsup d A s₀ (cruelSeq A s₀ ε) := by sorry
end MetricalTaskSystem.Deterministic
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a finite set with elements. Let be metrical:
- ;
- for ;
- ;
- .
Let be an arbitrary on-line algorithm (any function mapping to a state). Fix and a real .
Cruel sequence. Define states recursively:
- ;
- .
Here if and otherwise. The cruel sequence is : each task costs exactly at the algorithm's current state.
Costs. For prefixes of this sequence:
- ;
- is the minimum of over all with ;
- is evaluated on 's schedule , .
Conclusion. Let . The theorem asserts, in the extended reals,
The quotients are real quotients with , and the right side may be . The theorem does not assume that .
Degenerate cases.
- Left side. Since and , the denominator exceeds , so the left side is an ordinary positive real. For it equals .
- Zero denominators. The prefix gives , read as ; one term does not affect the limsup. For , the first task already forces : staying at costs , and moving costs at least .
- Excluded cases. One-element or empty is excluded by the hypotheses.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.