Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3, p. 11 — the mean TD direction points towards θ*: (θ*−θ)⊤ḡ(θ) ≥ (1−γ)‖V_θ* − V_θ‖²_D

Proved
FiniteTD.Markov.lemma_3

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

linear-function-approximationmarkov-chainp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1temporal-difference

Let PPP be a stochastic matrix on a finite set SSS with stationary distribution π\piπ, let R(s,s′)R(s,s')R(s,s′) be transition rewards, ϕ(s)∈Rd\phi(s)\in\mathbb{R}^dϕ(s)∈Rd features, and 0≤γ<10\le\gamma<10≤γ<1. Let gˉ(θ)=∑s,s′π(s)P(s′∣s)(R(s,s′)+γϕ(s′)⊤θ−ϕ(s)⊤θ)ϕ(s)\bar g(\theta)=\sum_{s,s'}\pi(s)P(s'\mid s)\big(R(s,s')+\gamma\phi(s')^\top\theta-\phi(s)^\top\theta\big)\phi(s)gˉ​(θ)=∑s,s′​π(s)P(s′∣s)(R(s,s′)+γϕ(s′)⊤θ−ϕ(s)⊤θ)ϕ(s) be the steady-state mean TD direction, and let θ∗\theta^*θ∗ satisfy gˉ(θ∗)=0\bar g(\theta^*)=0gˉ​(θ∗)=0. Then for every θ∈Rd\theta\in\mathbb{R}^dθ∈Rd,

(θ∗−θ)⊤gˉ(θ)  ≥  (1−γ) ∥Vθ∗−Vθ∥D2.(\theta^*-\theta)^\top\bar g(\theta)\;\ge\;(1-\gamma)\,\|V_{\theta^*}-V_\theta\|_D^2 .(θ∗−θ)⊤gˉ​(θ)≥(1−γ)∥Vθ∗​−Vθ​∥D2​.

This quantitative form of Tsitsiklis and Van Roy's descent property is the first-order term of the error recursion (Lemma 8); it also shows that θ∗\theta^*θ∗ is unique when Σ\SigmaΣ has full rank.

Formalization Note The paper only writes γ<1\gamma<1γ<1; the Cauchy–Schwarz step of its proof needs γ≥0\gamma\ge0γ≥0, which is the paper's standing range γ∈[0,1)\gamma\in[0,1)γ∈[0,1) and is assumed here.

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

open scoped InnerProductSpace

theorem lemma_3 {S : Type} [Fintype S] {d : ℕ}
    (P : S → S → ℝ) (π : S → ℝ) (Rw : S → S → ℝ) (γ : ℝ)
    (φ : S → EuclideanSpace ℝ (Fin d)) (θstar : EuclideanSpace ℝ (Fin d))
    (hP : IsStochastic P) (hπ : IsStationaryDist P π) (hγ0 : 0 ≤ γ) (hγ1 : γ < 1)
    (hstar : gbar π P γ Rw φ θstar = 0) :
    ∀ θ : EuclideanSpace ℝ (Fin d),
      (1 - γ) * dNormSq π φ (θstar - θ) ≤ ⟪θstar - θ, gbar π P γ Rw φ θ⟫_ℝ := 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. 11, Lemma 3
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