Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 5 (Jaksch-Ortner-Auer 2010): minimax regret lower bound Ω(DSAT)\Omega(\sqrt{DSAT})Ω(DSAT​), universal constant

Open
BanditAlgorithm.mdp_regret_lower_bound_jao_universal_constant

by Grace · Aug 5, 2026 · Mathlib c5ea003 (Lean v4.30.0)

markov-decision-processesreinforcement-learning

For any learning algorithm and any S,A≥10S, A \ge 10S,A≥10, D≥20log⁡ASD \ge 20\log_A SD≥20logA​S and T≥DSAT \ge DSAT≥DSA, there is an MDP with SSS states, AAA actions and diameter at most DDD on which, from every initial state, the expected regret after TTT steps is at least CDSATC\sqrt{DSAT}CDSAT​ for a universal constant C>0C > 0C>0.

This is Theorem 5 of Jaksch, Ortner and Auer (2010), the matching lower bound for their O~(DSAT)\tilde{O}(D S \sqrt{AT})O~(DSAT​) UCRL2 upper bound, stated with the hypotheses of the original paper. Those hypotheses are not cosmetic: the construction places k=⌊S/2⌋k = \lfloor S/2 \rfloork=⌊S/2⌋ copies of a two-state gadget with A′=⌊(A−1)/2⌋A' = \lfloor (A-1)/2 \rfloorA′=⌊(A−1)/2⌋ actions each, connected by A′+1A'+1A′+1 further actions per state inducing an A′A'A′-ary tree on the reward-000 states, so it simply does not exist unless AAA is large enough to supply 2A′+12A'+12A′+1 actions, and the final constant needs kA′≥20kA' \ge 20kA′≥20.

Proof sketch (JAO Section 6). The hard instance is a two-state gadget: a state s∘s_\circs∘​ with reward 000 and a state sps_psp​ with reward 111, with A′A'A′ actions, where p(sp∣s∘,a)=δ:=4/Dp(s_p \mid s_\circ, a) = \delta := 4/Dp(sp​∣s∘​,a)=δ:=4/D for every action except a single good action a∗a^*a∗ for which it is δ+ε\delta + \varepsilonδ+ε, and p(s∘∣sp,a)=δp(s_\circ \mid s_p, a) = \deltap(s∘​∣sp​,a)=δ throughout. Its diameter is D′=1/δ=D/4D' = 1/\delta = D/4D′=1/δ=D/4. One takes kkk copies, exactly one of which carries a good action, and joins them into a single MDP of diameter at most 2(D/4+⌈log⁡A′k⌉)≤D2(D/4 + \lceil \log_{A'} k \rceil) \le D2(D/4+⌈logA′​k⌉)≤D.

The analysis then identifies all s∘s_\circs∘​-states, collapsing the composite MDP to a two-state MDP M′M'M′ with kA′kA'kA′ actions. Learning M′M'M′ is easier (the learner may switch between copies for free) and its optimal average reward (δ+ε)/(2δ+ε)(\delta+\varepsilon)/(2\delta+\varepsilon)(δ+ε)/(2δ+ε) is unchanged, so a lower bound for M′M'M′ transfers. On M′M'M′ the argument is the multi-armed bandit lower bound of Auer et al. (2002b): equations (34)-(37) bound Ea[R(M′)]\mathbb{E}_a[R(M')]Ea​[R(M′)] by T/2+Ea[N∘∗]εD′+D′/2T/2 + \mathbb{E}_a[N_\circ^*]\varepsilon D' + D'/2T/2+Ea​[N∘∗​]εD′+D′/2, Lemma 13 (a Pinsker-type bound on state sequences) controls Ea[N∘∗]\mathbb{E}_a[N_\circ^*]Ea​[N∘∗​], and the choice ε:=15kA′D′/T\varepsilon := \tfrac15\sqrt{kA'D'/T}ε:=51​kA′D′/T​ makes the average over a uniformly random planted pair exceed a constant multiple of D′kA′T\sqrt{D'kA'T}D′kA′T​.

Note that the tree never enters the analysis, which is why this proof avoids the difficulty in the Lattimore-Szepesvari exposition (Theorem 38.7), where a tree "of minimum depth" leaves the leaves at two different depths and Claim 38.11 fails for large TTT.

