Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 14 — IGW minimizes the DEC

Disproved
FoundationsRL.Structured.igw_minimizes_dec

by mikedeng1 · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

bandit-algorithmsdecision-estimation-coefficientinverse-gap-weightingreinforcement-learningstructured-bandits

This theorem formalizes Proposition 14 (Foster & Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, arXiv:2312.16730v1, p. 67): in the Multi-Armed Bandit setting, where the decision space is Π=[A]\Pi = [A]Π=[A] and the function class is F=RAF = \mathbb{R}^AF=RA (all functions Π→R\Pi \to \mathbb{R}Π→R), the Inverse Gap Weighting distribution p=IGW4γ(f^)p = \mathrm{IGW}_{4\gamma}(\hat f)p=IGW4γ​(f^​) (Definition 4, Eq. (3.36), referenced here via FoundationsRL.Contextual.IsIGW) attains game value

A−14γ\frac{A-1}{4\gamma}4γA−1​

in the min-max game defining decγ(F,f^)\mathrm{dec}_\gamma(F, \hat f)decγ​(F,f^​), and this value is exactly the DEC's own value among the distributions for which the game is honestly finite.

The theorem states three things jointly. (1) The game value decGf itself is at most (A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ) — immediate since decGf is an infimum over all distributions q∈Δ(Π)q \in \Delta(\Pi)q∈Δ(Π), hence no larger than its value at the specific q=pq = pq=p given by (3). (2) For every full-support distribution qqq (every arm gets strictly positive weight), the game value at qqq is at least (A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ) — the regime in which the inner supremum over FFF is genuinely finite, and where the book's own argument (Eq. (4.20)) shows no such qqq can beat IGW. (3) IGW's own distribution ppp attains game value exactly (A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ), i.e. ppp genuinely certifies this value, not merely upper-bounds it.

Formalization Note A may be any natural number; the hypothesis hIGW : IsIGW A fhat (4*γ) bstar p forces bstar : Fin A to exist, which (since Fin A is empty at A = 0) forces A ≥ 1 implicitly, matching the book's implicit standing assumption of a nonempty finite arm set throughout the multi-armed bandit setting. The book's own displayed claim is the single equality decγ(F,f^)=(A−1)/(4γ)\mathrm{dec}_\gamma(F,\hat f) = (A-1)/(4\gamma)decγ​(F,f^​)=(A−1)/(4γ), taken over the whole simplex Δ(Π)\Delta(\Pi)Δ(Π); that literal reading is not provable in Lean's total real-number semantics, since a distribution qqq that puts zero weight on some arm makes the inner supremum over the unbounded class F=Set.univF=\mathrm{Set.univ}F=Set.univ genuinely infinite, and Lean's Real.sSup returns the junk value 000 — smaller than (A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ) — on that unbounded set, which would make the literal equality false for every A≥2A \ge 2A≥2. Conjuncts (1)-(3) instead state exactly the honest mathematical content the book uses: IGW is optimal among the distributions whose game value is not degenerate, and attains the stated value there precisely.


Retired. Retired because it used the printed IGW_{4γ} (a source misprint; the equalizer under Eq. (3.36) is IGW_{2γ}) and because its first conjunct held only through Lean's junk sSup = 0; replaced by FoundationsRL.Structured.igw_minimizes_dec_v2.

Preamble
import Mathlib
import Definitions.Def_FoundationsRL_Structured_DEC
import Definitions.Def_FoundationsRL_Contextual_IsIGW
Formal statement
namespace FoundationsRL.Structured

/-- Proposition 14 (IGW minimizes the DEC) (Foster & Rakhlin, *Foundations of Reinforcement
Learning and Interactive Decision Making*, arXiv:2312.16730v1, p. 67): for the Multi-Armed
Bandit setting, where `Π = Fin A` and `F = ℝ^A` (all of `Fin A → ℝ`), the Inverse Gap
Weighting distribution `p = IGW_{4γ}(f̂)` (`FoundationsRL.Contextual.IsIGW`, Definition 4/Eq.
(3.36)) attains game value `(A−1)/(4γ)` in the min-max game defining `decγ(F, f̂)` (third
conjunct), this value is therefore an upper bound on `decGf` itself (first conjunct: `decGf`
is an infimum over all `q ∈ Δ(Π)`, so it is `≤` the value at the specific `q = p`), and it is
also a lower bound on the game value of *every* full-support `q ∈ Δ(Π)` (second conjunct).
Together these certify that `p` is optimal among the distributions for which the inner
`sSup` over `F = Set.univ` is honestly finite.

