Lemma 18 + divergence decomposition (28): for scheduling histories
OpenQueueBandit.EarlyLower.history_bretagnolle_huberFix a scheduling policy for the switch and two service-probability matrices . Assume that every entry where they differ satisfies . Let and be the laws of the history of the first slots: the matchings scheduled and the services observed on the scheduled links, generated by from the same i.i.d. uniform seeds under service rates and respectively. Then for every set of length- histories,
where is the Bernoulli divergence and is the number of the first slots in which queue is served by server .
This is the step of the proof of Lemma 19 that combines Lemma 18 (Bretagnolle–Huber, ) with the chain-rule identity (28),
The policy terms of the chain rule cancel because, on a fixed sample path, the policy schedules the same servers under both instances. The paper applies it to its event , which is a function of the history.
import Mathlib import Definitions.Def_QueueBandit_LateLower_Dynamics
namespace QueueBandit.EarlyLower
/-- Lemma 18 (Bretagnolle–Huber) applied to the laws of the first `t` slots of the scheduling
history under two service-rate matrices, combined with the divergence decomposition (28) of the
proof of Lemma 19 (arXiv:1604.06377v4, pp. 37–39). For every event `S` on histories,
`P_μ(S) + P_μ̂(Sᶜ) ≥ ½ exp(−Σ_{v,j} KL(μ_vj, μ̂_vj) E_μ[T_vj(t+1)])`. Entries where `μ̂` differs
from `μ` must lie in `(0, 1)`, so that the divergence is finite. -/
theorem history_bretagnolle_huber {U K : ℕ} (π : QueueBandit.LateLower.Policy U K)
(mu muh : Fin U → Fin K → ℝ)
(hmu : ∀ v j, 0 ≤ mu v j ∧ mu v j ≤ 1) (hmuh : ∀ v j, 0 ≤ muh v j ∧ muh v j ≤ 1)
(hdiff : ∀ v j, mu v j ≠ muh v j → 0 < muh v j ∧ muh v j < 1)
(t : ℕ) (S : Set (QueueBandit.LateLower.History U K t)) :
(1 / 2 : ℝ) * Real.exp (-(∑ v : Fin U, ∑ j : Fin K,
RegretBandits.Stochastic.klBern (mu v j) (muh v j) *
QueueBandit.LateLower.expCount π mu v j t)) ≤
(QueueBandit.LateLower.seedMeasure U K).real
{ω | QueueBandit.LateLower.hist π mu ω t ∈ S} +
(QueueBandit.LateLower.seedMeasure U K).real
{ω | QueueBandit.LateLower.hist π muh ω t ∉ S} := by sorry
end QueueBandit.EarlyLower