Proposition 13 — E2D regret bound (goal)
ProvedFoundationsRL.Structured.e2d_regret_boundThis theorem formalizes Proposition 13 (Foster & Rakhlin, Foundations of
Reinforcement Learning and Interactive Decision Making, arXiv:2312.16730v1, p. 65,
attributed "Foster et al. [40]"), the capstone result of the chapter: the
Estimation-to-Decisions (E2D) algorithm's regret bound. Fix a finite decision space
, a function class containing the ground-truth reward function
(realizability, Assumption 5), and a maximizer selector piStar ( an arg max of
on for every ). Suppose that at each round an online regression
oracle produces an estimate , and E2D selects to (at
least) attain the value of the DEC game at — i.e. certifies
from above, as E2D's own minimizing choice does. If the
oracle's cumulative estimation error is bounded by (Definition 7), then
for every exploration parameter , with probability at least ,
Formalization Note The book's own proof (pp. 65-66) bounds regret by an
unconstrained , and only equates this with the official
(Eq. (4.16), a sup over ) via Proposition
24 — a fact stated on p. 80, outside this chunk's page range, whose own proof is deferred
to Exercise 10 and not otherwise given in the chapter. Rather than invoke that
unproven-in-range reduction, this formalization adds the explicit hypothesis
hfhat : ∀ t, fhat t ∈ convexHull ℝ F, matching how the book itself describes E2D's
oracle output ("online estimation algorithms such as exponential weights will produce
improper predictions with ", p. 65) — so the conclusion's
(already a sup over by definition) directly
dominates each round's without appeal to Proposition
24. The probability- qualifier is captured, as elsewhere in this series, via the
explicit OracleGuarantee hypothesis on the realized run.
Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.
import Mathlib import Definitions.Def_FoundationsRL_Structured_DEC import Definitions.Def_FoundationsRL_Structured_OracleGuarantee import Definitions.Def_FoundationsRL_Structured_regret
namespace FoundationsRL.Structured
/-- Proposition 13 (Foster & Rakhlin, *Foundations of Reinforcement Learning and Interactive
Decision Making*, arXiv:2312.16730v1, p. 65, attributed "Foster et al. [40]"): the
Estimation-to-Decisions (E2D) algorithm's regret bound. Given a finite decision space `Π`, a
function class `F` containing the ground-truth reward function `fstar` (Assumption 5), and a
maximizer selector `piStar` (`piStar f` is `π_f`, an arg max of `f` on `Π`, for every `f ∈ F`),
suppose at each round `t` the online regression oracle produces `fhat t` and E2D selects `p t`
to (at least) attain the value of the min-max game defining `decγ(F, f̂_t)` — i.e. `p t`
certifies `decγ(F, f̂_t)` from above, as the E2D algorithm's minimizing choice does. If the
oracle's cumulative estimation error is bounded by `EstSq` (`OracleGuarantee`), then the regret
of the realized run is at most `decγ(F) · T + γ · EstSq(F, T, δ)` (Eq. (4.17)).
The book's own proof (p. 65-66) bounds regret by `sup_{f̂ : Π → ℝ} decγ(F, f̂) · T + γ ·
EstSq`, an unconstrained sup, and only equates this with `decγ(F) · T` (`decγ(F)` officially
`sup_{f̂∈co(F)} decγ(F,f̂)` by Eq. (4.16)) via Proposition 24 — a fact stated on p. 80, outside
this chunk's page range, whose own proof is left to Exercise 10 and is not otherwise given in
the chapter. Rather than invoke that unproven-in-range reduction, this formalization adds the
hypothesis that each round's oracle estimate `f̂_t` already lies in `co(F)`, matching how the
book itself describes E2D's oracle ("online estimation algorithms such as exponential weights
will produce improper predictions with f̂ ∈ co(F)", p. 65) — so the conclusion's `decγ(F)` (Eq.
4.16, over `co(F)`) directly dominates each round's `decγ(F, f̂_t)` without appeal to Prop. 24. -/
theorem e2d_regret_bound {S : Type*} [Fintype S] (F : Set (S → ℝ))
(piStar : (S → ℝ) → S) (hpiStar : ∀ f ∈ F, ∀ π, f π ≤ f (piStar f))
(fstar : S → ℝ) (hfstar : fstar ∈ F)
(T : ℕ) (γ : ℝ) (hγ : 0 < γ)
(fhat : Fin T → S → ℝ) (hfhat : ∀ t, fhat t ∈ convexHull ℝ F)
(p : Fin T → S → ℝ)
(hp_nonneg : ∀ t π, 0 ≤ p t π) (hp_sum : ∀ t, ∑ π, p t π = 1)
(hp_min : ∀ t, ∀ f ∈ F,
∑ π, p t π * (f (piStar f) - f π - γ * (f π - fhat t π) ^ 2) ≤ decGf F piStar γ (fhat t))
(EstSq : ℝ) (hOracle : OracleGuarantee T fhat fstar p EstSq) :
regret fstar (piStar fstar) T p ≤ dec F piStar γ * T + γ * EstSq := by sorry
end FoundationsRL.Structured
Read-back
What the Lean code literally says, in plain math · claude-opus-5
This statement fixes a finite type (the decision space, written in the surrounding text; Fintype S supplies the finiteness, and is otherwise arbitrary — it may be empty or a singleton) and a set of real-valued functions on . A function is given, together with the hypothesis that for every and every we have — i.e. maximizes over all of , but only for arguments lying in ; on every other input is an arbitrary element of with no constraint. A distinguished is fixed. A horizon and a real with are fixed. A family is given with the hypothesis that — the convex hull of taken over inside the vector space — for every index . A family is given with two hypotheses making each a probability distribution on : for all , and for all (the sum is over the whole finite type ).
The remaining hypothesis on is a per-round minimax certificate. For every round index and every ,
where is the quantity named decGf in the imported definition bundle; its internal meaning is not visible in this statement, and nothing here forces it to be the value of any min-max game, a supremum, or even a nonnegative number — it is simply a real number attached to , , and the argument , and the hypothesis says the displayed -average is at most that number for each individually. Likewise OracleGuarantee is an imported predicate relating the horizon, the estimates , the truth , the played distributions and the real number ; its content is not exposed here, and in particular nothing in this statement requires .
Under all of the above, the conclusion is the single inequality
where and are the two further imported definitions: takes the true function , the single decision , the horizon and the whole family , and is a real number depending only on , and — not on , not on , not on . The multiplication coerces the natural number into . Note that the inequality is stated with these opaque imported quantities; the statement asserts no relation whatsoever between and the per-round — any such relation would have to come from the definitions themselves, which are not displayed here. The appearing in the regret target, in the minimax hypothesis, and inside both and is the same selector function throughout.
Several degenerate configurations are permitted and the statement still asserts something in each. If , the index type is empty, so the hypotheses hp_nonneg, hp_sum, hp_min, hfhat are vacuously true for any and any (both of which are then the unique empty family), , and the claim reduces to under whatever OracleGuarantee at horizon asserts — with unconstrained in sign, this is a real constraint, not a triviality. If is empty, then piStar cannot exist as a function into unless is also empty — but is a singleton (the empty function) when is empty, so piStar would have to produce an element of an empty type from that single input, making the hypothesis set unsatisfiable and the theorem vacuous for empty ; note also that hp_sum would then read , which is independently unsatisfiable. If is a singleton, every is forced to be the point mass of value , and the bracketed expression in hp_min collapses to at the unique , so that hypothesis demands pointwise. If is empty, hfstar is unsatisfiable and the theorem is vacuous; if is a singleton , its convex hull is , forcing for every , whereupon hp_min reads . Since the hypotheses may jointly be unsatisfiable for particular choices of , , , and — hp_min and OracleGuarantee are constraints of unknown strength, and hpiStar requires a genuine maximizer to exist for every member of — the theorem may hold vacuously on any such instance. Finally, the three imported definitions are total functions returning real numbers, so whatever default or junk values they take on inputs their intended definitions do not anticipate (for example, sums or suprema over empty index sets, or divisions by zero occurring internally) are the values the inequality is asserted about; no hypothesis here rules such values out.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.