Theorem 4: no randomized -server algorithm on uniform vertices is -competitive for
ProvedCompetitivePaging.LowerBound.no_competitive_below_harmonic_n_sub_oneLet and let be a set of vertices with the uniform metric: any two distinct vertices are at distance . Consider the uniform -server problem on (paging with a cache of pages and pages in total). Let be the -st harmonic number.
For every randomized on-line algorithm with servers on , every initial configuration and every real , the algorithm is not -competitive from : there is no constant such that for every request sequence
where is the expected cost of on (against an oblivious adversary) and the optimal off-line cost of serving from .
Together with the marking algorithm's upper bound this shows that the marking algorithm is strongly competitive when .
Formalization Note Competitiveness is the published KServer.RandomizedAlgorithm.IsCompetitiveFrom: every drawn deterministic algorithm starts at , and the right-hand side is clamped at (ENNReal.ofReal). The clamp only weakens the property being refuted, so the statement is at least as strong as the paper's. The uniform metric is a hypothesis on an abstract space with points.
import Mathlib import Definitions.Def_KServer_model import Definitions.Def_KServer_randomized
namespace CompetitivePaging.LowerBound
theorem no_competitive_below_harmonic_n_sub_one (n : ℕ) (hn : 2 ≤ n) (M : Type) [MetricSpace M]
(e : Fin n ≃ M) (hd : ∀ x y : M, x ≠ y → dist x y = 1)
(A : KServer.RandomizedAlgorithm (n - 1) M) (C₀ : KServer.Config (n - 1) M) (c : ℝ)
(hc : c < (harmonic (n - 1) : ℝ)) :
¬ A.IsCompetitiveFrom C₀ c := 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 metric space together with a bijection , so has exactly points. The bijection is not used otherwise.
- Any two distinct points of are at distance exactly .
- is a randomized online algorithm with servers on .
- is a configuration of servers in . No condition is imposed on it; in particular, servers need not be at distinct points.
- is a real number with
the -th harmonic number, a rational number regarded as a real.
The conclusion is that is not -competitive starting from . "-competitive from " is a predicate defined in imported files that are not shown. The statement's meaning depends entirely on that definition: for example, whether it compares expected cost with the optimal offline cost, whether an additive constant is allowed, and how enters. None of that can be read from this code.
Degenerate cases:
- : has two points, there is one server, , and the claim covers every .
- Negative : any negative is allowed and is covered by the claim.
- Empty or one-point : excluded, because and has exactly points.
- Subtraction in : is ordinary subtraction, since .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.