With servers on distinct vertices,
ProvedCompetitivePaging.LowerBound.uncoveredProb_sum_eq_oneLet be a finite set of vertices with a metric, and let be a randomized on-line algorithm with servers on , given by a probability space of coin outcomes and a deterministic on-line algorithm for each outcome. Fix a request sequence and suppose that, for every outcome , the servers of occupy pairwise distinct vertices after serving , and that for each vertex the event " is not covered after " is measurable. Let be the probability of that event. Then
Exactly one vertex is uncovered in every outcome, so the uncovered probabilities form a probability distribution on the vertices; the adversary's argument in the lower bound is carried out on this distribution.
Formalization Note The platform's configuration model allows two servers on the same vertex; the paper's identity holds when the servers are on distinct vertices (the setting of the paper, where an algorithm never needs to stack servers), so injectivity of each drawn configuration after is a hypothesis. Measurability of the uncovered events is the standing convention that is a probability.
import Mathlib import Definitions.Def_KServer_model import Definitions.Def_KServer_randomized import Definitions.Def_CompetitivePaging_LowerBound_uncoveredProb
namespace CompetitivePaging.LowerBound
theorem uncoveredProb_sum_eq_one (n : ℕ) (hn : 2 ≤ n) (M : Type) [MetricSpace M] [Fintype M]
(hM : Fintype.card M = n) (A : KServer.RandomizedAlgorithm (n - 1) M) (σ : List M)
(hinj : ∀ ω, Function.Injective ((A.alg ω).conf σ))
(hmeas : ∀ i : M, @MeasurableSet A.ι A.ms {ω | i ∉ Set.range ((A.alg ω).conf σ)}) :
∑ i, uncoveredProb A σ i = 1 := by sorry
end CompetitivePaging.LowerBound
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The setting is:
- is a natural number with .
- is a finite metric space with exactly points.
- is a randomized online algorithm with servers on . Since , is ordinary subtraction and is at least .
- is any finite list of requests from .
Take the random outcomes , the measure and the configurations from the imported definitions. Two hypotheses are assumed:
- Injectivity: for every outcome , the configuration is injective, so no two servers share a point after .
- Measurability: for every , the set is measurable.
The conclusion is
where is the real number obtained from the extended value .
- Unstated conditions: the statement adds no hypothesis on beyond what the imported structure provides. It places no condition on the metric: distances between points are unrestricted.
- Degenerate cases: the smallest case, , has a two-point space and one server. may be empty. Injectivity must hold for every outcome, not just almost surely. If is empty, the hypotheses hold vacuously and every is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.