§2, p. 12 — the uniform algorithm is -competitive against any oblivious adversary in the mates game
ProvedOnlineRandomization.Tightness.oblivious_competitiveLet be an integer and let . In the mates game with parameters , let be the randomized algorithm that draws its first answer uniformly from the answers, and put
Then is -competitive against any oblivious adversary: for every request sequence ,
where is the off-line optimum.
For , whatever is, pays with probability , with probability and with probability , so its expected cost is , while the optimum is . This is the first half of the first bullet of the tightness claim.
Formalization Note. Competitiveness is with the ratio function (no additive constant). The hypotheses are what the page's "the oblivious adversary's cost is at least 1" needs. The game uses the disclosed pin , ; the case then needs , which follows from . The page prints the probability of cost as ; the expected cost it then computes uses , which is the correct value.
import Mathlib import Definitions.Def_OnlineRandomization_Tightness_Model import Definitions.Def_OnlineRandomization_Tightness_MatesGame
namespace OnlineRandomization.Tightness
/-- Manuscript p. 12: if `m, M ≥ 1` and `β = ((2t − 2)m + M + 1)/(2t)`, the uniform algorithm
`G` is `β`-competitive (ratio `x ↦ β·x`) against any oblivious adversary in the mates game. -/
theorem oblivious_competitive (t : ℕ) [NeZero t] (m M β : ℝ) (hm : 1 ≤ m) (hM : 1 ≤ M)
(hβ : β = ((2 * (t : ℝ) - 2) * m + M + 1) / (2 * (t : ℝ))) :
IsCompetitiveObl (matesGame t m M) (fun x => β * x) (unifAlg t) := by sorry
end OnlineRandomization.Tightness
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.