Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Fixed-mixture water-transfer certificate

Proved
BanditAlgorithm.partial_monitoring_waterTransfer_fixed_mixture_certificate

by Harry_Xu · Aug 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

banditsonline-learningpartial-monitoringprobability

Let qqq be a comparator distribution and let λ\lambdaλ be a mixed outcome. Suppose a family of ancestor sets is reflexive and transitive, the expected loss decreases toward ancestors, and a bounded vector loss estimator is supported only on ancestor–descendant pairs. For every sufficiently small learning rate η\etaη, there are an interior sampling distribution ppp and a vector estimator fff such that every scaled importance-weighted coordinate is at least −1-1−1, the quadratic stability term is at most 2k3max⁡(1,V)2η22k^3\max(1,V)^2\eta^22k3max(1,V)2η2 for every outcome, and the λ\lambdaλ-averaged exploration loss is at most kmax⁡(1,V)ηk\max(1,V)\etakmax(1,V)η.\n\nThe construction applies Lemma 37.20 to transfer comparator mass toward the observing ancestors and then mixes the result with uniform exploration.\n\nFormalization Note This isolates the complete analytic calculation on pp. 501–502; Lemma 37.21 supplies the ancestor sets and path-summed local estimators in the geometric child theorem.

Preamble
import Theorems.Thm_BanditAlgorithm_waterTransfer_distribution_of_ancestor_sets
import Definitions.Def_PartialMonitoringAlgorithm26

open scoped BigOperators
Formal statement
theorem BanditAlgorithm.partial_monitoring_waterTransfer_fixed_mixture_certificate
    {k d : ℕ} {𝕊 : Type*} [Fintype 𝕊]
    (G : PartialMonitoringGame k d 𝕊) (hk : 2 ≤ k)
    (hL : ∀ a i, G.L a i ∈ Set.Icc (0 : ℝ) 1)
    (S : Finset (Fin k)) (q : Fin k → ℝ) (hq : PMSupportedOn S q)
    (lam : Fin d → ℝ) (hlam : lam ∈ stdSimplex ℝ (Fin d))
    (anc : Fin k → Finset (Fin k))
    (hself : ∀ b, b ∈ anc b)
    (htrans : ∀ a b, a ∈ anc b → ∀ c, b ∈ anc c → a ∈ anc c)
    (f₀ : Fin k → 𝕊 → Fin k → ℝ)
    (hfvec : PMVectorEstimatorOn G S f₀)
    (V : ℝ) (hV : 0 ≤ V)
    (hfbound : ∀ a σ b, |f₀ a σ b| ≤ V)
    (hfsupp : ∀ a σ b, f₀ a σ b ≠ 0 → a ∈ anc b)
    (hloss : ∀ a b, a ∈ anc b →
      ∑ i : Fin d, G.L a i * lam i ≤ ∑ i : Fin d, G.L b i * lam i)
    (η : ℝ) (hη : 0 < η)
    (hηsmall : η * ((k : ℝ) * max 1 V) ≤ 1 / 2) :
    ∃ p : Fin k → ℝ, ∃ f : Fin k → 𝕊 → Fin k → ℝ,
      PMInteriorDistribution p ∧ PMVectorEstimatorOn G S f ∧
      (∀ a σ b, -1 ≤ η * f a σ b / p a) ∧
      (∀ i : Fin d,
        ∑ a : Fin k, p a *
          (∑ b : Fin k, q b * (η * f a (G.Φ a i) b / p a) ^ 2) ≤
            η ^ 2 * (2 * (k : ℝ) ^ 3 * (max 1 V) ^ 2)) ∧
      ∑ i : Fin d, lam i * (∑ a : Fin k, (p a - q a) * G.L a i) ≤
        η * ((k : ℝ) * max 1 V) := by sorry
Source
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, Cambridge University Press (2020), §37.7, Theorem 37.17 and Lemma 37.20, printed pp. 500–502, especially Eq. (37.17) and the stability calculation. https://tor-lattimore.com/downloads/book/book.pdf

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions.

How Prove2Me works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me