Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 10, p. 21 — the gradient error ζ_t is bounded by 2G² and 6G-Lipschitz on Θ_R

Proved
FiniteTD.Markov.lemma_10

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

finite-time-analysisp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1temporal-difference

In the setting of Theorem 3 (PPP stochastic with stationary π\piπ, ∣R(s,s′)∣≤rmax⁡|R(s,s')|\le r_{\max}∣R(s,s′)∣≤rmax​, 0≤γ<10\le\gamma<10≤γ<1, ∥ϕ(s)∥2≤1\|\phi(s)\|_2\le1∥ϕ(s)∥2​≤1, gˉ(θ∗)=0\bar g(\theta^*)=0gˉ​(θ∗)=0, ∥θ∗∥2≤R\|\theta^*\|_2\le R∥θ∗∥2​≤R), let G=rmax⁡+2RG=r_{\max}+2RG=rmax​+2R and ΘR={θ:∥θ∥2≤R}\Theta_R=\{\theta:\|\theta\|_2\le R\}ΘR​={θ:∥θ∥2​≤R}. For every transition (s,s′)(s,s')(s,s′), write ζ(θ)=(g(θ;s,s′)−gˉ(θ))⊤(θ−θ∗)\zeta(\theta)=\big(g(\theta;s,s')-\bar g(\theta)\big)^\top(\theta-\theta^*)ζ(θ)=(g(θ;s,s′)−gˉ​(θ))⊤(θ−θ∗). Then for all θ,θ′∈ΘR\theta,\theta'\in\Theta_Rθ,θ′∈ΘR​,

∣ζ(θ)∣≤2G2and∣ζ(θ)−ζ(θ′)∣≤6G ∥θ−θ′∥2.|\zeta(\theta)|\le 2G^2\qquad\text{and}\qquad|\zeta(\theta)-\zeta(\theta')|\le 6G\,\|\theta-\theta'\|_2 .∣ζ(θ)∣≤2G2and∣ζ(θ)−ζ(θ′)∣≤6G∥θ−θ′∥2​.

Boundedness feeds Lemma 9 (with ∥v∥∞≤2G2\|v\|_\infty\le2G^2∥v∥∞​≤2G2) and the Lipschitz bound lets the proof of Lemma 11 replace θt\theta_tθt​ by the earlier iterate θt−τ\theta_{t-\tau}θt−τ​.

Formalization Note "With probability 1" is stated for every transition (s,s′)(s,s')(s,s′).

Preamble
import Mathlib
import Definitions.Def_FiniteTD_Markov_Chain
import Definitions.Def_FiniteTD_Markov_Setting
Formal statement
namespace FiniteTD.Markov

theorem lemma_10 {S : Type} [Fintype S] {d : ℕ}
    (P : S → S → ℝ) (π : S → ℝ) (Rw : S → S → ℝ) (rmax γ : ℝ)
    (φ : S → EuclideanSpace ℝ (Fin d)) (R : ℝ) (θstar : EuclideanSpace ℝ (Fin d))
    (hP : IsStochastic P) (hπ : IsStationaryDist P π) (hRw : ∀ s s', |Rw s s'| ≤ rmax)
    (hγ0 : 0 ≤ γ) (hγ1 : γ < 1) (hφ : ∀ s, ‖φ s‖ ≤ 1)
    (hstar : gbar π P γ Rw φ θstar = 0) (hR : ‖θstar‖ ≤ R) :
    ∀ (s s' : S) (θ θ' : EuclideanSpace ℝ (Fin d)), ‖θ‖ ≤ R → ‖θ'‖ ≤ R →
      |zeta π P γ Rw φ θstar θ s s'| ≤ 2 * (rmax + 2 * R) ^ 2 ∧
      |zeta π P γ Rw φ θstar θ s s' - zeta π P γ Rw φ θstar θ' s s'|
        ≤ 6 * (rmax + 2 * R) * ‖θ - θ'‖ := by sorry

end FiniteTD.Markov
Source
Bhandari, Russo & Singal, A Finite Time Analysis of Temporal Difference Learning With Linear Function Approximation, arXiv:1806.02450v2, p. 21, Lemma 10 (proof in App. A.3, pp. 36–37)
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

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