On the constant. The paper displays Theorem 5 with the explicit constant 0.0150.0150.015 on DSAT\sqrt{DSAT}DSAT​, but its own proof in Section 6 does not deliver that. The final line of Section 6 (p. 1586) reads

E∗ ⁣[Δ(M′,A,s,T)]>0.015D′kA′T,\mathbb{E}^*\!\left[\Delta(M', \mathfrak{A}, s, T)\right] > 0.015\sqrt{D'kA'T},E∗[Δ(M′,A,s,T)]>0.015D′kA′T​,

in terms of the gadget parameters D′=D/4D' = D/4D′=D/4, k=⌊S/2⌋k = \lfloor S/2 \rfloork=⌊S/2⌋ and A′=⌊(A−1)/2⌋A' = \lfloor (A-1)/2 \rfloorA′=⌊(A−1)/2⌋, and the substitution D′kA′→DSAD'kA' \to DSAD′kA′→DSA is never justified. It is in fact false: the composite MDP must fit in SSS states and AAA actions, which forces 2k≤S2k \le S2k≤S and 2A′+1≤A2A' + 1 \le A2A′+1≤A, hence

D′kA′  =  D4 k A′  ≤  DSA16,D'kA' \;=\; \tfrac{D}{4}\,k\,A' \;\le\; \tfrac{DSA}{16},D′kA′=4D​kA′≤16DSA​,

so 0.015D′kA′T≤0.0039DSAT0.015\sqrt{D'kA'T} \le 0.0039\sqrt{DSAT}0.015D′kA′T​≤0.0039DSAT​ under any rounding convention. Minimising 14⋅⌊S/2⌋S⋅⌊(A−1)/2⌋A\tfrac14\cdot\tfrac{\lfloor S/2\rfloor}{S}\cdot\tfrac{\lfloor (A-1)/2\rfloor}{A}41​⋅S⌊S/2⌋​⋅A⌊(A−1)/2⌋​ over S,A≥10S, A \ge 10S,A≥10 gives 1/221/221/22 at (S,A)=(11,10)(S,A) = (11,10)(S,A)=(11,10), so the largest constant the argument can yield on DSAT\sqrt{DSAT}DSAT​ is 0.015/22=0.003200.015/\sqrt{22} = 0.003200.015/22​=0.00320.

The remaining arithmetic of Section 6 is correct: recomputing the bracket in the penultimate display at kA′=20kA' = 20kA′=20 (the minimum permitted by S,A≥10S, A \ge 10S,A≥10) gives 0.016660>0.0150.016660 > 0.0150.016660>0.015, exactly as claimed. The error is the single unstated substitution at the end.

A second, smaller loss is that Section 6 proves the bound for the initial state s∘s_\circs∘​, while Theorem 5 asserts it for every initial state; transferring costs a further additive O(D′)O(D')O(D′), of which the proof has already spent one copy (D′/2D'/2D′/2) of its bracket. For these reasons this node states a universal but unspecified constant C>0C > 0C>0 — the form in which the result is universally cited, and the form used by Lattimore and Szepesvari (Bandit Algorithms, Theorem 38.7). A witness C=0.0008C = 0.0008C=0.0008 is comfortably supported by Section 6.

Preamble
import Mathlib.Data.Real.Sqrt
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Definitions.Def_FiniteMDPLearning

open MeasureTheory ProbabilityTheory
Formal statement
theorem BanditAlgorithm.mdp_regret_lower_bound_jao_universal_constant :
    ∃ C : ℝ, 0 < C ∧
      ∀ S A T : ℕ, ∀ D : ℝ, 10 ≤ S → 10 ≤ A →
        20 * (Real.log S / Real.log A) ≤ D → D * S * A ≤ (T : ℝ) →
          ∀ π : MDPPolicy S A,
            ∃ M : FiniteMDP S A,
              mdpDiameterENN M ≤ ENNReal.ofReal D ∧
              ∀ s : Fin S,
                C * Real.sqrt (D * S * A * T) ≤
                  ∫ h, mdpRegret M T h ∂(mdpMeasure M (mdpStateDirac s) π T) := by
  sorry
Source
Jaksch, Ortner & Auer, "Near-optimal Regret Bounds for Reinforcement Learning", JMLR 11 (2010) 1563-1600, Theorem 5 (p. 1567) and its proof in Section 6 (pp. 1582-1586).

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