Proposition 14 — IGW minimizes the DEC
DisprovedFoundationsRL.Structured.igw_minimizes_decThis 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 and the function
class is (all functions ), the Inverse Gap
Weighting distribution (Definition 4, Eq. (3.36),
referenced here via FoundationsRL.Contextual.IsIGW) attains game value
in the min-max game defining , 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
— immediate since decGf is an infimum over all distributions
, hence no larger than its value at the specific given by (3).
(2) For every full-support distribution (every arm gets strictly positive weight),
the game value at is at least — the regime in which the inner
supremum over is genuinely finite, and where the book's own argument (Eq. (4.20))
shows no such can beat IGW. (3) IGW's own distribution attains game value exactly
, i.e. 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 , taken over the whole
simplex ; that literal reading is not provable in Lean's total real-number
semantics, since a distribution that puts zero weight on some arm makes the inner
supremum over the unbounded class genuinely infinite, and Lean's
Real.sSup returns the junk value — smaller than — on that
unbounded set, which would make the literal equality false for every . 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.
import Mathlib import Definitions.Def_FoundationsRL_Structured_DEC import Definitions.Def_FoundationsRL_Contextual_IsIGW
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5
This statement concerns a finite arm set (the Lean type ) for an arbitrary natural number , and real-valued reward functions on it, i.e. elements . The data are: a fixed reference function ; a real number assumed to satisfy ; a function assumed to satisfy the hypothesis that for every and every arm one has — that is, selects, for each , an arm at which is maximal (a global argmax selector, chosen as an explicit argument rather than constructed); an arm ; and a probability-weight vector assumed to satisfy the predicate , 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 (and about ) is exactly whatever that predicate says, applied with learning-rate parameter rather than .
Under these hypotheses the statement asserts a conjunction of two equalities.
The first conjunct is
where is the full set of all real-valued functions on (Lean's Set.univ, i.e. no restriction whatsoever on the model class), and is an imported definition, likewise not unfolded here; the numerator is computed in after coercing the natural number , so it is genuine real subtraction (it is when ), not truncated natural subtraction.
The second conjunct concerns the supremum of an explicit real-valued functional over the same unrestricted class. For each define
the -weighted average of the regret of arm under minus times the squared estimation error of at under . The claim is
The supremum is Lean's on applied to the image set ; note that this is only an assertion about that one fixed and involves no minimization over — no infimum, no min–max, and no statement that is optimal appears anywhere in the formal claim. The two conjuncts are asserted independently; the statement does not say that equals the supremum by definition, only that both numbers equal .
The quantifier structure deserves emphasis. The variables , , , , and are all universally quantified over the stated hypotheses: the claim is made for every , every , every , every global-argmax selector , and every pair satisfying the predicate. Nothing requires to be nonnegative or to sum to beyond whatever imposes, and nothing relates to or to beyond that predicate.
Finally, the degenerate cases the hypotheses permit. When the type is empty: the hypothesis on is vacuously true for every function , but must still be supplied as a total function into an empty type, and must likewise be supplied — so the theorem is inhabited at only if such data exist, and whether they do is governed entirely by and by the ambient requirement to produce an element of an empty type, which cannot be done; the instance is therefore unreachable (vacuous) unless one of those arguments can be constructed. When the right-hand side is , and the sum has the single term , whose first difference vanishes because must be the unique arm ; so the second conjunct asserts . The hypothesis rules out division by zero in , so no junk value arises there; had been allowed, Lean's total division would return . The supremum in the second conjunct is on , which returns the junk value when the image set is empty or is not bounded above — the image is empty only when is empty, which never happens (it is a singleton when ) — so if is unbounded above over , the conjunct reduces to the claim , which holds exactly when . Nothing in the hypotheses forces to have any sign, so unboundedness of is not excluded by the statement as written. Lastly, since ranges over and the subtraction is performed in , the asserted value is negative, namely , in the case.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.