The potential-function criterion for the unlabelled WFA (universe-polymorphic)
ProvedKServer.wfaU_potential_criterion_univLet denote the unlabelled work function of a -server instance on a finite metric space , and let be the unlabelled Work Function Algorithm, which serves each request from configuration by moving to a configuration containing that minimizes . Suppose a potential satisfies, for a constant :
Offset property. For every sequence and configuration ,
Update property. For every , request , and configuration ,
Then is -competitive.
Role
This is the potential-function criterion of Bein, Chrobak and Larmore ('The 3-server problem in the plane', Lemma 3), adapted to the unlabelled work function: it reduces competitiveness of the work function algorithm to two purely analytic properties of a potential, and is the final step of the Coester--Koutsoupias -competitiveness proof on trees, where is built from their anchored potential.
Formalization note
This is the universe-polymorphic form of the previously proved wfaU_potential_criterion: the metric space M is Type* rather than Type, so the criterion can be applied to statements quantified over metric spaces in arbitrary universes. The statement is otherwise identical.
import Mathlib import Definitions.Def_KServer_workfunction import Definitions.Def_KServer_workfunctionU import Definitions.Def_KServer_wfaU
namespace KServer
theorem wfaU_potential_criterion_univ (k : ℕ) (hk : 0 < k) (M : Type*) [MetricSpace M]
[Fintype M] (C₀ : Config k M) (C : ℝ) (hC : 0 ≤ C) (Φ : List M → ℝ)
(hOP : ∀ (τ : List M) (X : Config k M), 0 ≤ Φ τ + (C + 1) * workFnU C₀ τ X)
(hUP : ∀ (τ : List M) (s : M) (X : Config k M),
workFnU C₀ (τ ++ [s]) X ≤ workFnU C₀ τ X + (Φ τ - Φ (τ ++ [s]))) :
IsCompetitive (WFAU hk C₀) C := by sorry
end KServer