Lemma 6.3 —
ProvedMetricalTaskSystem.Deterministic.astar_f_sub_lecompetitive-analysismetrical-task-systemsonline-algorithmsp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be a task system with at least two states, , and let be the state sequence and the functions of the algorithm . Then for every ,
It is one of the three lemmas from which the competitive bound of (Theorem 6.1) is deduced.
Preamble
import Mathlib import Definitions.Def_MetricalTaskSystem_Deterministic_Model import Definitions.Def_MetricalTaskSystem_Deterministic_AstarD
Formal statement
namespace MetricalTaskSystem.Deterministic
/-- **Lemma 6.3** (Borodin–Linial–Saks 1992, p. 756). For the functions `f_k` of the algorithm
`A*_d`: `f_k(x) − f_k(y) ≤ d(y, x)` for all states `x, y` and all `k ≥ 0`. -/
theorem astar_f_sub_le {S : Type} [Fintype S] [DecidableEq S] [Nontrivial S]
(d : S → S → ℝ) (hd : IsTaskSystem d) (s₀ : S) (s : ℕ → S) (hs : IsAstarSeq d s₀ s)
(k : ℕ) (x y : S) :
fSeq d s k x - fSeq d s k y ≤ d y x := by sorry
end MetricalTaskSystem.Deterministic
Source
Borodin, Linial, Saks, An Optimal On-Line Algorithm for Metrical Task System, J. ACM 39(4) (1992), p. 756, Lemma 6.3
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a finite set with at least two elements, and let be a task system:
- ;
- for ;
- .
Let and let be a sequence of states.
The functions . Define and, for every ,
Hypothesis. The sequence starts at , and for every :
- ;
- for all .
Such sequences exist, since a minimizer over the finitely many always exists.
Conclusion. For every and all states ,
Degenerate cases.
- . The claim is .
- . The claim is .
- Excluded cases. One-element or empty is excluded.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.