§2, p. 13 — in the mates game an adaptive off-line adversary forces every algorithm to pay while paying
ProvedOnlineRandomization.Tightness.offline_forces_ratioLet be an integer and . In the mates game with parameters , for every randomized on-line algorithm there is an adaptive off-line adversary such that
The adversary makes an arbitrary first request, reads the algorithm's answer , requests the mate of and stops: the algorithm pays , and the off-line optimum of the two requests is . Hence every on-line algorithm has competitive ratio at least against adaptive off-line adversaries in this game; this is the second bullet of the tightness claim.
Formalization Note. "Every algorithm" is every randomized on-line algorithm whose coin space is a type in Type (deterministic algorithms are the case of a one-point coin space). The adversary's cost is the off-line optimum of the request sequence, as on p. 8; the hypothesis makes that optimum . The game uses the disclosed pin , .
import Mathlib import Definitions.Def_OnlineRandomization_Tightness_Model import Definitions.Def_OnlineRandomization_Tightness_MatesGame
namespace OnlineRandomization.Tightness
open MeasureTheory
/-- Manuscript p. 13: in the mates game with `1 ≤ m ≤ M`, against every randomized on-line
algorithm `K` there is an adaptive off-line adversary `Q` (it sets `r₂` to the mate of `a₁`)
whose expected cost is `1` while the algorithm's expected cost is `M`. -/
theorem offline_forces_ratio (t : ℕ) [NeZero t] (m M : ℝ) (hm : 1 ≤ m) (hmM : m ≤ M)
(Ω : Type) [MeasurableSpace Ω] (K : RandAlg (Fin t × Bool) (Fin t × Bool) Ω) :
∃ Q : OfflineAdv (Fin t × Bool) (Fin t × Bool),
∫ ω, algCostOffline (matesGame t m M) (K.alg ω) Q ∂K.μ = M ∧
∫ ω, advCostOffline (matesGame t m M) (K.alg ω) Q ∂K.μ = 1 := by sorry
end OnlineRandomization.Tightness
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.