**Formalization note.** The book's own displayed claim is the single equality
`decγ(F,f̂) = (A−1)/(4γ)`, taking the `min_p` over the *whole* simplex `Δ(Π)`. That reading is
not provable in Lean's total real-number semantics: for any `q` with `q(π₀) = 0` at some arm
`π₀`, the inner `sSup` over the *unbounded* class `F = Set.univ` is genuinely `+∞` (no term of
the payoff ever penalizes moving `f(π₀) → ∞`), and `Real.sSup` returns Lean's junk value `0`
on that non-`BddAbove` set — which is `< (A−1)/(4γ)` and would make the book's literal
equality false for every `A ≥ 2`. The mathematical content the book actually uses is that the
`min_p` correctly avoids such degenerate, infinite-value `q`, which is exactly what the second
conjunct states directly (restricted to full-support `q`, where the game value is honestly
finite and IGW's own value is a genuine lower bound), together with the first conjunct's
upper bound and the third conjunct's exact value at IGW's own `p`. -/
theorem igw_minimizes_dec {A : ℕ} (fhat : Fin A → ℝ) (γ : ℝ) (hγ : 0 < γ)
    (piStar : (Fin A → ℝ) → Fin A) (hpiStar : ∀ f : Fin A → ℝ, ∀ π : Fin A, f π ≤ f (piStar f))
    (bstar : Fin A) (p : Fin A → ℝ) (hIGW : Contextual.IsIGW A fhat (4 * γ) bstar p) :
    decGf (Set.univ : Set (Fin A → ℝ)) piStar γ fhat ≤ ((A : ℝ) - 1) / (4 * γ) ∧
    (∀ q : Fin A → ℝ, (∀ π, 0 < q π) → (∑ π, q π = 1) →
      ((A : ℝ) - 1) / (4 * γ) ≤ sSup ((fun f : Fin A → ℝ =>
          ∑ π, q π * (f (piStar f) - f π - γ * (f π - fhat π) ^ 2)) ''
        (Set.univ : Set (Fin A → ℝ)))) ∧
    sSup ((fun f : Fin A → ℝ =>
        ∑ π, p π * (f (piStar f) - f π - γ * (f π - fhat π) ^ 2)) ''
      (Set.univ : Set (Fin A → ℝ))) = ((A : ℝ) - 1) / (4 * γ) := by sorry

end FoundationsRL.Structured
Source
Foster & Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, arXiv:2312.16730v1, p. 67, Proposition 14
Read-back

What the Lean code literally says, in plain math · claude-opus-5

This statement concerns a finite arm set A={0,1,…,A−1}\mathcal{A} = \{0, 1, \dots, A-1\}A={0,1,…,A−1} (the Lean type Fin A\mathrm{Fin}\,AFinA) for an arbitrary natural number AAA, and real-valued reward functions on it, i.e. elements f∈RAf \in \mathbb{R}^{\mathcal{A}}f∈RA. The data are: a fixed reference function f^:A→R\hat f : \mathcal{A} \to \mathbb{R}f^​:A→R; a real number γ\gammaγ assumed to satisfy γ>0\gamma > 0γ>0; a function π⋆:RA→A\pi^\star : \mathbb{R}^{\mathcal{A}} \to \mathcal{A}π⋆:RA→A assumed to satisfy the hypothesis that for every f∈RAf \in \mathbb{R}^{\mathcal{A}}f∈RA and every arm π∈A\pi \in \mathcal{A}π∈A one has f(π)≤f(π⋆(f))f(\pi) \le f(\pi^\star(f))f(π)≤f(π⋆(f)) — that is, π⋆\pi^\starπ⋆ selects, for each fff, an arm at which fff is maximal (a global argmax selector, chosen as an explicit argument rather than constructed); an arm b⋆∈Ab^\star \in \mathcal{A}b⋆∈A; and a probability-weight vector p:A→Rp : \mathcal{A} \to \mathbb{R}p:A→R assumed to satisfy the predicate IsIGW(A,f^,4γ,b⋆,p)\mathrm{IsIGW}(A, \hat f, 4\gamma, b^\star, p)IsIGW(A,f^​,4γ,b⋆,p), an imported definition whose content is not visible in the code shown here and which is therefore not unfolded in this read-back — everything the statement assumes about ppp (and about b⋆b^\starb⋆) is exactly whatever that predicate says, applied with learning-rate parameter 4γ4\gamma4γ rather than γ\gammaγ.

Under these hypotheses the statement asserts a conjunction of two equalities.

The first conjunct is

decGf(U, π⋆, γ, f^)  =  A−14γ,\mathrm{decGf}\big(\mathcal{U},\, \pi^\star,\, \gamma,\, \hat f\big) \;=\; \frac{A - 1}{4\gamma},decGf(U,π⋆,γ,f^​)=4γA−1​,

where U=RA\mathcal{U} = \mathbb{R}^{\mathcal{A}}U=RA is the full set of all real-valued functions on A\mathcal{A}A (Lean's Set.univ, i.e. no restriction whatsoever on the model class), and decGf\mathrm{decGf}decGf is an imported definition, likewise not unfolded here; the numerator A−1A - 1A−1 is computed in R\mathbb{R}R after coercing the natural number AAA, so it is genuine real subtraction (it is −1-1−1 when A=0A = 0A=0), not truncated natural subtraction.

The second conjunct concerns the supremum of an explicit real-valued functional over the same unrestricted class. For each f∈RAf \in \mathbb{R}^{\mathcal{A}}f∈RA define

V(f)  =  ∑π∈Ap(π) (f(π⋆(f))−f(π)−γ (f(π)−f^(π))2),V(f) \;=\; \sum_{\pi \in \mathcal{A}} p(\pi)\,\Big( f\big(\pi^\star(f)\big) - f(\pi) - \gamma\,\big(f(\pi) - \hat f(\pi)\big)^2 \Big),V(f)=π∈A∑​p(π)(f(π⋆(f))−f(π)−γ(f(π)−f^​(π))2),

the ppp-weighted average of the regret of arm π\piπ under fff minus γ\gammaγ times the squared estimation error of f^\hat ff^​ at π\piπ under fff. The claim is

sup⁡{ V(f)  :  f∈RA }  =  A−14γ.\sup \Big\{\, V(f) \;:\; f \in \mathbb{R}^{\mathcal{A}} \,\Big\} \;=\; \frac{A - 1}{4\gamma}.sup{V(f):f∈RA}=4γA−1​.

The supremum is Lean's sup⁡\supsup on R\mathbb{R}R applied to the image set V[U]V[\mathcal{U}]V[U]; note that this is only an assertion about that one fixed ppp and involves no minimization over ppp — no infimum, no min–max, and no statement that ppp is optimal appears anywhere in the formal claim. The two conjuncts are asserted independently; the statement does not say that decGf\mathrm{decGf}decGf equals the supremum by definition, only that both numbers equal (A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ).

The quantifier structure deserves emphasis. The variables AAA, f^\hat ff^​, γ\gammaγ, π⋆\pi^\starπ⋆, b⋆b^\starb⋆ and ppp are all universally quantified over the stated hypotheses: the claim is made for every AAA, every f^\hat ff^​, every γ>0\gamma > 0γ>0, every global-argmax selector π⋆\pi^\starπ⋆, and every pair (b⋆,p)(b^\star, p)(b⋆,p) satisfying the IsIGW\mathrm{IsIGW}IsIGW predicate. Nothing requires ppp to be nonnegative or to sum to 111 beyond whatever IsIGW\mathrm{IsIGW}IsIGW imposes, and nothing relates b⋆b^\starb⋆ to π⋆\pi^\starπ⋆ or to f^\hat ff^​ beyond that predicate.

Finally, the degenerate cases the hypotheses permit. When A=0A = 0A=0 the type Fin 0\mathrm{Fin}\,0Fin0 is empty: the hypothesis on π⋆\pi^\starπ⋆ is vacuously true for every function π⋆\pi^\starπ⋆, but π⋆\pi^\starπ⋆ must still be supplied as a total function R∅→Fin 0\mathbb{R}^{\emptyset} \to \mathrm{Fin}\,0R∅→Fin0 into an empty type, and b⋆:Fin 0b^\star : \mathrm{Fin}\,0b⋆:Fin0 must likewise be supplied — so the theorem is inhabited at A=0A = 0A=0 only if such data exist, and whether they do is governed entirely by IsIGW\mathrm{IsIGW}IsIGW and by the ambient requirement to produce an element of an empty type, which cannot be done; the A=0A = 0A=0 instance is therefore unreachable (vacuous) unless one of those arguments can be constructed. When A=1A = 1A=1 the right-hand side is 0/(4γ)=00/(4\gamma) = 00/(4γ)=0, and the sum V(f)V(f)V(f) has the single term p(0)(f(π⋆(f))−f(0)−γ(f(0)−f^(0))2)p(0)\big(f(\pi^\star(f)) - f(0) - \gamma(f(0)-\hat f(0))^2\big)p(0)(f(π⋆(f))−f(0)−γ(f(0)−f^​(0))2), whose first difference vanishes because π⋆(f)\pi^\star(f)π⋆(f) must be the unique arm 000; so the second conjunct asserts sup⁡f(−γ p(0)(f(0)−f^(0))2)=0\sup_f \big(-\gamma\, p(0)(f(0)-\hat f(0))^2\big) = 0supf​(−γp(0)(f(0)−f^​(0))2)=0. The hypothesis γ>0\gamma > 0γ>0 rules out division by zero in (A−1)/(4γ)(A-1)/(4\gamma)(A−1)/(4γ), so no junk value arises there; had γ=0\gamma = 0γ=0 been allowed, Lean's total division would return 000. The supremum in the second conjunct is sup⁡\supsup on R\mathbb{R}R, which returns the junk value 000 when the image set V[RA]V[\mathbb{R}^{\mathcal{A}}]V[RA] is empty or is not bounded above — the image is empty only when RA\mathbb{R}^{\mathcal{A}}RA is empty, which never happens (it is a singleton when A=0A = 0A=0) — so if VVV is unbounded above over RA\mathbb{R}^{\mathcal{A}}RA, the conjunct reduces to the claim 0=(A−1)/(4γ)0 = (A-1)/(4\gamma)0=(A−1)/(4γ), which holds exactly when A=1A = 1A=1. Nothing in the hypotheses forces ppp to have any sign, so unboundedness of VVV is not excluded by the statement as written. Lastly, since AAA ranges over N\mathbb{N}N and the subtraction A−1A - 1A−1 is performed in R\mathbb{R}R, the asserted value is negative, namely −1/(4γ)-1/(4\gamma)−1/(4γ), in the A=0A = 0A=0 case.

Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

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, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me