Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1 (third display) — lim sup⁡k∥Jμk−J∗∥∞≤(2αHμ+εLA)/((1−α)(1−αH))\limsup_k\|J^{\mu_k}-J^*\|_\infty\le(2\alpha^H\mu+\varepsilon_{LA})/((1-\alpha)(1-\alpha^H))limsupk​∥Jμk​−J∗∥∞​≤(2αHμ+εLA​)/((1−α)(1−αH))

Proved
LookaheadAPI.LeastSquares.proposition_1_limsup

by mikedeng1 · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximate-policy-iterationlookaheadp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reinforcement-learning

Let (S,A,P,r,α)(\mathcal S,\mathcal A,P,r,\alpha)(S,A,P,r,α) be a finite discounted MDP with rewards in [0,1][0,1][0,1] and 0<α<10<\alpha<10<α<1, let H≥1H\ge1H≥1, and let (Jk,μk)k≥0(J_k,\mu_k)_{k\ge0}(Jk​,μk​)k≥0​ be a run of Algorithm 3 with lookahead accuracy εLA\varepsilon_{LA}εLA​ and evaluation-error bounds δk\delta_kδk​ satisfying (8): δk≤βkδ0+μ\delta_k\le\beta^k\delta_0+\muδk​≤βkδ0​+μ for all kkk, with 0<β<10<\beta<10<β<1 and μ>0\mu>0μ>0. Then

lim sup⁡k→∞∥Jμk−J∗∥∞≤2αHμ+εLA(1−α)(1−αH).\limsup_{k\to\infty}\|J^{\mu_k}-J^*\|_\infty\le\frac{2\alpha^H\mu+\varepsilon_{LA}}{(1-\alpha)(1-\alpha^H)}.k→∞limsup​∥Jμk​−J∗∥∞​≤(1−α)(1−αH)2αHμ+εLA​​.

The finite-time component of the error vanishes in the limit and only the floor set by the evaluation error μ\muμ and the lookahead error remains.

Formalization Note The sequence ∥Jμk−J∗∥∞\|J^{\mu_k}-J^*\|_\infty∥Jμk​−J∗∥∞​ is bounded, and the limsup bound is stated in its elementary form: for every ε>0\varepsilon>0ε>0, eventually ∥Jμk−J∗∥∞≤2αHμ+εLA(1−α)(1−αH)+ε\|J^{\mu_k}-J^*\|_\infty\le\frac{2\alpha^H\mu+\varepsilon_{LA}}{(1-\alpha)(1-\alpha^H)}+\varepsilon∥Jμk​−J∗∥∞​≤(1−α)(1−αH)2αHμ+εLA​​+ε.

Preamble
import Mathlib
import Definitions.Def_LookaheadAPI_LeastSquares_MDP
import Definitions.Def_LookaheadAPI_LeastSquares_LSOperator
import Definitions.Def_LookaheadAPI_LeastSquares_Algorithms
Formal statement
namespace LookaheadAPI.LeastSquares

/-- Proposition 1, third display (p. 13): under (8) with `0 < β < 1`, `0 < µ`,
`limsup_{k→∞} ‖J^{μ_k} − J^*‖_∞ ≤ (2α^H µ + ε_LA)/((1−α)(1−α^H))`, stated as: for every
`ε > 0`, eventually `‖J^{μ_k} − J^*‖_∞ ≤ (2α^H µ + ε_LA)/((1−α)(1−α^H)) + ε`. -/
theorem proposition_1_limsup {S A : Type*} [Fintype S] [DecidableEq S] [Nonempty S]
    [Fintype A] [DecidableEq A] [Nonempty A] (M : MDP S A) (H : ℕ) (hH : 1 ≤ H) (εLA : ℝ)
    (δ : ℕ → ℝ) (J : ℕ → S → ℝ) (μ : ℕ → S → A)
    (hrun : IsRunAlg3 M H εLA δ J μ)
    (β μc : ℝ) (hβ0 : 0 < β) (hβ1 : β < 1) (hμc : 0 < μc)
    (h8 : ∀ k : ℕ, δ k ≤ β ^ k * δ 0 + μc) :
    ∀ ε > 0, ∀ᶠ k in Filter.atTop,
      ‖valueOf M (μ k) - optValue M‖ ≤
        (2 * M.α ^ H * μc + εLA) / ((1 - M.α) * (1 - M.α ^ H)) + ε := by sorry

end LookaheadAPI.LeastSquares
Source
arXiv:2109.13419v7, p. 13, Proposition 1 (third display)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 14, 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