Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Water-transfer certificate with compactness bounds

Proved
BanditAlgorithm.partial_monitoring_waterTransfer_fixed_mixture_compact_certificate

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

banditsonline-learningpartial-monitoring

Let a finite partial-monitoring game have losses in [0,1][0,1][0,1], let qqq be a comparator distribution supported on SSS, and fix an outcome mixture λ\lambdaλ. Suppose f0f_0f0​ is a vector loss estimator bounded by VVV, supported along a transitive ancestor relation, and every ancestor has no larger λ\lambdaλ-expected loss than its descendant. For a learning rate η>0\eta>0η>0 satisfying ηkmax⁡{1,V}≤1/2\eta k\max\{1,V\}\le 1/2ηkmax{1,V}≤1/2, there exist an interior action distribution ppp and a vector estimator fff such that

pa≥ηmax⁡{1,V},∣f(a,σ,b)∣≤V,p_a\ge \eta\max\{1,V\},\qquad |f(a,\sigma,b)|\le V,pa​≥ηmax{1,V},∣f(a,σ,b)∣≤V,

the importance-weighted estimates satisfy −1≤ηf(a,σ,b)/pa-1\le \eta f(a,\sigma,b)/p_a−1≤ηf(a,σ,b)/pa​, their outcome-wise quadratic cost is at most 2η2k3max⁡{1,V}22\eta^2 k^3\max\{1,V\}^22η2k3max{1,V}2, and the λ\lambdaλ-weighted exploration loss is at most ηkmax⁡{1,V}\eta k\max\{1,V\}ηkmax{1,V}.

This is the bounded form of the fixed-mixture water-transfer certificate; the explicit lower and upper coordinate bounds make the family of certificates compact for the subsequent minimax argument.

Formalization Note The statement retains bounds already supplied by the uniform-exploration mixture in the water-transfer construction.

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_compact_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, η * max 1 V ≤ p a) ∧
      (∀ a σ b, |f a σ b| ≤ V) ∧
      (∀ 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
Lattimore and Szepesvári, Bandit Algorithms (2020), Chapter 37, Theorem 37.17 and Lemmas 37.20–37.21, printed pp. 500–502, especially Eq. (37.16). 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